Method and system for reading and writing separation database
A read-write separation and database technology, applied in the field of network communication, can solve problems such as excessive read-write requests, master replication data delay, DB response performance decline, etc., to achieve the effect of improving response performance and reducing delay
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The present invention provides an embodiment. This embodiment provides a method for reading and writing separate databases. The technical scenario realized by this embodiment is as follows. figure 1 As shown, including: content delivery network (content delivery network, CDN), load balancing product F5 series (optional), multiple servers, application server App and DB, in which all Mysql servers are divided into 2 groups, a group of master, A set of slaves. The method as figure 2 shown, including the following steps:
[0017] After the S21 and F5 series receive the user's read and write requests, they are balanced to the CDN network, and the CDN network distributes the read and write requests to the server, and the server sends the read and write commands to the master in the DB through the APP;
[0018] Among them, the function of CDN can be: as the second layer of distribution requests, the basic idea of CDN is to avoid as far as possible the bottlenecks and link...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 