[erlang-questions] Questions about ETS locking

Zabrane Mickael <>
Thu May 10 15:13:36 CEST 2012


If both are specified (write_concurreny + read_concurrency), what one should expect?
How ETS will behaves?

Regards,
Zabrane

On May 10, 2012, at 3:09 PM, Sverker Eriksson wrote:

> Martin Dimitrov wrote:
>>> By default, several concurrent readers can access the same table at
>>> the same time.
>>> 
>>>    
>> 
>> So when in the documentation it says that read_concurrency is by default
>> false, it doesn't mean that reading from an ETS table is not concurrent?
>> 
>>  
> True.
> 
> 'write_concurrency' enables concurrent writes.
> 'read_concurrency' speeds up concurrent reads.
> 
> 
> Good documentation patches are always welcome...
> 
> /Sverker
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions





More information about the erlang-questions mailing list