禁用etcd键值存储中的历史记录。

huangapple go评论74阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2022年3月8日 12:44:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/71390128.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定