[erlang-questions] Ref counted binary in ETS

Frank Muller frank.muller.erl@REDACTED
Thu Oct 27 20:47:49 CEST 2016


Hi guys

Suppose an ETS table with only 1 writer and N readers
This table contains only large binaries (>64B) with the same size 512B
exactly.

The single writer update these Bins once a while.
The N readers regularly read one of these Bins, but never change/update
them.

Questions: what a reader gets when reading a Bin from this ETS table:

1. a reference to that Bin
2. or a full copy of that Bin

Hope someone can clarify this (with an example).

Thank you
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161027/edcd5cec/attachment.htm>


More information about the erlang-questions mailing list