主权项 |
1. A system, comprising:
a processor; and a proxy code storage coupled to the processor, wherein the proxy code storage is configured to receive, at development time, a set of proxy code for servicing an application at a proxy server, wherein the set of proxy code is configured to be executed at runtime, wherein the set of proxy code corresponds to a first service scheme to be performed by the processor for accessing services associated with responding to an Application Programming Interface (API) request associated with the application, wherein the first service scheme describes the processor being configured to:
in response to receipt of the API request at the runtime, generate a plurality of service callouts, wherein the runtime occurs subsequent to the development time;send, at the runtime, the plurality of service callouts to one or more service servers based at least in part on a first execution sequence specified by the first service scheme, wherein the first execution sequence describes an order of sending each of the plurality of service callouts to a respective service server; anddetermine, at the runtime, a response to the API request based at least in part on data received from the one or more service servers in response to the plurality of service callouts; wherein the processor is configured to:
determine, at the development time, a property of the first service scheme that will cause the API request to be serviced in a suboptimal manner based at least in part on analyzing the set of proxy code;determine, at the development time, a second service scheme for accessing services associated with responding to the API request, wherein the second service scheme is configured to improve servicing of the API request at the runtime; andmodify, at the development time, the set of proxy code to correspond to the second service scheme. |