Essay 01 · Architecture
Why We Replaced an 8 GB Scheduler With 24 MB of Focused Code
For a long time, our server ran a self-hosted Cal.com Docker container. On disk, the image and its supporting layers took up 8.0 GB. In memory, it idled at roughly 700 MiB of RAM. And the honest truth was that we barely used it.
Whenever we wanted to wire a new booking link into our real workflow, the container felt heavier than the problem it was supposed to solve. Updating a brand page meant digging through layers of configuration we did not need. Connecting our own calendar broker meant fighting assumptions baked into a massive general-purpose app. And tracking recruiting candidates after they booked a screen still required copying their details somewhere else.
So we made a simple call: retire the 8.0 GB container and build only what we actually use.
What 24 MB of zero-dependency code looks like
The replacement is yo-ur-schedule, running live at schedule.yo-ur.com (with cal.yo-ur.com redirecting cleanly so old links never break). The entire application is 24 MB of plain Node.js and SQLite, with zero third-party runtime dependencies.
Cutting the footprint from 8.0 GB to 24 MB was not a stunt. It changed how fast we can operate. Restarts take a fraction of a second. Backups are a single SQLite file. There is no build pipeline to babysit, no giant dependency tree to patch every Friday, and no background worker eating 700 MiB of memory while nobody is booking a meeting.
More importantly, a small codebase is easy to read from top to bottom. When a host asks why a 2:00 PM slot disappeared on Tuesday, we do not have to guess which microservice cached an old busy block. We can trace the exact query in seconds.
Keeping every feature that actually matters
Small does not mean bare-bones. Before we turned off the old container, we wrote down every feature a real guest or host depends on and built all of them cleanly into the 24 MB engine:
- Live multi-provider calendar sync: Through our
accounts-hubv2 broker,yo-ur-schedulereads busy blocks from Google, Apple iCloud, Microsoft, and ICS feeds in one place. - Cross-brand conflict detection with buffers: A booking on Sunrun Solar & Battery immediately protects the same host on Kinesis Recruiting and Aurora Partner Strategy, including pre-meeting and post-meeting buffer windows.
- Four team routing modes: Single-host, round-robin, territory round-robin, and collective panel routing all live in the same availability engine.
- 3-stage automated reminders: Guests and hosts get automated email and SMS reminders 1 day before, 10 minutes prior, and at start.
- Self-service guest links: Every booking generates a downloadable
.icsfile and a private/m/<token>link so guests can reschedule or cancel without a back-and-forth email chain. - Passkey sign-in: Operators sign in with Touch ID or Face ID instead of juggling passwords.
The quiet benefit of owning the engine
When your scheduler is 24 MB of code you understand completely, it stops being an isolated utility and starts acting like part of your actual business. Adding a new brand surface does not mean spinning up another container or paying per-seat fees. Adding recruiting stages to our Kinesis interview links took hours instead of weeks.