Garbage Collection in Erlang Helps Create Scalable Applications

Written by elizabethlvova | Published 2020/12/24
Tech Story Tags: erlang | garbage-collector | garbage-collection-bins | programming-top-story | scalability | virtual-machine | memory-management | erlang-scalable-apps

TLDR 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.via the TL;DR App

no story

Written by elizabethlvova | Your Favourite Tech Writer
Published by HackerNoon on 2020/12/24