CPC G06F 9/5088 (2013.01) [G06F 9/4881 (2013.01); G06F 9/505 (2013.01); G06F 9/5044 (2013.01); G06F 9/5077 (2013.01); H04L 67/63 (2022.05)] | 20 Claims |
1. A system comprising:
one or more processors; and
a memory partition, accessible by the one or more processors, wherein the memory partition comprises instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
obtaining, from an instance environment, a synchronous task flow definition comprising a plurality of operations representing at least a portion of a task defined by the synchronous task flow definition, wherein the plurality of operations comprises a first operation and a second operation configured to be executed in a single thread;
analyzing the plurality of operations to identify respective attributes for each of the plurality of operations to reduce or minimize a number of switches between a first execution environment and a second execution environment;
determining the first execution environment of a plurality of execution environments for executing the first operation of the plurality of operations, wherein the first execution environment comprises the instance environment;
executing the first operation in the first execution environment;
determining the second execution environment of the plurality of execution environments for executing the second operation of the plurality of operations, wherein the second execution environment comprises a server environment disposed in a customer private network and wherein the server environment is communicatively coupled to the instance environment; and
executing the second operation in the second execution environment.
|