×

Managing custom runtimes in an on-demand code execution system

  • US 10,303,492 B1
  • Filed: 12/13/2017
  • Issued: 05/28/2019
  • Est. Priority Date: 12/13/2017
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • a non-transitory data store including a plurality of runtimes, individual runtimes including software that, when provisioned into an execution environment on an on-demand code execution system, enable execution of user-submitted code within the execution environment;

    one or more computing devices providing a plurality of execution environments of the on-demand code execution system;

    a computing device implementing a management system, wherein the management system is configured to;

    provision individual execution environments, of the plurality of execution environments, with a runtime from the plurality of runtimes;

    maintain instruction queues for individual runtimes of the plurality of runtimes, wherein an instruction queue for an individual runtime enqueues one or more execution instructions awaiting distribution to an execution environment provisioned with the individual runtime, an execution instruction corresponding to an instruction to execute user-submitted code within an individual execution environment;

    determine, based at least partly on a number of execution instructions within the instruction queue for a first runtime of the plurality of runtimes, a number of the plurality of execution environments to be provisioned with the first runtime; and

    modify provisioning of the individual execution environments to cause the determined number of execution environments to be provisioned with the first runtime.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×