Font Size: a A A

Design And Implementation Of High Availability Bilingual Reading Social Platform

Posted on:2020-06-11Degree:MasterType:Thesis
Country:ChinaCandidate:Y WangFull Text:PDF
GTID:2428330572971167Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology,people's acceptance of e-reading is getting higher and higher,and the prospect of e-reading industry is very broad.Traditional electronic reading platforms generally only implement simple readable functions.In general,the functions are single and the reliability is poor,which has not met the increasingly diverse needs of readers.At the same time,the social-based bilingual reading field is still relatively blank.The bilingual reading platform combines reading and bilingual learning with the advantage of the Internet.It is a new way for users to learn foreign languages.Through the social module in the platform,learning and reading.Making friends,will be a new way of making friends in the Internet reading era.Based on the above background,this paper designs and implements a high-availability bilingual reading social platform.The high-availability bilingual reading social platform is a high-availability e-reading platform for bilingual reading and diverse social interactions.The entire platform consists of a bookstore module,a social module,a personal center module,and a reader module.The Spring+Spring MVC+MyBatis framework implements hierarchical decoupling.The load balancing architecture uses LVS+Keepalived+Nginx technology,with LVS as the first layer of load.Nginx is used as the second layer of load and health monitoring services are provided through Keepalived.At the same time,the load balancing module adopts the dynamic weight minimum connection number strategy based on simulated annealing algorithm.The simulated annealing algorithm is used to determine the reasonable weight of the collected information of the server,which makes up for the traditional minimum connection number algorithm to have a single influencing factor and unreasonable weight.Insufficient to ensure the reliability and stability of the load balancing module.The database module adopts the master-slave replication structure,guarantees failover and data consistency through the MHA architecture,and uses high-performance ProxySQL middleware to implement functions such as read-write separation and query cache of the database,alleviating the load pressure of the database and ensuring high availability of the database module.In order to ensure the efficiency and reliability of the platform,system functional testing,system stress testing,load balancing testing,database testing and improved algorithm testing are performed on the platform.The test results show that the platform is beautiful,stable and reliable,and has high availability to meet the design requirements.
Keywords/Search Tags:high availability, bilingual reading, load balancing, minimum number of connections
PDF Full Text Request
Related items