Encrypt with data keys

  • Build
  • Lock 10

Difficulty 3 of 5

Each record is sealed on write (3,000/s) and opened on read (5,000/s). Today each one calls the key service, which allows 2,000 requests/s for your account and is 8 ms away. Keep errors under 0.1 percent and p99 under 60 ms for both.

Play level

HTTP/2Users8,000 req/sLoad balanc…Key serviceAPI server4 vCPU · 2 GB
HTTP/2HTTP/2Users8,000 req/sLoad balan…Key serviceAPI server
The board at the start of the level
One data key seals many recordsTap or press Space to change how records get a key

Envelope keys · < 1 key service calls/s · limit 10,000/s

Goals and limits

Error rate (*)
under 0.1%
p99 latency (Open)
under 60 ms
p99 latency (Seal)
under 60 ms
Monthly cost
under 40 USD/mo
Parts you can add
Local cache, Redis cache, API server, Key service
Part limit
6
Traffic
5,000 req/s

Concepts

How players did

Player results load from the server.