<div dir="ltr"><div>Hi, Guilherme</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">5) Not having a limited number of workers as a potential bottleneck<br>    - This was solved by sharing the different database sections as<br>reference-counted binaries<br>      through ETS</blockquote><div><br></div><div>Are you sure it works like this?</div><div>Because, as far as I know, ETS data resides in a separate chunk of memory. Is the idea that ETS will only contain references to original shared binary, but not the binary itself?</div><div>Have you checked / measured that it really works that way and not copying whole database to / from ETS for each lookup?</div></div>