paint-brush
Garbage Collection in Erlang Helps Create Scalable Applicationsby@elizabethlvova
213 reads

Garbage Collection in Erlang Helps Create Scalable Applications

by Elizabeth Lvova4mDecember 24th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Erlang is a functional programming language with dynamic typing. Its primary feature is working at a separate-process level. Garbage collection removes data that’s no longer necessary for the app to work. Erlang uses GC that separate objects in the heap into two categories: long-term and short-term. 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. After there is no free space left, the scheduler interrupts execution of the code and uses the garbage collector that allocates a new memory area.
featured image - Garbage Collection in Erlang Helps Create Scalable Applications
Elizabeth Lvova HackerNoon profile picture
Elizabeth Lvova

Elizabeth Lvova

@elizabethlvova

Your Favourite Tech Writer

Learn More
LEARN MORE ABOUT @ELIZABETHLVOVA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Elizabeth Lvova HackerNoon profile picture
Elizabeth Lvova@elizabethlvova
Your Favourite Tech Writer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite