One Postgres, a database per user, or both?
Choosing between one Postgres database, a Turso database per user, or both comes down to where data must live, who owns it, and how many features need to read across users.
Topics Architecture & design
End-to-end design of a system and its tradeoffs.
Search within System design, or combine it with other topics →
Choosing between one Postgres database, a Turso database per user, or both comes down to where data must live, who owns it, and how many features need to read across users.
Before adding a sync engine or local data copy to speed up an application, check whether the real bottleneck is network-attached storage under managed Postgres.
Sauna, a proactive AI work assistant, gives every session, agent and connected inbox or calendar its own Turso database, creating about 90,000 databases a day and over 2 million in total.
Tangled is a federated code forge built on the AT Protocol: self-host Git hosting (knots), CI runners (spindles), or the whole API and UI, and still collaborate with everyone else.
Netflix adopted DataJunction (DJ), an open-source semantic layer, to centralize metric and dimension definitions after onboarding a single metric to its experimentation platform took weeks.
Atproto spaces, a permissioned-data extension to the AT Protocol, is nearing launch with its core primitives stabilizing, and the team will publish weekly code samples until release.
Middleware should manage workflows rather than applications: the three-tier app server, which replaced two-tier client-DBMS setups in the 1990s to fix connection and memory limits, should evolve into a workflow orchestrator.
Grab generates consumer-facing merchant review summaries with a pipeline that stratifies review samples by a sentiment-scored rating distribution, uses an LLM to produce overall and topic-based summaries (taste, packaging, portion size), and has a separate LLM check each claim against the sampled reviews before publication.
Included Health's Dot healthcare guide runs on a federated LangGraph "supergraph" in which a conversational router hands off to team-owned sub-workflows for urgent care, scheduling, specialists and behavioral health.
QuintoAndar's customer data platform replaced a Lambda architecture (a Postgres hot layer plus Kafka Connect into a Delta landing zone processed by 24/7 Databricks jobs with costly MERGE INTO deduplication) by having its event gateway write about 900 million monthly events directly into ClickHouse Cloud, which also serves roughly 300 million API requests a month with sub-second reads.
Airbnb rebuilt login and signup around an "Identify first then Challenge" model.
Riviera, Dropbox's content processing platform, grew from an internal file-preview service into shared infrastructure behind Search, Replay, Sign and Dash.