CN114707093A - Micro-service framework system based on high concurrency distribution - Google Patents

Micro-service framework system based on high concurrency distribution Download PDF

Info

Publication number
CN114707093A
CN114707093A CN202011124424.0A CN202011124424A CN114707093A CN 114707093 A CN114707093 A CN 114707093A CN 202011124424 A CN202011124424 A CN 202011124424A CN 114707093 A CN114707093 A CN 114707093A
Authority
CN
China
Prior art keywords
micro
application server
communication connection
center
database
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
CN202011124424.0A
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.)
Xiamen Kuaikuai Network Technology Co ltd
Original Assignee
Xiamen Kuaikuai Network 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 Xiamen Kuaikuai Network Technology Co ltd filed Critical Xiamen Kuaikuai Network Technology Co ltd
Priority to CN202011124424.0A priority Critical patent/CN114707093A/en
Publication of CN114707093A publication Critical patent/CN114707093A/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/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a micro-service framework system based on high concurrency distribution, which comprises a micro-service module, a load balancer, a database, a search engine, a cache server and an intelligent terminal. The invention belongs to the technical field of micro-services, in particular to a micro-service framework system based on high concurrency distribution, wherein an application server end is separated from an original system according to service concurrency and is communicated through an RPC (remote procedure control) technology, frequent operation of a hotspot database can be solved through a cache technology and a search engine, the characteristics of high concurrency, high availability, safety and the like of the system can be realized through the building of a distributed micro-service framework, and the problems of poor effect, complex structure and inconvenient maintenance of the micro-service framework system in the current market are effectively solved.

Description

