问题描述
Scylla读取路径和Cassandra读取路径有什么区别?当我对Cassandra和Scylla施加压力时,Scylla的读取性能要比使用16核和普通HDD的Cassandra降低5倍.
What is the difference between Scylla read path and Cassandra read path? When I stress Cassandra and Scylla then Scylla read performance poor by 5 times than Cassandra using 16 core and normal HDD.
我希望与使用普通HDD的Cassandra相比,Scylla的读取性能更好,因为我的公司不提供SSD.
I expect better read performance on Scylla compared to Cassandra using normal HDD, because my company doesn't provide SSD's.
请问有人可以确认,使用普通硬盘能否获得更好的读取性能?
Can someone please confirm, is it possible to achieve better read performance using normal HDD or not?
如果是,则scylla配置需要进行哪些更改?请指导我!
If yes, what changes required scylla config?. Please guide me!
推荐答案
有很多原因导致您无法充分利用Scylla Cluster.
There can be various reasons why you are not getting the most out of your Scylla Cluster.
-
来自客户端/加载程序的并发连接数不够高,或者没有使用足够数量的加载程序.在这种情况下,某些分片将完成所有工作,而其他分片将大部分处于闲置状态.您想保持较高的并行度.
Number of concurrent connections from your clients/loaders is not high enough, or you're not using sufficient amount of loaders. In such case, some shards will be doing all the work, while others will be mostly idle. You want to keep your parallelism high.
Scylla的每个分片至少有2个连接(您可以在/etc/scylla.d/cpuset.conf
中看到分片的数量)
Scylla likes have a minimum of 2 connections per shard (you can see the number of shards in /etc/scylla.d/cpuset.conf
)
数据集的大小是多少?您是在读取大量分区还是仅读取少量分区?您可能遇到了热分区问题
What's the size of your dataset? Are you reading a large amount of partitions or just a few? You might be hitting a hot partition situation
我强烈建议您阅读以下文档,以为您提供更多见解:
I strongly recommend reading the following docs that will provide you more insights:
https://docs.scylladb.com/operating-scylla/benchmarking-scylla/
这篇关于scylla读取路径和cassandra读取路径有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!