Scaling to 1M concurrent sandboxes in seconds

(modal.com)

18 points | by thundergolfer 3 hours ago

2 comments

  • _pdp_ 5 minutes ago
    You can scale firecracker vms like really fast. In our shop we have a simple go service that maintain the state in a sqlite database. The only requirement is bare-metal servers.
  • cweld510 3 hours ago
    I'm a huge scheduling nerd, and the container scheduling system in this post is probably the most impactful system I've worked on. It's quite different than existing solutions, and I personally feel it's at an interesting point in the design space -- very distributed, no strong consistency anywhere, and oriented towards massive scales. Would love to hear feedback and thoughts!
    • skinfaxi 0 minutes ago
      > Rather than a single, serialized scheduler, we run a fleet of scheduling servers which handle sandbox creation requests concurrently. To handle a creation request, a scheduling server runs a fast scheduling algorithm against in-memory cached data. The result is that scheduling scales horizontally, and looks more like load balancing than traditional container scheduling.

      What does this mean? You bucket requests on some attribute and use that to route the request (or create an ordered list of routes to try, etc)?