logoalt Hacker News

williamdclttoday at 5:24 PM1 replyview on HN

I don't know if that'll make you feel any better but yeah, you're indeed asking for the impossible! You need consensus between your nodes that store state _somehow_, either these nodes are Redis and it does that for you, or these nodes are your pods and you need to do consensus yourself (zookeeper might help, but you're definitely in "complicated stuff" territory).

Spinning up an in-memory (no persistence) Redis cluster in your k8s should be easy enough, hopefully?


Replies

adamcharnocktoday at 7:45 PM

Yeah, fair enough.

And yes, adding a Redis cluster is fine, it is just another moving part to manage. But given that the alternative is made out of unobtainium, I guess that is just the way of it :-)