CN103886019A - Method and system for improving multi-service query performance of cloud computing platform - Google Patents

Method and system for improving multi-service query performance of cloud computing platform Download PDF

Info

Publication number
CN103886019A
CN103886019A CN201410060389.9A CN201410060389A CN103886019A CN 103886019 A CN103886019 A CN 103886019A CN 201410060389 A CN201410060389 A CN 201410060389A CN 103886019 A CN103886019 A CN 103886019A
Authority
CN
China
Prior art keywords
query result
query
nginx
computing platform
cloud computing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410060389.9A
Other languages
Chinese (zh)
Inventor
徐安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201410060389.9A priority Critical patent/CN103886019A/en
Publication of CN103886019A publication Critical patent/CN103886019A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The invention provides a method for improving multi-service query performance of a cloud computing platform. The method includes setting Nginx cache in the cloud computing platform; when a client side accesses a certain query service of a sub-service system in the cloud computing platform, if a query result corresponding to a query item of the sub-service system exists in the Nginx cache, directly returning the query result to the client side. By the method, query service response speed of the cloud computing platform can be increased.

Description

Many service-seekings of cloud computing platform performance boost method and system
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of many service-seekings of cloud computing platform performance boost method and system.
Background technology
A cloud computing platform is generally by storage administration, network management, and managing computing resources, user management, database module composition, these modules are also referred to as the sub-services in cloud computing platform.These different sub-services likely operate on identical physical server, also likely operate on different physical servers, but cloud computing platform also must have an entrance uniformly, so just need the high performance HTTP of similar Nginx and Reverse Proxy to come for its service.
As shown in Figure 1, the sub-services in cloud computing platform generally provides the service of two types to the software architecture of typical cloud computing platform: inquiry service and operate services.Concerning inquiry service, the response time is very sensitive performance parameter, but when Nginx server will call some sub-services (such as service 4) as described in Figure 1, cross over different physical servers, and this sub-services also may need to call other sub-services work in coordination with its work, calling between the data transmission of across a network and different sub-services is all more consuming time, especially in the time that inquiry service is more, it is unacceptable that the prolongation of response time will become, and therefore how promoting many service-seekings performance will become a key technical problem.
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of many service-seekings of cloud computing platform performance boost method and system, can improve the response speed of cloud computing platform inquiry service.
For achieving the above object, the present invention is achieved by the following technical programs:
A kind of many service-seekings of cloud computing platform performance boost method, Nginx cache is set in cloud computing platform, in the time of a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described Query Result returned to client.
Preferably, if the method also comprises the Query Result that does not have the corresponding query term of described sub-services system in Nginx cache, call the query manipulation of the corresponding query term of this sub-services system, Query Result is returned to client.
Preferably, at the described query manipulation that calls the corresponding query term of this sub-services system, after Query Result is returned to client, also comprise Query Result is kept in Nginx cache.
Preferably, the method also comprise by the Query Result in the described Nginx of being kept at cache every set time delete.
A kind of many service-seekings of cloud computing platform performance boost system, this system comprises:
Nginx cache arranges module, for Nginx cache is set at cloud computing platform;
Query Result directly returns to module, for when a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described inquiry service result returned to client.
Preferably, described system also comprises that Query Result calls and returns to module, for when a certain inquiry service of client-access cloud computing platform neutron service system, if there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, the query manipulation that calls the corresponding query term of this sub-services system, returns to client by Query Result.
Preferably, described system also comprises Query Result preservation module, and the Query Result that returns to module output for Query Result is called is saved in Nginx cache.
Preferably, described system also comprises Nginx cache data removing module, for the Query Result of the described Nginx of being kept at cache was deleted every the time of setting.
The present invention at least has following beneficial effect:
1, the present invention arranges Nginx cache in computing platform, in the time of a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described inquiry service result is returned to client, thereby improved the response speed of cloud computing platform inquiry service.
2, in the time there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, call the query manipulation of the corresponding query term of this sub-services system, Query Result is returned to client, and Query Result is deposited in Nginx cache, use for subsequent query.
3, in order to keep the validity of data in Nginx cache, the Query Result being kept in Nginx cache is often deleted at regular intervals.
Certainly, implement either method of the present invention or product and not necessarily need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is cloud computing platform configuration diagram;
Fig. 2 is the process flow diagram of many service-seekings of one embodiment of the invention cloud computing platform performance boost method;
Fig. 3 is the structural representation of many service-seekings of one embodiment of the invention cloud computing platform performance boost system.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is carried out to clear, complete description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention has proposed a kind of many service-seekings of cloud computing platform performance boost method, referring to Fig. 2, comprises the steps:
Step 201: Nginx cache is set in cloud computing platform.
Step 202: in the time of a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described Query Result is returned to client.
In this step, in the time of a certain inquiry service of client-access cloud computing platform neutron service system, referring to Fig. 1, for example, while accessing a certain inquiry service of sub-services system 4, first Nginx server checks the Query Result that whether has this inquiry service in Nginx cache, if had, directly the Query Result in Nginx cache is returned to client, if no, execution step 203.
Step 203: in the time there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, Nginx calls the query manipulation of the corresponding query term of this sub-services system, and Query Result is returned to client.
In this step, in the time there is not the Query Result of sub-services system 4 corresponding query terms in Nginx cache, Nginx just need to call the query manipulation of the corresponding query term of this sub-services system, now must cross over different physical servers and call, last Nginx will call Query Result and return to client.
Step 204: at the query manipulation that calls the corresponding query term of this sub-services system, after Query Result is returned to client, Query Result is kept in Nginx cache.
In this step, when Nginx crosses over different physical server complete call processes, realize after the query manipulation of the corresponding query term of sub-services system, Nginx also needs just Query Result to be kept in Nginx cache, uses for subsequent query.
Step 205: the Query Result being kept in Nginx cache was deleted every the time of setting.
Visible, in embodiments of the present invention, Nginx cache is set in computing platform, in the time of a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described inquiry service result is returned to client, thereby improved the response speed of cloud computing platform inquiry service.
In addition, in the time there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, call the query manipulation of the corresponding query term of this sub-services system, Query Result is returned to client, and Query Result is deposited in Nginx cache, use for subsequent query.
In addition, in order to keep the validity of data in Nginx cache, the Query Result being kept in Nginx cache is often deleted at regular intervals.
An alternative embodiment of the invention has also proposed a kind of many service-seekings of cloud computing platform performance boost system, and referring to Fig. 3, this system comprises:
Nginx cache arranges module 301, for Nginx cache is set at cloud computing platform;
Query Result directly returns to module 302, for when a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described inquiry service result returned to client.
Further, described system also comprises that Query Result calls and returns to module 303, for when a certain inquiry service of client-access cloud computing platform neutron service system, if there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, the query manipulation that calls the corresponding query term of this sub-services system, returns to client by Query Result.
Further, described system also comprises Query Result preservation module 304, and the Query Result that returns to module output for Query Result is called is saved in Nginx cache.
Further, described system also comprises Nginx cache data removing module 305, for the Query Result of the described Nginx of being kept at cache was deleted every the time of setting.
Visible, Nginx cache arranges module 301 Nginx cache is set in cloud computing platform, in the time of a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described inquiry service result is returned to client, thereby improved the response speed of cloud computing platform inquiry service.
In addition, in the time there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, call the query manipulation of the corresponding query term of this sub-services system, Query Result is returned to client, and utilize Query Result to preserve module 304 and Query Result is called to the Query Result that returns to module output be saved in Nginx cache, use for subsequent query.
In order to keep the validity of data in Nginx cache, Nginx cache data removing module 305 is deleted the Query Result being kept in Nginx cache every the time of setting.
Above embodiment only, for technical scheme of the present invention is described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. many service-seekings of cloud computing platform performance boost method, it is characterized in that, Nginx cache is set in cloud computing platform, in the time of a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described Query Result returned to client.
2. method according to claim 1, it is characterized in that, if the method also comprises the Query Result that does not have the corresponding query term of described sub-services system in Nginx cache, call the query manipulation of the corresponding query term of this sub-services system, Query Result is returned to client.
3. method according to claim 2, is characterized in that, at the described query manipulation that calls the corresponding query term of this sub-services system, after Query Result is returned to client, also comprises Query Result is kept in Nginx cache.
4. method according to claim 3, is characterized in that, the method also comprises deletes the Query Result in the described Nginx of being kept at cache every the time of setting.
5. many service-seekings of cloud computing platform performance boost system, is characterized in that, this system comprises:
Nginx cache arranges module, for Nginx cache is set at cloud computing platform;
Query Result directly returns to module, for when a certain inquiry service of client-access cloud computing platform neutron service system, if there is the Query Result of the corresponding query term of described sub-services system in Nginx cache, directly described inquiry service result returned to client.
6. system according to claim 5, it is characterized in that, described system also comprises that Query Result calls and returns to module, for when a certain inquiry service of client-access cloud computing platform neutron service system, if there is not the Query Result of the corresponding query term of described sub-services system in Nginx cache, the query manipulation that calls the corresponding query term of this sub-services system, returns to client by Query Result.
7. system according to claim 6, is characterized in that, described system also comprises Query Result preservation module, and the Query Result that returns to module output for Query Result is called is saved in Nginx cache.
8. system according to claim 7, is characterized in that, described system also comprises Nginx cache data removing module, for the Query Result of the described Nginx of being kept at cache was deleted every the time of setting.
CN201410060389.9A 2014-02-21 2014-02-21 Method and system for improving multi-service query performance of cloud computing platform Pending CN103886019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410060389.9A CN103886019A (en) 2014-02-21 2014-02-21 Method and system for improving multi-service query performance of cloud computing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410060389.9A CN103886019A (en) 2014-02-21 2014-02-21 Method and system for improving multi-service query performance of cloud computing platform

