[erlang-questions] Design question -- a valid or foolhardy approach to ets update?

Steve Davis <>
Tue Jul 14 14:07:57 CEST 2009


Hi Mihai -

Wow. That is the perfect solution.

Since update_counter ensures the update will be atomic... well, that's 
just exactly the right thing to do.

Many thanks to you!

Steve
<Still drinking (and learning) the OTP kool-aid>


Mihai Balea wrote:
> 
> On Jul 14, 2009, at 6:02 AM, Steve Davis wrote:
> I don't know if what you're suggesting is feasible, but if it is not, 
> have you considered using ets:update_counter/3?
> It is probably faster than a gen_server process owning the table.
> 
> Mihai
> 



More information about the erlang-questions mailing list