Ravi Gopalan
Ravi Gopalan

Reputation: 1

what are the options to implement distributed persisted atomic counters? is redis the best option or is there any other technology that can utilized?

I wanted to implement a global distributed persisted atomic counter. The only option that came to my mind is to use Redis incr() but since redis doesn't provide persistence and when the redis cluster goes down, the counters are out of sync.

Is there any other technology that provides the option of persistence along with distributed atomic counters?

Upvotes: 0

Views: 522

Answers (1)

namizaru
namizaru

Reputation: 824

Redis does provide persistence enter link description here

There are two options

RDB = snapshot AOF = write log

The article describes the use cases and pros/cons

Upvotes: 0

Related Questions