Micro-service framework system based on high-concurrency distribution
Technical Field
The invention belongs to the technical field of micro-services, and particularly relates to a micro-service framework system based on high concurrency distribution.
Background
With the development of society and the advance of technology, the former mainframe architecture is obviously gradually becoming unable to be applied to market development due to high cost, difficult maintenance and the like, so that a distributed micro-service architecture is born, and from a mainframe to a distributed micro-service architecture, several stages are experienced, and the advantages of the distributed micro-service architecture can be better understood and appreciated by understanding the architecture of each stage. With the online of a website, the access amount gradually rises, the load of a server is slowly increased, and the application layer of the traditional optimization scheme shunts and forwards the server through a load balancer; the database can realize master-slave copy through a self-contained master-slave mode, so that the access amount of a website is improved, all services of an application server are bound together, the maintainability is poor, and for example, the transaction amount reaches the bottleneck, and all services can be influenced. The operation database layer of the hotspot data is not cached, the concurrency of the website reaches a certain level, and the whole system is paralyzed.
Disclosure of Invention
Aiming at the situation and overcoming the defects of the prior art, the invention provides a high-concurrency distributed micro-service framework system, wherein the communication is separated from the original system through an RPC technology according to the service concurrency amount for an application server side, the frequent operation of a hotspot database can be solved through a cache technology and a search engine, the characteristics of high concurrency, high availability, safety and the like of the system can be realized through the building of a distributed micro-service framework, and the problems of poor effect, complex structure and inconvenient maintenance of the micro-service framework system in the current market are effectively solved.
The technical scheme adopted by the invention is as follows: the invention relates to a high-concurrency distributed micro-service framework system, which comprises a micro-service module, a load balancer, a database, a search engine, a cache server and an intelligent terminal, wherein the micro-service module is respectively in communication connection with the load balancer, the database, the search engine and the cache server, the database is in communication connection with the cache server, and the load balancer is in communication connection with the intelligent terminal; the micro-service module comprises an application server, a user center, a commodity center and a transaction center, wherein the user center, the commodity center and the transaction center are respectively in communication connection with the application server, and the application server is in communication connection with the load balancer.
Further, the application server comprises a user application server, a commodity application server and a transaction application server, wherein the user application server is in communication connection with the user center, the commodity application server is in communication connection with the commodity center, and the transaction application server is in communication connection with the transaction center.
Further, the database comprises a data writing-in library and a data reading-in library, the data reading-in library is in communication connection with the cache server, and the data writing-in library and the data reading-in library are synchronous.
Further, the load balancers are Nginx and Apache.
Further, the database is mysql, and master-slave copy can be realized by using a self-contained master-slave mode.
Furthermore, the cache servers are redis and memcached, so that the cache of the hot spot data is realized to reduce the pressure on the database.
Furthermore, the search engine is an elastic search, a solr and a sphinx, and the application layer can quickly search the service.
The invention with the structure has the following beneficial effects: the scheme is that a micro-service framework system based on high concurrency distribution is used for an application server side, communication is carried out through an RPC technology by separating from an original system according to service concurrency quantity, frequent operation of a hotspot database can be achieved through a cache technology and a search engine, the characteristics of high concurrency, high availability, safety and the like of the system can be achieved through the building of a distributed micro-service framework, and the problems that the micro-service framework system on the current market is poor in effect, the structure of the micro-service framework system is complex and maintenance is inconvenient are effectively solved.
Drawings
Fig. 1 is a schematic diagram of a microservice framework system based on high concurrency distribution according to the present invention.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the micro-service framework system based on highly concurrent distributed type according to the present invention includes a micro-service module, a load balancer, a database, a search engine, a cache server, and an intelligent terminal, where the micro-service module is respectively connected to the load balancer, the database, the search engine, and the cache server in a communication manner, the database is connected to the cache server in a communication manner, and the load balancer is connected to the intelligent terminal in a communication manner; the micro-service module comprises an application server, a user center, a commodity center and a transaction center, wherein the user center, the commodity center and the transaction center are respectively in communication connection with the application server, and the application server is in communication connection with the load balancer.
The application server comprises a user application server, a commodity application server and a transaction application server, wherein the user application server is in communication connection with a user center, the commodity application server is in communication connection with a commodity center, and the transaction application server is in communication connection with the transaction center.
The database comprises a data writing-in library and a data reading-in library, the data reading-in library is in communication connection with the cache server, and the data writing-in library and the data reading-in library are synchronous.
The load balancers are Nginx and Apache.
The database is mysql, and master-slave copy can be realized by using a self-contained master-slave mode.
The cache server is redis and memcached, and the cache of the hot spot data is realized to reduce the pressure on the database.
The search engine is an elastic search, a solr and a sphinx, and the application layer can quickly search the service.
When the system is used, a search engine searches services quickly, data writing in a database and data reading and warehousing achieve data synchronization, a cache server achieves caching of hot data to relieve pressure on the database, a user center transmits the services to a user application server, a commodity center transmits the services to a commodity application server, a transaction center transmits the services to the transaction application server, the services are subjected to shunting processing through a load balancer and then transmitted to an intelligent terminal for processing, the whole working process is the whole working process, and the steps are repeated when the system is used next time.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (7)

1. A micro-service framework system based on high concurrency distribution is characterized in that: the system comprises a micro-service module, a load balancer, a database, a search engine, a cache server and an intelligent terminal, wherein the micro-service module is respectively in communication connection with the load balancer, the database, the search engine and the cache server, the database is in communication connection with the cache server, and the load balancer is in communication connection with the intelligent terminal; the micro-service module comprises an application server, a user center, a commodity center and a transaction center, wherein the user center, the commodity center and the transaction center are respectively in communication connection with the application server, and the application server is in communication connection with the load balancer.
2. The high-concurrency distributed-based microservice framework system according to claim 1, wherein: the application server comprises a user application server, a commodity application server and a transaction application server, wherein the user application server is in communication connection with a user center, the commodity application server is in communication connection with a commodity center, and the transaction application server is in communication connection with the transaction center.
3. The high-concurrency distributed-based microservice framework system according to claim 2, wherein: the database comprises a data writing-in library and a data reading-in library, the data reading-in library is in communication connection with the cache server, and the data writing-in library and the data reading-in library are synchronous.
4. The high-concurrency distributed micro-service framework-based system according to claim 3, wherein: the load balancers are Nginx and Apache.
5. The high-concurrency distributed micro-service framework system according to claim 4, wherein: the database is mysql.
6. The high-concurrency distributed-based microservice framework system of claim 5, wherein: the cache servers are redis and memcached.
7. The high-concurrency distributed micro-service framework-based system according to claim 6, wherein: the search engines are the elastic search, solr and sphinx.
CN202011124424.0A 2020-10-20 2020-10-20 Micro-service framework system based on high concurrency distribution Pending CN114707093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011124424.0A CN114707093A (en) 2020-10-20 2020-10-20 Micro-service framework system based on high concurrency distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011124424.0A CN114707093A (en) 2020-10-20 2020-10-20 Micro-service framework system based on high concurrency distribution

