DEV Community

Cover image for How garbage collection in Erlang helps us to create scalable applications
Iurii Gurzhii
Iurii Gurzhii

Posted on

How garbage collection in Erlang helps us to create scalable applications

Erlang is a functional programming language with dynamic typization. Its primary feature is working at a separate-process level. Personal computer CPUs have almost plateaued in terms of frequency and now develop mostly through increasing the number of cores. Apps written in Erlang allow you to fully utilize the advantages of multi-threaded CPUs and handle a large number of concurrent activities.

Use cases for Erlang include, for example, developing backend for fault-resistant web applications, messaging apps, task managers and server monitoring systems. Evrone engineers use Erlang in the company’s projects. One of Erlang’s biggest perks is its mechanism for garbage collection.

Scalability with Erlang

The cornerstone of the current implementation of code architecture is the scheduler, launching on each CPU core with its own process queue. Each process is allocated a certain limit of function calls that it has to do its work in, and after it runs out, the next process in the queue launches.

Full story: https://evrone.com/garbage-collection-erlang

Top comments (0)