CN104468747A - High-performance deployment method based on B/S - Google Patents

High-performance deployment method based on B/S Download PDF

Info

Publication number
CN104468747A
CN104468747A CN201410681609.XA CN201410681609A CN104468747A CN 104468747 A CN104468747 A CN 104468747A CN 201410681609 A CN201410681609 A CN 201410681609A CN 104468747 A CN104468747 A CN 104468747A
Authority
CN
China
Prior art keywords
server
cluster
database
data
application
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
CN201410681609.XA
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201410681609.XA priority Critical patent/CN104468747A/en
Publication of CN104468747A publication Critical patent/CN104468747A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the field of computer software development and deployment technologies, in particular to a high-performance deployment method based on B/S. The method includes the steps that firstly, a database cluster is deployed, and corresponding data can be modified between clusters through triggers; each database corresponds to an application server and serves only one application server; multiple application servers form a cluster, and the application servers are debugged uniformly through the dispatch server at the foremost end; the dispatch server sends a request to the idle servers for response according to the states of the servers in the cluster, so that the effect of load balancing is achieved; mutual access between the data is achieved through the triggers high in efficiency so that the data uniformity of a whole platform can be guaranteed. The requirement for high concurrency of the platform is met, and the method can be applied to application deployment.

Description

A kind of high-performance dispositions method based on B/S
Technical field
The present invention relates to develop computer software deployment techniques field, be specifically related to a kind of high-performance dispositions method based on B/S.
Background technology
At present in application deployment, a lot of situation is all that use application server adds a database server and completes; And in the deployment scheme that some are good, application service cluster can be built, but in database part management side face, in order to make data consistent with effective, by only disposing a database server.Being equivalent to a database server is the service of multiple stage application server.Therefore, when height is concurrent, just clearly, application server performance improves for the bottleneck of database, but the non-constant of overall performance, even there will be database server and to delay the situation of machine.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of high-performance dispositions method based on B/S, to meet the high concurrent demand of platform.
The technical scheme that the present invention solves the problems of the technologies described above is:
First dispose a data-base cluster, between cluster, corresponding data can be revised mutually by trigger; The corresponding application server of each database, and be only an application server service; Multiple application server is set up one and is trooped, unified by dispatch server debugging foremost; Dispatch server, according to the state of server in cluster, sends the request to more idle server and responds, reach the effect of load balancing; The trigger that between data, service efficiency is higher is accessed mutually, ensures the data consistency of whole platform.
Described method comprises following concrete steps:
1st step, building database cluster, the database in cluster can be accessed mutually and Update Table by trigger;
2nd step, set up application cluster, separate between cluster; A corresponding database server of application server, avoids database to share phenomenon simultaneously;
3rd step, dispose dispatch server, can by Requests routing in any application server in trooping;
4th step, user are by browser access dispatch server;
5th step, dispatch server, according to the state of server each in cluster, send the request in certain server A and respond;
6th step, server, according to service logic, access corresponding database;
7th step, database determine whether inquiry business, if so, then direct from server D data query, and to return, and skip to the 9th step; Otherwise flow process skips to the 8th step;
8th step, database server A are by the data of other database server in trigger amendment cluster;
9th step, end.
The invention has the beneficial effects as follows: this method by disposing data-base cluster, and is revised mutually by trigger between cluster, and each database is only an application server access simultaneously, solving at height and giving database bottleneck problem.Simultaneously when change appears in data, by the data of other database in trigger amendment cluster between database, reach the effect of data consistency.In front end application server, by dispatch service by server more idle for request forward, therefore, the method under guarantee data validity, conforming prerequisite, can provide high concurrent application deployment method.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is flow chart of the present invention;
Fig. 2 is that the present invention specifically disposes case flow chart.
Embodiment
Present system, by building database cluster and data modification mechanism, reaching under data validity, conforming prerequisite, provides high performance concurrent services.
As shown in Figure 1, basic flow sheet of the present invention is:
1st step, building database cluster, the database in cluster can be accessed mutually and Update Table by trigger;
2nd step, set up application cluster, separate between cluster; A corresponding database server of application server, avoids database to share phenomenon simultaneously;
3rd step, dispose dispatch server, can by Requests routing in any application server in trooping;
4th step, user are by browser access dispatch server;
5th step, dispatch server, according to the state of server each in cluster, send the request in certain server A and respond;
6th step, server, according to service logic, access corresponding database;
Whether the 7th step, database table, revise according to data, by the data of other database server in trigger amendment cluster;
Response is accordingly returned to user by the 8th step, server A.
Lower mask body, to educate the files passe of cloud system, for two database servers and two application servers, illustrates major deployments of the present invention.
As shown in Figure 2, be concrete deployment case flow process of the present invention; Comprise the steps:
1st step, deployment database server DA and database server DB;
Data, when T1 increases data newly, are increased newly in the T1 of DB by trigger by the file table T1 of the 2nd step, configuration DA; Configure the table T1 of DB simultaneously;
3rd step, application deployment server WA and WB, WA and DA association simultaneously, WB and DB associates;
4th step, deployment dispatch service R;
5th step, user pass through R, upload file.
User asks by the 6th step, R, will send in application server WA more idle at that time;
7th step, WA determine whether inquiry business, if so, then return from DA inquiry and terminate, otherwise flow process jumps to the 8th step
Data increase newly in the table T1 of DA by the 8th step, WA.
Data, by trigger, write in the table T1 of DB by the T1 of the 9th step, DA;
10th step, end.

