英文:
Disable history in etcd key value store
问题
有没有办法在etcd中禁用历史保存?
我打算将etcd用作我的应用程序的键值存储,我不需要键值的历史记录。
当我搜索etcd时,我找不到有关禁用历史记录的信息。
我不想使用etcd中的压缩功能。
英文:
Is there any way to disable the history saving in etcd?
I am going to use etcd as KV for my app and I don't need history for the key values.
When I search etcd, I couldn't find about disabling the history.
I don't want to use the compacting feature in etcd.
答案1
得分: 0
事件历史是etcd的一部分。
早在2015年的问题4432中就已经承认:
事件占据了我们etcd写入量的绝大多数,这导致了各种性能和稳定性问题。
我们可以考虑为事件使用不同的传递机制。
但目前,这仍然由etcd管理。
在您的情况下,还有其他的键值引用可能比etcd更容易管理。我使用prologic/bitcask
。
英文:
Event history is part of etcd.
It was acknowledged, as far back as 2015 in issue 4432 ("Consider moving events out of etcd") that:
> Events account for the overwhelming majority of our etcd write volume, which is causing a variety of performance and stability problems.
> We could consider a different delivery mechanism for the events.
But for now, this is still managed by etcd.
There are other Key-Value referential which might prove simpler to manage than etcd in your case. I use prologic/bitcask
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论