Publications (1)

Publication Number Publication Date
CN103886019A true CN103886019A (en) 2014-06-25

Family

ID=50954911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410060389.9A Pending CN103886019A (en) 2014-02-21 2014-02-21 Method and system for improving multi-service query performance of cloud computing platform

Country Status (1)

Country Link
CN (1) CN103886019A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030120867A1 (en) * 2001-12-21 2003-06-26 International Business Machines Corporation Context-sensitive caching
CN101662483A (en) * 2008-08-28 2010-03-03 盛大计算机(上海)有限公司 Cache system for cloud computing system and method thereof
CN103546557A (en) * 2013-10-22 2014-01-29 乐视致新电子科技(天津)有限公司 Data interaction method of platform-level services, service platform and systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030120867A1 (en) * 2001-12-21 2003-06-26 International Business Machines Corporation Context-sensitive caching
CN101662483A (en) * 2008-08-28 2010-03-03 盛大计算机(上海)有限公司 Cache system for cloud computing system and method thereof
CN103546557A (en) * 2013-10-22 2014-01-29 乐视致新电子科技(天津)有限公司 Data interaction method of platform-level services, service platform and systems

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ITWORK: "Memcache知识点梳理", 《HTTP://369369.BLOG.51CTO.COM/319630/833234》 *
NGINX官方: "ChsHttpProxyModule(Redirected from NginxChsHttpProxyModule)", 《HTTP://TOOL.OSCHINA.NET/UPLOADS/APIDOCS/NGINX-ZH/NGINXCHSHTTPPROXYMODULE.HTM》 *

