kine icon indicating copy to clipboard operation
kine copied to clipboard

[Question] Benefit of NATS over plain etcd

Open unixfox opened this issue 3 years ago • 1 comments

I just saw that NATS support was recently added, that's neat.

But what would be the benefit of using NATS over etcd for a multi master k3s cluster?

Pinging people that seem to use NATS on k3s @caleblloyd @boxboatmatt @jnmoyne


After reading this paper found in the issue https://github.com/k3s-io/k3s/issues/5347, it seems like NATS would help in reducing the latency.

I plan to deploy a cluster that span across multiple datacenters so NATS may be useful in this case.

unixfox avatar Oct 06 '22 14:10 unixfox

Sure, @boxboatmatt did a Susecon talk that you might find interesting:

https://www.youtube.com/watch?v=JYDUc5ebyz0

The data is stored in a NATS KV bucket, which is a type of NATS Stream. Therefore any NATS stream operation is supported, such as source/mirror and backup/restore

caleblloyd avatar Oct 06 '22 15:10 caleblloyd