[erlang-questions] Maximising memory compactness
Jesper Louis Andersen
Fri Apr 4 10:42:34 CEST 2014
On Fri, Apr 4, 2014 at 10:33 AM, Olivier BOUDEVILLE <
> Thanks in advance for any hint!
In the case of large ETS tables which hold lots of data, the 'compressed'
option is of interest in such a setup. It trades memory usage for CPU
cycles. But on modern CPUs, this gap is probably smaller than what people
The best solution is to decide upon a critical breaking point where you
stop wasting time on optimizing for a single node and begin considering
introducing multiple nodes. The switch has an overhead, but hunting for
small amounts of memory seem wasteful.
Also consider that memory bounds on modern machines tend to go up. In two
years, you will probably have 64 gigabyte machines at Amazon without any
hitch where we use 32 gigabyte now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions