摘要
在复杂多变的Web应用场景下,传统的关系型数据库难以应付大流量高并发的业务需求,而非关系型数据库(Not OnlySQL,NoSQL)具有灵活的数据模型、大数据、高性能高可用等特点,很好地解决高并发访问的性能需求,在许多业务场景下得到了广泛应用。本文首先分析了NoSQL数据库的特点,其次根据Redis和Elasticsearch的优势对网络投票系统的数据库架构进行改造,最后进行对比实验。实验结果证明,该方法有效提高了投票系统的高并发访问性能。
In complex and changing Web application scenarios,traditional relational databases can hardly cope with the business requirements of high traffic and high concurrency,while Not Only SQL(NoSQL) with flexible data model,big data,and high performance and high availability are well suited to address the performance requirements of high concurrent access,and are widely used in many business scenarios.In this paper,we first analyze the characteristics of NoSQL databases,then transform the database architecture of the web-based voting system based on the advantages of Redis and Elasticsearch,and finally conduct comparative experiments.The experimental results prove that the approach effectively improves the performance of the voting system for high concurrent access.
作者
咸兆勇
XIAN Zhaoyong(Guangxi Radio And Television,Nanning Guangxi 530022,China)
出处
《信息与电脑》
2022年第10期206-208,共3页
Information & Computer