internalsGet Pro

Module 17 · Lesson 7 of 10Pro

Case: Spotify’s deletion by deleting encryption keys

Level
Advanced
Topic
Governance, privacy and security
Reading time
17 min

When you finish this page you can

  1. Explain how per-user keys let Spotify make a user’s data unreadable without listing every system and dataset that holds it.
  2. Trace one lookup through Spotify’s key service, Padlock, and explain how its cache, read settings and fail-fast rule meet a p99 target of 15 ms.
  3. Name what deleting a key does not remove, such as plaintext copies, cached keys and backups of the key store.
  4. Weigh where per-customer keys would and wouldn’t pay off on a lakehouse and warehouse like Kartly’s.

Builds on 2 lessons

Start with lesson 518 min
  1. Privacy law for data teams: GDPR and India’s DPDP Act18 min
  2. Retention and deletion requests across a data platform18 min

A thousand services, one user to forget

Spotify’s backend runs over a thousand microservices, and thousands of batch jobs written in several frameworks. Each one may store something about a user: a playlist, a listening history row, a line in a dataset written last year.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan