<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">The simple answer is yes, but there’s some complications under scale.</div><div class=""><br class=""></div><div class="">I’ve got a few ordered_sets with ~12 million entries in them which seem to work reasonably well under normal loads, but they tend to show abnormal performance under heavier concurrency.</div><div class=""><br class=""></div><div class="">This is a known limitation which AFAIK has not been addressed yet (<a href="https://www.youtube.com/watch?v=40shUKSdh1A" class="">https://www.youtube.com/watch?v=40shUKSdh1A</a>) in the implementation of ordered_sets (I’d love to be told differently, but looking at the code it does not appear to have been changed in some time).</div><div class=""><br class=""></div><div class="">I don’t believe that sets have the same issue.  In all likelihood things will work fine for your use case, and you can test it out easily enough.</div><div class=""><br class=""></div><div class="">HTH,</div><div class=""><br class=""></div><div class="">-Anthony</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 1, 2018, at 1:53 PM, Frank Muller <<a href="mailto:frank.muller.erl@gmail.com" class="">frank.muller.erl@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Hi,</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Is ETS capable of handling 1 million key/value (or more)? My keys are 36B and all my values are local PIDs. My ETS is mostly read-only!!!</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">What’s the largest ETS one has to deal with?</div><div dir="auto" class="">Is there any limitations or point when the ETS’s perf degrades?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I’m on CentOS7, Erlang 20.x & 21.x with 256GB of RAM.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">/Frank </div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></div></body></html>