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

Chandru chandrashekhar.mullaparthi@REDACTED
Thu Jun 25 23:17:57 CEST 2015

On 25 June 2015 at 10:53, Avinash Dhumane <nistrigunya@REDACTED> wrote:

> 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?

Yes, that should suffice. You may find this paper useful.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150625/9a1f0ca3/attachment.htm>

More information about the erlang-questions mailing list