[erlang-questions] update_counter on steroids

Anthony Ramine n.oxyde@REDACTED
Mon May 12 20:12:06 CEST 2014


Well, it sounds like we are all implementing a statsd-like system of some sort. :)

-- 
Anthony Ramine

Le 12 mai 2014 à 19:55, Pablo Polvorin <pablo.polvorin@REDACTED> a écrit :

> I do.   On one system I've a table  holding many different counters, that are periodically flushed to an external system. Without the atomic take_all_objects/1, I'm retrieving all and then iterating and  subtracting to all keys the values that I've just read..
> btw,   ets:update_counter/4 with default value will simplify it a lot too, thanks!




More information about the erlang-questions mailing list