jewei.toString()

Topic · 2 posts

System design

System design for working engineers: scaling to millions of users, choosing identifiers, and architecture trade-offs.

Posts about System design

  1. No. 002

    How to Scale a System to Millions of Users

    From one server to millions of users: stateless web servers, load balancers, read replicas, caching, and a CDN, plus why DigitalOcean is usually enough.

  2. No. 001

    Database Primary Key: Integer vs UUID vs NanoID

    Integer, UUID, ULID, or NanoID as a primary key? My default: an auto-increment integer for joins plus a UUID or ULID for public URLs, with a comparison table.