Cast of Characters#
Meet the elephants, engineers, poolers, and data animals keeping The Elephant Dormitory running around the clock.
| Portrait | Who | Role | Stands for |
|---|---|---|---|
| 👩💻 Maya | Night-shift backend developer, two weeks out of university | You, the reader | |
| 🐘 Jumbo | Jumbo Kalahari, a polite five-ton Savanna elephant with a brass suitcase | Your first real user | |
| 🦣 Bram | Bram Pleistocene, an eight-ton woolly mammoth who always wants the top bunk | Edge cases and heavy data | |
| 🐘 Pip | Pip Kinabatangan, a Bornean pygmy elephant who changes her mind a lot | Partial updates and fickle customers | |
| 📝 Management | Never seen. Communicates only through increasingly urgent sticky notes | Requirements (and deadlines) | |
| 🦀 Ferris | Ferris the Rust Crab, who lives in the humming basement server room | pgdorm's Rust core and PostgreSQL wire protocol | |
| 🐼 Panda | A cheerful Giant Panda from Legacy Finance who loves CSV exports | Naive patterns we all wrote once (never a real product) | |
| 🐻❄️ Polar Bear | An analytics team from the Arctic office | Polars DataFrames | |
| 🦆 Duck | A flock of auditors who carry their own pocket database | DuckDB | |
| 🐳 Moby | Moby the Whale, who ships a fresh PostgreSQL in a container on request | Docker and testcontainers | |
| 🦏 Rocco | Rocco the Bouncer, a rhino who runs the connection door in Porto | PgBouncer in transaction pooling mode |
Reading the callouts#
Throughout the book, cast members jump into the margins with branded callouts:
- 🐼 The Panda's plan — the naive approach we've all written once, and why it breaks under real load or concurrency.
- 🦀 Ferris' basement — optional collapsible deep dives into PostgreSQL's wire protocol, planner, and Rust core.
- 💡 Maya's tips — quick practical rules of thumb from the front desk.
- 📋 Shift report — end-of-chapter checklist of what you just mastered.
- 🧪 Try it yourself — one tiny experiment to run against your own PostgreSQL.
- 📝 Sticky notes from Management — the cliffhanger that sets up the next chapter.