Invention Grant
- Patent Title: Request-based virtual machine memory transitioning in an on-demand network code execution system
-
Application No.: US16045584Application Date: 2018-07-25
-
Publication No.: US10713080B1Publication Date: 2020-07-14
- Inventor: Marc John Brooker , Mikhail Danilov , Anthony Nicholas Liguori
- Applicant: Amazon Technologies, Inc.
- Applicant Address: US WA Seattle
- Assignee: Amazon Technologies, Inc.
- Current Assignee: Amazon Technologies, Inc.
- Current Assignee Address: US WA Seattle
- Agency: Knobbe, Martens, Olson & Bear, LLP
- Main IPC: G06F9/455
- IPC: G06F9/455 ; H04L29/08

Abstract:
Systems and methods are described for selectively transitioning execution environments in an on-demand code execution system based on a timing of a next request to execute code within such environments. The system can predict, from a history of requests to the system, when a next call to execute code in an environment, such as a virtual machine instance, will occur. The system can then calculate and compare the relative costs of maintaining the environment in an executing state or of halting the environment and moving the environment to a lower tier of memory, each of which can be based on the predicted next call to execute code within the environment. If the relative cost of maintaining the environment in an executing state exceeds that of halting the environment and moving the environment to a lower tier of memory, the virtual machine is halted and transitioned to secondary memory.
Information query