发明名称 Enhancing API service schemes
摘要 Embodiments of enhancing API servicing schemes are disclosed. A set of proxy code associated with servicing the API requests of an application is analyzed during development time to determine if any portion can be modified to improve the service scheme, prior to executing the set of proxy code in a runtime. After the set of proxy code is deployed in a runtime environment, performance data associated with the current service scheme is collected and periodically used to determine whether the service scheme for the API requests of the application is to be updated.
申请公布号 US9600251(B1) 申请公布日期 2017.03.21
申请号 US201414512954 申请日期 2014.10.13
申请人 Google Inc. 发明人 Srivastava Kumar
分类号 G06F9/54;G06F9/45;G06F9/48;G06F11/36 主分类号 G06F9/54
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 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.
地址 Mountain View CA US