43G数据, 4个主分片,没有副本。
集群1: 单节点
集群2: 3个主节点,4个数据节点,1个客户节点。
2种查询: sort by distance; match query
同步发送请求,计算平均的took值。 发现集群2 took值大于集群1.
如何测试水平扩展性?用什么指标及工具? 谢谢
43G数据, 4个主分片,没有副本。
集群1: 单节点
集群2: 3个主节点,4个数据节点,1个客户节点。
2种查询: sort by distance; match query
同步发送请求,计算平均的took值。 发现集群2 took值大于集群1.
如何测试水平扩展性?用什么指标及工具? 谢谢
感谢你的回复。
我看了一些别人的文档及书籍。都提到了增加副本可以增加load performance. 不知您是否对此有过测试?
我用Jmeter测试了一下,我每个数据节点都有完整的一套数据,并没有看到提高了load performance。不知道是不是没有路由的原因
增加副本可以提升吞吐,从而实现水平扩容,查询性能不会有提升。
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.