CPC G06F 9/5072 (2013.01) [G06F 9/505 (2013.01)] | 27 Claims |
1. A method, comprising:
receiving a first request from a client device at a first datacenter of a plurality of datacenters of a distributed cloud computing network;
determining that the received first request triggers execution of first code at the distributed cloud computing network;
determining that execution of the first code includes transmitting a plurality of second requests to a set of one or more first destinations external to the distributed cloud computing network;
selecting a second datacenter out of the plurality of datacenters to execute the first code, wherein selecting the second datacenter is based on an optimization goal;
causing the first code to be executed at the second datacenter;
receiving, at the first datacenter, a first result from the first code being executed at the second datacenter; and
transmitting a first response to the client device that is based at least in part on the received first result.
|