Need advice on production deployment #1276
-
Hi everyone, I came across this amazing library some time ago and I'm trying to use it in a production environment soon. I've got some questions that I haven't found answered in the documentation, so I'm going to seek help from the community. My usage scenarios are:
Suggestions on any of the above points are very welcome. Because we know that although this service has a similar API to redis, the architecture is on a completely different underlying layer. In many cases, this makes it difficult to apply our experience. Also because the community is not yet rich in information, there are many questions we cannot fully confirm the answers to. P.S. Can anyone tell me where I can find documents related to the multi-threaded read and write design of this library. Since the original single-threaded model of Redis is completely changed, I'm afraid we'll have different expectations for dirty reads/writes cases. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@GoodManWEN For improving the read performance, you can increase the blob cache size in kvrocks.conf. And it's unnecessary to leave one instance as a stand-by instance, you can use the backup mechanism periodically if want to prevent data corruption. |
Beta Was this translation helpful? Give feedback.
-
Maybe you can find most of the storage performance tuning in the RocksDB wiki, e.g. https://github.com/facebook/rocksdb/wiki/Setup-Options-and-Basic-Tuning Although we are happy to maintain some more user-friendly documents about tuning by our own. |
Beta Was this translation helpful? Give feedback.
-
I execute bgsave command and I not found some *.sst file in backup dir. Why? |
Beta Was this translation helpful? Give feedback.
It's not a blocking command (I'm not sure if there will be a blocking version in the future).
You can check
info persistence
for whether the process triggered by the bgsave command is finished.