LOAD-BEARINGfree
High-level designTier 12 · unit 7 of 11 · 14 min read

Personal data and the DPDP Act

India's Digital Personal Data Protection Act was passed in 2023, with the rules that operationalise it following after. If you are building for Indian users, it is now a design input in the same category as latency and cost — and the reason it belongs in an architecture course rather than a legal one is that almost every obligation it creates is made expensive or cheap by decisions you took in Tiers 4, 10 and 11.

What follows is the architecture, not legal advice; check the current rules and your own counsel for the obligations themselves. The vocabulary you will meet: the individual is a Data Principal, the organisation deciding why and how data is processed is a Data Fiduciary, one processing on its behalf is a Data Processor, and a class of larger or higher-risk fiduciaries is designated Significant and carries extra obligations. The Act is consent-centric, applies to digital personal data, and reaches processing outside India where it relates to offering goods or services to people in India.

Seven obligations, and what each one costs you in system design

  • Consent is per purpose — so purpose must live with the data. A principal can consent to billing and refuse marketing, and withdraw either independently. A single users table with sixty columns accumulated over six years for a dozen purposes cannot answer "stop processing for marketing, continue for billing", because nothing in it records why any field is there. The design consequence is concrete: tag data with its purpose and the consent that authorised it, at write time. Retrofitting that tagging onto years of accumulated columns is the expensive version, and it is the version most teams end up doing.
  • Withdrawal must be as easy as consent, and must propagate. Withdrawal is a fan-out problem, not a database update: the copies you made in Tier 4 (caches, replicas), Tier 5 (data another service replicated across a boundary) and Tier 7 (the warehouse, every read model) all need to hear about it. A withdrawal event on the log, consumed by every store that holds a copy, is the shape that works — and it only works if you know what the copies are.
  • Erasure has to be executable. The same fan-out, with a harder edge: an append-only event log cannot be edited. Lesson 7.04's crypto-shredding is the answer — encrypt each principal's personal data under a per-principal key, store only ciphertext, and delete the key to make it permanently unreadable. That has to be designed in from the start; you cannot retrofit it onto a log you promised never to rewrite. Backups deserve their own decision, documented, because "we restore and re-delete" is an answer but only if someone has actually written it down.
  • Access requests need an assembled answer. "Give me a summary of my data and who it went to" means joining across every service holding a fragment — and Lesson 5.01's boundaries, drawn correctly for transactional reasons, make this harder rather than easier. The practical mechanism is a per-principal index: a mapping from principal to every location holding their data, maintained as a first-class thing rather than reconstructed by asking around.
  • Retention becomes a schedule. Erase when the purpose is served — meaning a job, per data class, with a defined period, that actually deletes. Lesson 3.07 set this up: soft deletes and audit tables grow forever by default, and "forever" is now a position you have to defend rather than the thing that happens when nobody decides.
  • Breach notification presumes detection. You cannot notify about something you cannot detect, and the Act's notification duty is notably broad. That promotes Tier 9's audit logging and access monitoring from good practice to the mechanism by which a legal obligation is met at all.
  • Children's data is a separate regime. Verifiable parental consent below eighteen, and no tracking or targeted advertising directed at children. If minors can plausibly use your product, this reshapes onboarding and the ad stack rather than adding a checkbox.

Minimisation is the same move as the last lesson

Lesson 12.06 said the cheapest compliance strategy is to be touched by the data in as few places as possible. Here it goes one step further and becomes the cheapest strategy available anywhere in this tier:

The field you never collected needs no consent, no purpose tag, no propagation path, no erasure job, no breach notification and no storage.

Every column of personal data is a permanent obligation attached to a one-line migration. That asymmetry — trivial to add, expensive forever — is worth saying out loud in design review, because the person proposing the column is comparing it against the effort of adding it.

Residency is per data class, not per company

The Act's approach to cross-border transfer is restriction-based: transfers are permitted except where the government restricts a destination, which is a different and more permissive model than the one European regulation uses. But sectoral rules can be much stricter and often are — the Reserve Bank's payment data localisation requirements bind payment system operators regardless of what the general law permits.

So "where may this data live" cannot be answered once for the whole company. It is answered per class of data, and Lesson 14.01's multi-region design has to accommodate the strictest class it carries, not the average one.

The trap

Treating this as a legal review scheduled near launch. By then the copies exist — the read replica, the cache, the search index, the warehouse, the event log, the vendor you send events to — and every one of them was created by a decision that made complete sense at the time and had nothing to do with privacy. Building an inventory of every copy of personal data, retroactively, across a system that never tracked it, is one of the most expensive projects an engineering organisation can undertake. The cheap version is a column recorded at the moment each copy is created. The expensive version is archaeology, and it is the one most companies pay for.