一台机器上的多个Solr分片会提高性能吗? [英] Do multiple Solr shards on a single machine improve performance?

查看:72
本文介绍了一台机器上的多个Solr分片会提高性能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一台机器上运行多个Solr分片是否可以提高性能?我希望Lucene是多线程的,但是在我的服务器上使用16个物理核心的情况似乎并不多于一个核心.我意识到这取决于工作量,但是任何统计信息或基准测试都将非常有用!

Does running multiple Solr shards on a single machine improve performance? I would expect Lucene to be multi-threaded, but it doesn't seem to be using more than a single core on my server with 16 physical cores. I realize this is workload dependent, but any statistics or benchmarks would be very useful!

推荐答案

我跑了一些

I ran some benchmarks of our search stack, and found that adding more Solr shards (on a single machine, with 16 physical cores) did improve performance up to about 8 shards (where I got a 6.5x speed up). This is on an index with ~1.5million documents, running complex range queries.

因此,当对单个索引运行查询时,Solr似乎没有利用多个物理核心.

So, it seems that Solr doesn't take advantage of multiple physical cores, when running queries against a single index.

这篇关于一台机器上的多个Solr分片会提高性能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