Reputation: 697
I am trying to find out, what's the difference between elixir OTP processes and normal operating system process let's say Linux
. Can somebody put some light on this? I am still confused even after researching.
Upvotes: 1
Views: 397
Reputation: 121000
OS processes and OTP processes share the name only. They are completely different things by all means. This is misleading, but this is how it is.
From Elixir’s guide, located at Elixir’s home site (1 click from the home page):
Elixir’s processes should not be confused with operating system processes. Processes in Elixir are extremely lightweight in terms of memory and CPU (unlike threads in many other programming languages). Because of this, it is not uncommon to have tens or even hundreds of thousands of processes running simultaneously.
Refer to the linked page for further info on Elixir processes.
Upvotes: 6