I want to test scalability of Elixir. I have 2-3 computers in one network and I want to run same program in these computers and measure scalability. (I also need some load balancer right ?)
One computer make “test” in 60 seconds, but if I add another pc, it will take only 35sec, with 3 computers it will take only 25sec)
One computer can “make” 1000 calculation in one minute. Two computer can make 1800 calculation in one minute.
Can somebody write some readme me to this ? Or, is something on web ?
Do keep in mind the things that Elixir is good at. If you’re trying to predict the weather, there are languages that will get you the most out of your CPU power better. If you’re trying to do something IO heavy, Elixir can be a good choice.
What kind of work are you trying to have distributed?
If your goal is to show that Elixir is an excellent language for writing distributed mathematical calculations, you’re going to fail at that goal. It is not. This isn’t because it’s bad at being distributed, but because it’s bad at doing high performance numerical calculations.
It can be GREAT at coordinating high performance numerical calculations, and the work and data necessary to make that happen. So for example at Cargosense we run a lot of machine learning stuff in which all the heavy lifting is done in C libraries wrapped by Python. But we use Elixir to coordinate those jobs, get the jobs their data, and manage their lifecycle.