erlang - fault-tolerant counters -
i keep set of counters in fault-tolerant data store following properties:
- can communicate erlang
- production ready
- fault tolerant out of box (multi-server , no roll-your-own master-slave shenanigans)
- the number of counters dynamic (let's 1k 100k)
i willing trade c ap. may assume counters increasing. things i've considered:
riak
i assume 1 try turning on allow_mult, , aggregating siblings @ read time. works great sets i'm unsure if works counters.
riak_zab
at time of writing it's not production ready.
there's counters code in statebox in branch i've been prototyping: https://github.com/mochi/statebox/tree/counters
this can used in combination riak pretty easily.
it should work, haven't written application yet it's not on master yet. doesn't fit production ready goal, nothing (except maybe mnesia, there other issues that).
Comments
Post a Comment