Yes, there is a way to solve the Grow-Only Counter challenge without nodes talking to each other. Inter-node communication is one option though. I’m happy to offer a hint as well but I don’t want to spoil the fun either.
@arhyth actually, in the problem you are asked to use SeqCon KV storage which is implemented on top of your cluster. Thus, actually, you will be communicating with the other nodes even if you are not doing it explicitly.
The keywords of the ideas that will help you to come up with the solution you are looking for are:
- state-based conflict-free replicated data type (CvRDT)
Don’t google for it if you don’t want the answer straight away. Rather think of how and what you can store in the KV storage such that it’s not conflicting per node but then when you want to get your value (read) you can somehow merge what you have in your KV into something consistent.