Publications (1)

Publication Number Publication Date
CN114707093A true CN114707093A (en) 2022-07-05

Family

ID=82167105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011124424.0A Pending CN114707093A (en) 2020-10-20 2020-10-20 Micro-service framework system based on high concurrency distribution

Country Status (1)

Country Link
CN (1) CN114707093A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506605A (en) * 2016-10-14 2017-03-15 华南理工大学 A kind of SaaS application construction methods based on micro services framework
CN107786379A (en) * 2017-11-15 2018-03-09 四川省龙逸凤集网络科技有限公司 A kind of layering cloud management platform based on micro services framework
CN108322541A (en) * 2018-02-09 2018-07-24 杭州顺网科技股份有限公司 A kind of adaptive Distributed architecture
CN108737548A (en) * 2018-05-24 2018-11-02 南京邮电大学 Distributed WEB micro services container aggregated structure system and its implementation
CN110569060A (en) * 2019-09-19 2019-12-13 山东浪潮通软信息科技有限公司 High concurrency implementation method based on micro-service framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506605A (en) * 2016-10-14 2017-03-15 华南理工大学 A kind of SaaS application construction methods based on micro services framework
CN107786379A (en) * 2017-11-15 2018-03-09 四川省龙逸凤集网络科技有限公司 A kind of layering cloud management platform based on micro services framework
CN108322541A (en) * 2018-02-09 2018-07-24 杭州顺网科技股份有限公司 A kind of adaptive Distributed architecture
CN108737548A (en) * 2018-05-24 2018-11-02 南京邮电大学 Distributed WEB micro services container aggregated structure system and its implementation
CN110569060A (en) * 2019-09-19 2019-12-13 山东浪潮通软信息科技有限公司 High concurrency implementation method based on micro-service framework

Similar Documents

Publication Publication Date Title
CN110502583B (en) Distributed data synchronization method, device, equipment and readable storage medium
CN101551801B (en) Data synchronization method and data synchronization system
US10275347B2 (en) System, method and computer program product for managing caches
WO2016168855A1 (en) System and method for real-time cloud data synchronization using a database binary log
CN104899274B (en) A kind of memory database Efficient Remote access method
CN107870728A (en) Method and apparatus for mobile data
US20210240784A1 (en) Method, apparatus and storage medium for searching blockchain data
CN108197176A (en) Core bank data processing method and its system based on distributed type assemblies framework
CN107196998B (en) Mobile Web request processing method, equipment and system based on data deduplication
CN108536778A (en) A kind of data application shared platform and method
CN111177161A (en) Data processing method and device, computing equipment and storage medium
CN106934048A (en) Online data moving method, agent node
CN115114374B (en) Transaction execution method and device, computing equipment and storage medium
CN112131305A (en) Account processing system
WO2021109777A1 (en) Data file import method and device
WO2019118274A1 (en) Automated transaction engine
CN114428820A (en) Method and system for real-time synchronization of distributed data and data synchronization equipment
CN112559560A (en) Metadata reading method and device, metadata updating method and device, and storage device
CN110069565B (en) Distributed database data batch processing method and device
CN114707093A (en) Micro-service framework system based on high concurrency distribution
CN106599036A (en) Server cluster-based parallel real-time database
CN105242960A (en) Method for processing system function call request and browser
CN111382207B (en) Data processing method, device, system and storage medium
CN115277840A (en) Data migration method and device, electronic equipment and computer readable medium
CN107896248A (en) A kind of parallel file system application process based on client communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination