# Erlang Level 15: BEAM Performance

> Level 15: BEAM Performance of the LoWisa Erlang course: Scheduler Behaviour, Process and Memory Performance, Profiling Large Erlang Systems. 3 lessons and 9 ideas, each explained in one line.

BEAM Performance is level 15 of 17 of the [LoWisa Erlang course](/courses/erlang/). It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

## Scheduler Behaviour

- **Schedulers.** BEAM runs one **scheduler** per core: processes balanced across them automatically.
- **Reductions.** Work is counted in **reductions**: a process yields after its budget, keeping latency flat.
- **Dirty schedulers.** Long native work runs on **dirty** schedulers: the main ones stay responsive.

## Process and Memory Performance

- **Per-process heaps.** Each process owns a **heap** collected independently: GC pauses stay per-process and tiny.
- **Binary sharing.** Large **binaries** are shared by reference: and leak when a small slice pins a huge buffer.
- **Mailbox costs.** Selective receive over a deep **mailbox** scans repeatedly: flat mailboxes are a performance property.

## Profiling Large Erlang Systems

- **Profilers.** fprof and **eprof** attribute time per function: measured hotspots over folklore.
- **Microstate accounting.** msacc shows where schedulers spend time: **emulator**, GC, I/O: the node’s time budget.
- **Load testing honestly.** BEAM systems load-test with real **concurrency**: thousands of connections, sustained, before production does it.

## Before and after this level

- **Before:** [Level 14: Testing](/courses/erlang/level-14-testing/): EUnit and Common Test, Property-Based Testing Concepts, Testing Concurrent Systems.
- **Next:** [Level 16: Releases & Operations](/courses/erlang/level-16-releases-and-operations/): Releases, Runtime Upgrades, Operating Long-Lived Systems.

In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See [Checkpoints and flashcards](/help/checkpoints-and-flashcards/).

## Frequently asked questions

### What does Erlang Level 15: BEAM Performance cover?

Scheduler Behaviour, Process and Memory Performance, Profiling Large Erlang Systems: 3 lessons and 9 ideas.

### What should I know before this level?

The level before it, Level 14: Testing, which covers EUnit and Common Test, Property-Based Testing Concepts, Testing Concurrent Systems.

## Learn Erlang on your phone

The first level is free. LoWisa is on Google Play and the App Store.

---

Source: https://lowisa.dev/courses/erlang/level-15-beam-performance/ · Updated 2026-11-25