Similar Documents

Publication Publication Date Title
US11941017B2 (en) Event driven extract, transform, load (ETL) processing
WO2018076759A1 (en) Block chain-based multi-chain management method and system, electronic device, and storage medium
US10425375B2 (en) Message sending method, apparatus, and system, and server
US10178156B2 (en) Extraction and capture of information from customizable header
US8146099B2 (en) Service-oriented pipeline based architecture
US9069984B2 (en) On-demand authorization management
US9756039B2 (en) Document rendering service
US8635250B2 (en) Methods and systems for deleting large amounts of data from a multitenant database
US20160182314A1 (en) Streamlined provisioning system and method
WO2014026270A1 (en) High performance real-time relational database system and methods for using same
CN109067841B (en) Service current limiting method, system, server and storage medium based on ZooKeeper
WO2024027328A1 (en) Data processing method based on zero-trust data access control system
US10277522B1 (en) Automated association of computing resources with resource creators for usage allocation
WO2019218460A1 (en) Service line processing method, device, terminal equipment and medium
CN107729394A (en) Data Mart management system and its application method based on Hadoop clusters
WO2023082681A1 (en) Data processing method and apparatus based on batch-stream integration, computer device, and medium
US20150120607A1 (en) System and method for customer event email consolidation and delivery
CN103886019A (en) Method and system for improving multi-service query performance of cloud computing platform
CN113114611B (en) Blacklist management method and device
TWI530808B (en) System and method for providing instant query
CN104572859B (en) A kind of distributed complex event handling system
CN109087097B (en) Method and device for updating same identifier of chain code
CN113590322A (en) Data processing method and device
US11170000B2 (en) Parallel map and reduce on hash chains
KR102331347B1 (en) An extraction-system using dispersion deep learning information analysis management based cloud

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140625

RJ01 Rejection of invention patent application after publication