# Application services — one-pager

BayLearn · System Design Interview Sprint

**Today’s idea:** Start with the simplest one app. Split only when a number or a failure forces it. Live request when the user waits. Background job when they can leave.

| Word | Plain meaning |
|------|----------------|
| One app | One deployable unit (monolith is honest) |
| Modules | Folders inside one app |
| Separate apps | Split when scale or failure differs (or stable team boundary) |
| Short function / always-on | Often 15s limit / container that stays up |
| Live / background | User is waiting / they can leave |
| Official record | Money, seats, or mappings in one place |
| Shared database | Still one system |
| API contract | Must stay boring to split teams |
| Hold + expire | Reserve with a clock if two apps must agree |
| Two knobs | Two scale controls; can share one repo |
| Waiting chain | Fake split. Home waits on rank waits on ads… |

Three honest reasons: **different scale**, **different failure**, **different team + stable contract**. Empty reason → keep one app.

**What to say:** I picked this because of this number (or this rule). What I give up is this.

## Six rows

| Product | Shape | Split? | Talk | Official record / DB | Don’t do this |
|---------|-------|--------|------|----------------------|----------------|
| Linkly | One app | Later if deploys fight | Live | One map | Two companies for GET vs POST |
| PulseFeed | Write + built Home | If hops grow | Background + copy | Feed is a copy | 12-hop live chain |
| RideHail | Two apps | 75k vs 17 | Cheap ping; strict trip | Two databases | One fate for both |
| PayRail | Modules, one record | Email only | Live $49; background mail | One ledger | Block capture on SMTP |
| ClinicDocs | Two knobs, one repo | Process, not company | 202 + background | Metadata vs bytes | 8s on HTTP; 15s function for 90s |
| TicketDrop | One record or hold | Only if pay is elsewhere | Hold clock | Seats are the gate | Forty services as the 10:00 fix |

A team of eight does not need forty apps. Forty apps need a platform team.

Use this as a practice card while you speak out loud.