Claims (2)

1. based on a high-performance dispositions method of B/S, it is characterized in that: first dispose a data-base cluster, between cluster, corresponding data can be revised mutually by trigger; The corresponding application server of each database, and be only an application server service; Multiple application server is set up one and is trooped, unified by dispatch server debugging foremost; Dispatch server, according to the state of server in cluster, sends the request to more idle server and responds, reach the effect of load balancing; The trigger that between data, service efficiency is higher is accessed mutually, ensures the data consistency of whole platform.
2. the high-performance dispositions method based on B/S according to claim 1, is characterized in that: described method comprises following concrete steps:
1st step, building database cluster, the database in cluster can be accessed mutually and Update Table by trigger;
2nd step, set up application cluster, separate between cluster; A corresponding database server of application server, avoids database to share phenomenon simultaneously;
3rd step, dispose dispatch server, can by Requests routing in any application server in trooping;
4th step, user are by browser access dispatch server;
5th step, dispatch server, according to the state of server each in cluster, send the request in certain server A and respond;
6th step, server, according to service logic, access corresponding database;
7th step, database determine whether inquiry business, if so, then direct from server D data query, and to return, and skip to the 9th step; Otherwise flow process skips to the 8th step;
8th step, database server A are by the data of other database server in trigger amendment cluster;
9th step, end.
CN201410681609.XA 2014-11-23 2014-11-23 High-performance deployment method based on B/S Pending CN104468747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410681609.XA CN104468747A (en) 2014-11-23 2014-11-23 High-performance deployment method based on B/S

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410681609.XA CN104468747A (en) 2014-11-23 2014-11-23 High-performance deployment method based on B/S

Publications (1)

Publication Number Publication Date
CN104468747A true CN104468747A (en) 2015-03-25

Family

ID=52914099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410681609.XA Pending CN104468747A (en) 2014-11-23 2014-11-23 High-performance deployment method based on B/S

Country Status (1)

Country Link
CN (1) CN104468747A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107750450A (en) * 2015-06-19 2018-03-02 诺基亚通信公司 Optimization business

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057829A1 (en) * 2008-08-28 2010-03-04 Avg Technologies Cz, S.R.O. Cross site, cross domain session sharing without database replication
CN102142024A (en) * 2010-02-01 2011-08-03 微软公司 Logical data backup and rollback using incremental capture in a distributed database
CN102207937A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Database access method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057829A1 (en) * 2008-08-28 2010-03-04 Avg Technologies Cz, S.R.O. Cross site, cross domain session sharing without database replication
CN102142024A (en) * 2010-02-01 2011-08-03 微软公司 Logical data backup and rollback using incremental capture in a distributed database
CN102207937A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Database access method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107750450A (en) * 2015-06-19 2018-03-02 诺基亚通信公司 Optimization business

Similar Documents

Publication Publication Date Title
US10204133B2 (en) Optimizing update operations in in-memory database systems
CN105045607A (en) Method for achieving uniform interface of multiple big data calculation frames
CN110147407B (en) Data processing method and device and database management server
CN103425762A (en) Telecom operator mass data processing method based on Hadoop platform
CN102789394B (en) Method, device and nodes for parallelly processing information and server cluster
CN105468720A (en) Method for integrating distributed data processing systems, corresponding systems and data processing method
CN104035817A (en) Distributed parallel computing method and system for physical implementation of large scale integrated circuit
CN103064667A (en) Method for controlling hardware equipment based on JavaScript extension
CN104050276A (en) Cache processing method and system of distributed database
CN103793485A (en) Method for inquiring network data by client terminal based on cached data
CN114064563A (en) Data migration method and server based on object storage
Long et al. A toolkit for modeling and simulating cloud data storage: An extension to cloudsim
CN103593243A (en) Dynamic extensible method for increasing virtual machine resources
CN105447051A (en) Database operation method and device
CN101727496A (en) Method for realizing load balancing cluster of MICROSOFT SQL SERVER database
CN109510852B (en) Method and device for gray scale publishing
CN106331160A (en) Data migration method and system
CN104954458A (en) Configuration method of cloud operating system based on Loongson platform
Petrov et al. Adaptive performance model for dynamic scaling Apache Spark Streaming
CN107391256A (en) A kind of relay protection fixed value setting computing architecture and method based on cloud computing technology
CN102355499A (en) Cloud computing system
CN203301532U (en) Cloud desktop system
CN106412075A (en) Resource allocation method and device based on cloud computing
CN105141691A (en) System and method for automatically expanding virtual machine cluster under cloud computing
CN105718318A (en) Assembly type scheduling optimization method based on auxiliary engineering design software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150325

WD01 Invention patent application deemed withdrawn after publication