[erlang-questions] Concurrent read and write in an ETS table

Avinash Dhumane nistrigunya@REDACTED
Thu Jun 25 11:53:09 CEST 2015


I have an ETS table, where each object (in the table) is owned by a
separate process; i.e. there is one-to-one relation between the object and
its owner process. The object holds an externalized state which the process
uses in the event of crash recovery.

What options may I use, while instantiating the ETS table, in order to
allow all these processes to concurrently access (read and write) their
respective state?

Would setting {write_concurrency, true} and {read_concurrency, true}
suffice?

Thanks
Avinash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150625/0655f61b/attachment.htm>


More information about the erlang-questions mailing list