CONTAINER LOADING METHOD AND APPARATUS
    6.
    发明公开

    公开(公告)号:EP4455872A1

    公开(公告)日:2024-10-30

    申请号:EP23742768.7

    申请日:2023-01-10

    IPC分类号: G06F9/455

    摘要: The present invention provides a container loading method and an apparatus. The method may include: receiving a function call request sent by a user, where the function call request includes information of a function; determining, based on the information of the function, a template container corresponding to the function and a process number of a function container on which the function is deployed; forking a main thread of a language runtime process in the template container based on the process number of the function container, to obtain a target child process, and migrating the target child process to the function container; and loading the function in the function container. Initialization time of the language runtime is optimized by reusing a pre-initialized language runtime status. In addition, by using a pre-generated function container as a final running environment of a function instance, initialization overheads of a container isolation environment are reduced.