<div dir="ltr">On Fri, Jun 9, 2017 at 7:45 AM Frank Muller <<a href="mailto:frank.muller.erl@gmail.com">frank.muller.erl@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Everyone,<div><br></div><div>I've some troubles to understand the optimal settings for this little simple problem:</div><div><br></div><div>Two Erlang processes A and B.</div><div><br></div></blockquote><div><br></div><div>If you need the speed, then measure. If you only have two processes, chances are that you can't measure any kind of difference really, because a single RX mutex would be enough for you to handle both processes. The read_concurrency and write_concurrency options tend to kick in at a certain core count and two processes can at most invoke 2 cores, and even then the chance is that they won't run at the same time in which case most of the points here are moot.<br><br></div><div>Rule of thumb: a read or write to ETS takes less than 1us. So you can often run about a million of them per second.<br></div></div></div>