Managing asynchronous operations in cloud computing environments

    公开(公告)号:US11163603B1

    公开(公告)日:2021-11-02

    申请号:US16921381

    申请日:2020-07-06

    摘要: A processor may execute an asynchronous operation of the program code, hibernate a process related to the asynchronous operation, and free-up related cloud runtime platform excluding the related system memory. Additionally, the processor may execute the asynchronous operation during the hibernation of the process, intercept an initiated completion function to the process after a completion of the asynchronous operation, inject at least one of additional program code and data into the completion function, un-hibernating the process and reallocate freed-up cloud runtime platform related resources of the process, and execute the completion function returning result data of the asynchronous operation and the at least one of additional program code and data to the process.

    ADAPTIVE STATE MANAGEMENT FOR STATELESS SERVICES

    公开(公告)号:US20210294645A1

    公开(公告)日:2021-09-23

    申请号:US16823516

    申请日:2020-03-19

    IPC分类号: G06F9/48 G06F9/50 G06F16/907

    摘要: A computer-implemented method for controlling state updates in a cloud service environment may be provided. The method includes maintaining a set of state provider definitions, wherein each state provider definition comprising a set of required input variable definitions, a set of output variable definitions and related metadata. The method also includes determining a set of input variable definitions required by an invoked service, receiving the determined set of input variable definitions by the state provider management service, selecting a state provider definition, wherein the selected state provider definition is to be compatible with the received set of input variable definitions, determining a set of matching state provider services matching the selected state provider definition, scoring the determined set of state provider services, invoking the highest scoring state provider service, and passing the state data to the invoked service.

    Speculative service execution
    4.
    发明授权

    公开(公告)号:US11782772B1

    公开(公告)日:2023-10-10

    申请号:US17808590

    申请日:2022-06-24

    IPC分类号: G06F9/44 G06F9/54 G06N7/01

    CPC分类号: G06F9/542 G06N7/01

    摘要: A computer-implemented method for execution of a service in a distributed environment, the method comprising performing a speculative execution of a service and storing a related result, wherein a decision whether the speculative execution of the service is performed is dependent on a dynamically changing score value and receiving a request for an execution of the service at a request proxy. Additionally, the method comprises upon determining that a valid result of the execution of the service is available from an earlier speculative execution of a comparable service, returning the valid result by the request proxy, and upon determining that a valid result of the execution of the service is not available from an earlier speculative execution of a comparable service, executing the service in a non-speculative manner, and returning a received non-speculative result by the request proxy.

    Adaptive state management for stateless services

    公开(公告)号:US11347545B2

    公开(公告)日:2022-05-31

    申请号:US16823516

    申请日:2020-03-19

    摘要: A computer-implemented method for controlling state updates in a cloud service environment may be provided. The method includes maintaining a set of state provider definitions, wherein each state provider definition comprising a set of required input variable definitions, a set of output variable definitions and related metadata. The method also includes determining a set of input variable definitions required by an invoked service, receiving the determined set of input variable definitions by the state provider management service, selecting a state provider definition, wherein the selected state provider definition is to be compatible with the received set of input variable definitions, determining a set of matching state provider services matching the selected state provider definition, scoring the determined set of state provider services, invoking the highest scoring state provider service, and passing the state data to the invoked service.