by dev_dull · 7y ago · 0 comments
This is really surprising to me, and definitely something the elixir team should look at optimizing. Sending messages should be extremely fast.
In my implementation, only 1/2 a million concurrent IOT devices, I use routing tables that narrow down a process to a node and registry cluster (https://hexdocs.pm/elixir/master/Registry.html) , and from that registry it fans out to 1 of 100 supervisors for that worker type per node.