Тёмный

:observer.start() demo with 1 million process spawn in Elixir 

Peter Marreck
Подписаться 75
Просмотров 247
50% 1

This is the classic BEAM VM (Erlang/Elixir) demo of spawning a million processes at once that do some work (in this case they just send a message back after a random amount of time from 0-2 seconds) and then garbage-collect themselves. I use the Erlang observer GUI to show you what happens. Note that the bottleneck here is the terminal's ability to keep up; see how quickly the memory and CPU utilization peaks and then dissipates in the observer.
The code that runs this is here: gist.github.com/pmarreck/4cc8...

Игры

Опубликовано:

 

16 июл 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@shannahsantucci3017
@shannahsantucci3017 4 месяца назад
Ok.. but what is the point?
@pmarreck
@pmarreck 4 месяца назад
The point was to convince a company that had hired me to be their lead engineer, to go with this stack it was part of another hour-long presentation
@shannahsantucci3017
@shannahsantucci3017 4 месяца назад
@@pmarreck Amazing, congrats and good job! 🎉
@pmarreck
@pmarreck 4 месяца назад
@@shannahsantucci3017I managed to convince them =)
Далее
How To Price For B2B | Startup School
17:46
Просмотров 8 тыс.
Interview with Computer Security Trainer
10:49
Просмотров 251 тыс.
Giant Sumo Battle | Dude Perfect
6:57
Просмотров 97 млн
DBW 64
1:44
Просмотров 6
Ulduar Normal - All Bosses - 30 Second Guides
16:11
Просмотров 583 тыс.
Elixir in 100 Seconds
2:35
Просмотров 605 тыс.
Inside The Navy's Indoor Ocean
20:25
Просмотров 29 млн
Natural Language Processing in Python
1:51:03
Просмотров 1,2 млн