[erlang-questions] ets:update_counter/3 optimal settings

Frank Muller frank.muller.erl@REDACTED
Fri Jun 9 16:04:04 CEST 2017

Ok, thanks a lot!


Le ven. 9 juin 2017 à 15:55, Max Lapshin <max.lapshin@REDACTED> a écrit :

> If you are 100% sure that you can give such negative decrement that will
> be always bigger than you value.
> Not very good way to program, but you can get atomic "read-and-reset"
> counter that can be ok for example for counters like network bytes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170609/b91516da/attachment.htm>

More information about the erlang-questions mailing list