@bascule One thing mongo has is atomic operations on nested data structures. That _is_ nice.
What's a good datastore for persistent distributed (i.e. no SPoF) *atomic* counters? (i.e. CP on the CAP triangle) Zookeeper?
-
-
-
@KirinDave saw a lot of talk at RICON about that (eventually consistent atomic batch operations). Namely the "ACID 2.0" lightning talk
End of conversation
New conversation -
-
-
@bascule if you have MySQL already we use a cool multirow counter solution -
@harrybrundage was def suggesting evaluating MySQL for this purpose -
@bascule I can't tell if you are sarcastic but if not https://github.com/shopify/multirow_counter …
End of conversation
New conversation -
-
-
@bascule How many clients are there? If not too many, keep each client under its own key in ZK, then counter value is the sum -
@martinkl probably about 50, but potentially more -
@bascule Sounds like each client keeping its own count would be just about feasible (and probably less painful than a distributed lock)
End of conversation
New conversation -
-
-
@f_bernier hyperdex looks awesome -
@bascule@f_bernier Let me and@el33th4xor know if you have any questions about HyperDex.
End of conversation
New conversation -
-
@bascule yes. Though im wondering about definition of 'good' for your case?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@bascule Zookeeper does a good job. Mongo too, I guess (modulo your trust).Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.