Warm sandboxes for generated code

  • Build
  • Agent 18

Difficulty 3 of 5

An agent writes code and runs it in bursts of 8 runs/s, with 5 idle minutes between bursts. Generated code must not run in the server that answers users. Keep code-run p99 below 250 ms and chat p99 below 100 ms. Budget: 16 USD/month.

Play level

HTTP/2HTTP/2Users20 req/sPartner apps8 req/sAPI server1 vCPU · 1 GB
HTTP/2HTTP/2Users20 req/sPartner apps8 req/sAPI server1 vCPU · 1 GB
The board at the start of the level
A reader with no tools stops page ordersTap or press Space to add or remove the reader

Separate reader · 0 of 100 attacks reach a tool

Goals and limits

p99 latency (Code)
under 250 ms
Error rate (Code)
under 0.1%
p99 latency (Chat)
under 100 ms
Monthly cost
under 16 USD/mo
Parts you can add
Code sandbox
Part limit
1
Traffic
8 req/s

Concepts

How players did

Player results load from the server.