首页>
外国专利>
METHOD AND SYSTEM FOR REALIZING REST INTERFACE FOR CLOUD CACHE IN NGINX
METHOD AND SYSTEM FOR REALIZING REST INTERFACE FOR CLOUD CACHE IN NGINX
展开▼
机译:在nginx中实现云缓存的REST接口的方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present invention provides a method for realizing a REST (Representational State Transfer) interface of a cloud cache in an Nginx. The method includes: receiving a Hyper Text Transport Protocol (HTTP) message transmitted from a client, and parsing out key information and an operation type corresponding to the HTTP message according to a preset configuration file; converting the key information and the operation type into a parameter required by a cloud cache operation and a cloud cache operation type, and transmitting the parameter to a cloud cache apparatus, so that the cloud cache apparatus performs the cloud cache operation according to the parameter and the cloud cache operation type; receiving a cloud cache operation result returned by the cloud cache apparatus, processing the cloud cache operation result, and returning the processed result to the client. The present invention also provides a corresponding system. The present invention enables a larger cache capacity and better saves CPU resources, thereby enabling a more powerful cache function of the Nginx.
展开▼