Beruflich Dokumente
Kultur Dokumente
BIFs
Immutable data
Pattern matching
Functional language
We will look at
Schedulers
Processes
Memory management
Message passing
Multi-core
...
Schedulers
Semi-autonomous BEAM VM
One per VM thread
Schedulers: balancing
Memory
4 separate memory areas/types
Process heaps
ETS tables
Atom table
Large binary space
10
11
12
13
14
BUT ...
1999-2012 Erlang Solutions Ltd.
15
16
Copying collector
Generational collector
17
18
19
Infinite recursion
VERY long message queues
A lot of data
20
Thank you!
robert.virding@erlang-solutions.com
@rvirding
21
Lock example
22
Lock example
23
Lock example
Uses erlang:now/0
24