Suppose you want to send a big list (1_000_000 entries for example) to a different process in Erlang / Elixir.
send
block until the data of the whole list is sent, or is that somehow done asynchronously by the Erlang VM?ets
. (It's not a magic bullet, you still copy data in and out of ets
but it depends on your access pattern.)It depends on what do you do. You should not have a big heap in a process so probably you should refactor your code.