CN105162866A - Application system concurrent access control method - Google Patents
Application system concurrent access control method Download PDFInfo
- Publication number
- CN105162866A CN105162866A CN201510584542.2A CN201510584542A CN105162866A CN 105162866 A CN105162866 A CN 105162866A CN 201510584542 A CN201510584542 A CN 201510584542A CN 105162866 A CN105162866 A CN 105162866A
- Authority
- CN
- China
- Prior art keywords
- application
- application server
- web
- control method
- service cluster
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/508—Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
- H04L41/5083—Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to web hosting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses an application system concurrent access control method. A specific implementation process of the method comprises the following steps: constructing a Web service cluster; accessing an application service cluster through the Web service cluster; and controlling an access peak value of an application server by a URL (Uniform Resource Locator) concurrent control way, namely, setting a service degrading threshold to dynamically reduce a pressure peak value of the application server. Compared with the prior art, the application system concurrent access control method has the advantages that a load condition of the application server can be sampled automatically, and concurrent control strategies are automatically distributed on a Web server cluster, so that static strategy configuration and management are simplified. Moreover, the strategies can be dynamically adjusted according to the load condition of the application server, so that service degrading is realized dynamically. The method is high in practicability, wide in application range, and easy to popularize.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of practical, application system concurrent access control method.
Background technology
Service degradation refers to when server stress increases severely, and serves and the diplomatic degradation of the page, discharge server resource to ensure the normal operation of core missions with this according to current traffic situations and flow to some.
Web server controls Concurrency Access, mostly the method for carrying out service degradation is that employing arranges static policies, and these static policies can not be shared on multiple stage Web server, cause the configuration of these static policies, complex management, and these strategies can not carry out dynamic conditioning according to the loading condition of application server, naturally also dynamic service degradation cannot be carried out.
Based on this, now provide a kind of application system concurrent access control method.
Summary of the invention
Technical assignment of the present invention is for above weak point, provides a kind of practical, application system concurrent access control method.
A kind of application system concurrent access control method, its specific implementation process is:
Build Web service cluster, then by this Web service cluster access application service cluster, use the mode of URL con current control, control the access peak value of application server, namely set service degradation threshold value, dynamically cut down the pressure peak of application server.
In the Web service cluster built, the host node of Web service cluster is elected by AXOS algorithm, by master node samples application server loading condition, Analysis of Concurrency Control list is formulated according to Web service cluster situation now, and this Policy List is provided to all Web servers, after Web service obtains these strategies, the con current control conducted interviews according to these strategies and service degradation.
Host node is by calculating use amount:
judge whether to reach service degradation threshold value, wherein Mi is internal memory use amount; Ri is memory amount; Ci is cpu use amount/2; N is application server quantity available, and when use amount exceedes threshold value, Web server adjustment con current control parameter, demotes automatically.
Described service degradation threshold value is set as 0.5, and namely when use amount exceedes threshold value 0.5, Web server adjustment con current control parameter, automatically demote, now, application server load can only be of short duration in 0.5, spends pressure crest.
A kind of application system concurrent access control method of the present invention, has the following advantages:
A kind of application system concurrent access control method of this invention, by Web service cluster, automatic sampling application server loading condition, and on Web server cluster automatic distributing Analysis of Concurrency Control, simplify static policies configuration, management, and these strategies can realize dynamic conditioning according to the loading condition of application server, realize service degradation dynamically, practical, applied widely, be easy to promote.
Embodiment
Below in conjunction with specific embodiment, the invention will be further described.
The invention provides a kind of application system concurrent access control method, its specific implementation process is:
Build Web service cluster, then by this Web service cluster access application service cluster, use the mode of URL con current control, control the access peak value of application server, namely set service degradation threshold value, dynamically cut down the pressure peak of application server.
In the Web service cluster built, the host node of Web service cluster is elected by AXOS algorithm, by master node samples application server loading condition, Analysis of Concurrency Control list is formulated according to Web service cluster situation now, and this Policy List is provided to all Web servers, after Web service obtains these strategies, the con current control conducted interviews according to these strategies and service degradation.
Host node is by calculating use amount:
judge whether to reach service degradation threshold value, wherein Mi is internal memory use amount; Ri is memory amount; Ci is cpu use amount/2; N is application server quantity available, and when use amount exceedes threshold value, Web server adjustment con current control parameter, demotes automatically.
Described service degradation threshold value is set as 0.5, and namely when use amount exceedes threshold value 0.5, Web server adjustment con current control parameter, automatically demote, now, application server load can only be of short duration in 0.5, spends pressure crest.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; claims of any a kind of application system concurrent access control method according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.
Claims (4)
1. an application system concurrent access control method, it is characterized in that, its specific implementation process is: build Web service cluster, then by this Web service cluster access application service cluster, use the mode of URL con current control, control the access peak value of application server, namely set service degradation threshold value, dynamically cut down the pressure peak of application server.
2. a kind of application system concurrent access control method according to claim 1, it is characterized in that, in the Web service cluster built, the host node of Web service cluster is elected by AXOS algorithm, by master node samples application server loading condition, formulate Analysis of Concurrency Control list according to Web service cluster situation now, and this Policy List is provided to all Web servers, after Web service obtains these strategies, the con current control conducted interviews according to these strategies and service degradation.
3. a kind of application system concurrent access control method according to claim 2, is characterized in that, host node is by calculating use amount:
judge whether to reach service degradation threshold value, wherein Mi is internal memory use amount; Ri is memory amount; Ci is cpu use amount/2; N is application server quantity available, and when use amount exceedes threshold value, Web server adjustment con current control parameter, demotes automatically.
4. a kind of application system concurrent access control method according to claim 3, it is characterized in that, described service degradation threshold value is set as 0.5, namely when use amount exceedes threshold value 0.5, Web server adjustment con current control parameter, demotes, now automatically, application server load can only be of short duration in 0.5, spends pressure crest.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510584542.2A CN105162866A (en) | 2015-09-15 | 2015-09-15 | Application system concurrent access control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510584542.2A CN105162866A (en) | 2015-09-15 | 2015-09-15 | Application system concurrent access control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105162866A true CN105162866A (en) | 2015-12-16 |
Family
ID=54803618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510584542.2A Pending CN105162866A (en) | 2015-09-15 | 2015-09-15 | Application system concurrent access control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105162866A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953929A (en) * | 2017-05-04 | 2017-07-14 | 郑州云海信息技术有限公司 | A kind of method of SmartRack servers high concurrent optimization |
CN107592219A (en) * | 2017-09-04 | 2018-01-16 | 北京潘达互娱科技有限公司 | Service degradation processing method and processing device |
CN112306659A (en) * | 2020-11-02 | 2021-02-02 | 北京中电普华信息技术有限公司 | Degradation protection method of application and business processing system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6836750B2 (en) * | 2001-04-23 | 2004-12-28 | Hewlett-Packard Development Company, L.P. | Systems and methods for providing an automated diagnostic audit for cluster computer systems |
CN1836212A (en) * | 2003-08-14 | 2006-09-20 | 甲骨文国际公司 | Automatic and dynamic provisioning of databases |
CN101382912A (en) * | 2008-09-02 | 2009-03-11 | 中国科学院软件研究所 | Method for optimizing resource sensitive property orienting application server and system thereof |
CN101505243A (en) * | 2009-03-10 | 2009-08-12 | 中国科学院软件研究所 | Performance exception detecting method for Web application |
CN102130938A (en) * | 2010-12-03 | 2011-07-20 | 中国科学院软件研究所 | Resource supply method oriented to Web application host platform |
-
2015
- 2015-09-15 CN CN201510584542.2A patent/CN105162866A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6836750B2 (en) * | 2001-04-23 | 2004-12-28 | Hewlett-Packard Development Company, L.P. | Systems and methods for providing an automated diagnostic audit for cluster computer systems |
CN1836212A (en) * | 2003-08-14 | 2006-09-20 | 甲骨文国际公司 | Automatic and dynamic provisioning of databases |
CN101382912A (en) * | 2008-09-02 | 2009-03-11 | 中国科学院软件研究所 | Method for optimizing resource sensitive property orienting application server and system thereof |
CN101505243A (en) * | 2009-03-10 | 2009-08-12 | 中国科学院软件研究所 | Performance exception detecting method for Web application |
CN102130938A (en) * | 2010-12-03 | 2011-07-20 | 中国科学院软件研究所 | Resource supply method oriented to Web application host platform |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953929A (en) * | 2017-05-04 | 2017-07-14 | 郑州云海信息技术有限公司 | A kind of method of SmartRack servers high concurrent optimization |
CN107592219A (en) * | 2017-09-04 | 2018-01-16 | 北京潘达互娱科技有限公司 | Service degradation processing method and processing device |
CN112306659A (en) * | 2020-11-02 | 2021-02-02 | 北京中电普华信息技术有限公司 | Degradation protection method of application and business processing system |
CN112306659B (en) * | 2020-11-02 | 2024-03-15 | 北京中电普华信息技术有限公司 | Application degradation protection method and service processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9800691B2 (en) | Stream processing using a client-server architecture | |
US11062047B2 (en) | System and method for distributed computation using heterogeneous computing nodes | |
Li et al. | A limited resource model of fault-tolerant capability against cascading failure of complex network | |
CN105554102A (en) | Elastic expansion method based on container cluster and application system thereof | |
CN102955549B (en) | The method for managing power supply of a kind of multi-core CPU, system and CPU | |
JP5744707B2 (en) | Computer-implemented method, computer program, and system for memory usage query governor (memory usage query governor) | |
CN102917077A (en) | Resource allocation method in cloud computing system | |
CN103078933A (en) | Method and device for determining data migration time | |
WO2007092406A3 (en) | Methods and systems for reducing burst usage of a networked computer system | |
US9383800B2 (en) | Managing a portal application | |
US8583608B2 (en) | Maximum allowable runtime query governor | |
CN105162866A (en) | Application system concurrent access control method | |
CN103414657A (en) | Cross-data-center resource scheduling method, super scheduling center and system | |
CN105007193A (en) | Multi-layer information processing method, system thereof and cluster management node | |
CN106126731A (en) | A kind of method and device obtaining Elasticsearch paged data | |
CN105700877A (en) | Application deployment method and apparatus | |
CN104750546A (en) | Method and system for adjusting connection tank | |
CN102143206A (en) | Storage pool regulation method, device and system for cluster storage system | |
CN108093096B (en) | Method for upgrading access link of server, server and storage medium | |
CN114040378B (en) | Method, device, computer equipment and storage medium for arranging application | |
WO2018188405A1 (en) | Method and device for allocating cloud application resources | |
CN103118115B (en) | Facing cloud calculates virtual machine management method and the device of user | |
WO2014029370A1 (en) | Method and system for networking control of application programs | |
CN109614425B (en) | Method and system for adjusting service access volume of database | |
CN107273188B (en) | Virtual machine Central Processing Unit (CPU) binding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151216 |