LOAD-BEARINGfree
High-level designTier 8 · unit 1 of 5 · 14 min read

The client is a distributed node

Every architecture diagram in this course has had a rectangle on the left labelled "user" or "client", and every one of them has been lying to you. That rectangle is not a boundary. It is a computer, running your code, holding your data, and participating in your distributed system — and it is the only node in the entire design that you cannot deploy to, cannot restart, and cannot take out of rotation.

Once you draw it as a node rather than an edge, five properties come into focus, and each one invalidates an assumption from an earlier tier.

It has storage that outlives your deploys

A phone holds your data across app restarts, OS upgrades and your entire release history. Tier 14 taught expand–migrate–contract for server-side schema changes, where you control both ends and the migration window is hours. On the device, the old shape persists in local storage until that user opens the app again — which may be in eight months, or never. Your local schema migration path must handle every version you have ever shipped, in sequence, on a device with no operator watching.

It runs a version of your code you cannot change

This is the property that reshapes the most. You ship the server on Tuesday. The client ships when a store reviews it, and then only to users who choose to update — and a meaningful fraction never will. Enterprise fleets pin builds. Old devices stop receiving updates entirely.

So Lesson 1.06 said support N−1 versions of your API. On a mobile client the honest number is closer to N−12, and it is not a transitional state you are working through — it is the permanent condition. Which gives a metric worth actually tracking: the oldest client version with meaningful active users is the real floor on your API's backward compatibility, and most teams cannot tell you what it is.

It also means you have no coordinated deploy. Server and client cannot change together, ever. Every client-visible change is a compatibility exercise: ship the server capability first, dormant; ship the client that uses it; retire the old path when the old clients are gone, which is a decision measured in quarters. Feature flags and server-driven capability negotiation are how this is made bearable — the server tells the client what it may do, so behaviour becomes something you control on your own schedule rather than the store's.

Its clock is not merely wrong — it is adversarial

Lesson 6.06 established that clocks drift and that ordering by wall-clock time across machines is unsound. On the client it is worse: the clock is user-settable. Someone can move it forward a year to skip a trial, or back a day to change what "today" means.

Two rules fall straight out. Never order events by client timestamps — you need a server-assigned sequence or a logical clock, which Lesson 8.04 gets to. And never make an authorisation or entitlement decision from a client-supplied time: trial expiry, content windows and rate limits all belong on the server. Client time is fine for display and for the user's own local sorting, and for nothing that matters.

There are several of them per user, simultaneously

Phone, tablet, laptop, work machine — plus the same web app open in three tabs, each with its own copy of local state, each writing. Every design here has to assume concurrent writers within one user account, which is the case teams most reliably forget. The two-tabs bug is the cheapest way to find out whether your sync design actually works.

It is a retry source you do not control

Lesson 6.07 counted six places a duplicate can be born and the first one was the client. Now consider that the client's retry logic was written by you but is running in a version from fourteen months ago, on a flaky radio link, in an app the OS may suspend and resume mid-request. It will retry more than you intended, at moments you did not anticipate. Everything that lesson said about idempotency keys minted by the originator is load-bearing precisely here — the originator is the device, and it is the only place an operation's identity can be created early enough to be useful.

What the framing buys you

Draw the client as the outermost node and the rest of this tier stops being a separate discipline. It is a replica (Tier 4) with an unusually bad network (Tier 0), accepting writes while partitioned (Tier 6), holding read models derived from a log (Tier 7) — with three additional constraints: it is untrusted, it is unupgradable, and it is disconnected by default rather than by exception.

The last one is the shift in mindset that matters. On the server, a partition is an incident. On a phone in a lift, on the metro, in a basement, on Indian mobile data at 6pm, a partition is Tuesday. Designs that treat disconnection as the exceptional path put their least-tested code where their users actually live.

The trap

Filing client defects as "just a client issue" and routing them away from the incident process. A bad client version that retries aggressively is a self-inflicted denial of service that you cannot roll back — the fix ships in two weeks, if the store cooperates, and reaches users over the following month. That is not a lower severity than a server bug. It is a higher one, because every mitigation you have is server-side: a kill switch, a degraded response, a rate limit aimed at your own users. Design those levers before you need them, because after the bad build is in the field, the levers you have are the only ones you will ever have.