# Elixir Level 14: Performance & BEAM

> Level 14: Performance & BEAM of the LoWisa Elixir course: Scheduler and Processes, Memory and Profiling, Production BEAM Performance. 3 lessons and 9 ideas, each explained in one line.

Performance & BEAM is level 14 of 16 of the [LoWisa Elixir course](/courses/elixir/). It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

## Scheduler and Processes

- **Schedulers.** BEAM runs a **scheduler** per core: processes preempted by reduction budget, latency kept flat.
- **Process heaps.** Each process GCs its own **heap**: pauses tiny and local, never global.
- **Mailbox health.** A growing **mailbox** is the classic failure: bounded intake and load shedding keep it flat.

## Memory and Profiling

- **Binary leaks.** Large **binaries** are shared by reference: a small slice can pin a huge buffer alive.
- **Profiling tools.** :fprof, :eprof and **:recon** attribute time and inspect live systems: evidence over folklore.
- **Benchee.** **Benchee** benchmarks Elixir honestly: warmup, statistics, memory measurements per scenario.

## Production BEAM Performance

- **Observer and telemetry.** **:observer** and telemetry metrics watch live nodes: process counts, memory, run queues.
- **Bottleneck patterns.** BEAM slowness is usually one **serialising** process: find it, shard it or cache its reads.
- **Load testing.** Load tests exercise real **concurrency**: thousands of connections sustained before production tries.

## Before and after this level

- **Before:** [Level 13: Testing](/courses/elixir/level-13-testing/): ExUnit, Concurrent Testing, Property-Based Testing Concepts.
- **Next:** [Level 15: Releases & Production](/courses/elixir/level-15-releases-and-production/): Releases, Configuration and Observability, Operating Elixir 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 Elixir Level 14: Performance & BEAM cover?

Scheduler and Processes, Memory and Profiling, Production BEAM Performance: 3 lessons and 9 ideas.

### What should I know before this level?

The level before it, Level 13: Testing, which covers ExUnit, Concurrent Testing, Property-Based Testing Concepts.

## Learn Elixir on your phone

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

---

Source: https://lowisa.dev/courses/elixir/level-14-performance-and-beam/ · Updated 2026-11-25
