基于Redis缓存数据库和Nginx负载均衡技术的购物网站性能优化  被引量:13

Performance Optimization of Shopping Websites Based on Redis Cache Database and Nginx Load Balancing Technology

在线阅读下载全文

作  者:王欢 李民[1] 邓秀辉 焦宇 余开朝[1] WANG Huan;LI Min;DENG Xiu-hui;JIAO Yu;YU Kai-chao(School of Mechanical and Electrical Engineering,Kunming University of Science and Technology,Kunming 650500,China;Huaxin Consulting Co.Ltd,Hangzhou 310000,China)

机构地区:[1]昆明理工大学机电工程学院,云南昆明650500 [2]华信咨询设计研究院,浙江杭州310000

出  处:《软件导刊》2022年第8期114-119,共6页Software Guide

基  金:云南省智能化自动化产业发展研究项目(YNDR2017G1C06)。

摘  要:针对传统购物网站系统功能模块之间耦合度高、并发能力差以及数据查询性能不佳等问题,构建基于微服务技术架构的购物网站系统。通过构建基于Dubbo、整合SSM(SpringBoot-SpringMVC-Mybatis)的框架,降低该购物网站模块之间的耦合度;加入Redis缓存数据库提高数据的读写性能,通过Nginx负载均衡技术中的轮询策略将服务请求转发至不同服务节点进行业务处理,提高系统的并发性和可用性。采用PostMan和JMeter工具进行性能测试,结果表明基于Redis缓存数据库和Nginx负载均衡技术的购物网站系统平均响应时间缩短了28%,吞吐性能平均提高了43%。Aiming at the problems of high coupling between functional modules,poor concurrency and poor data query performance of traditional shopping website system,a shopping website system based on microservice technology is constructed.By constructing a framework based on Dubbo and integrating SSM(SpringBoot-SpringMVC-Mybatis),the coupling between the modules of the shopping mall is reduced;Add Redis cache database to improve data reading and writing performance,forward service requests to different service nodes for business processing through the polling strategy in Nginx load balancing technology,and improve the concurrency and availability of the system.Using PostMan and JMeter tools for performance testing,the results show that the average response time of the shopping website system using Redis database and Nginx load balancing technology has been shortened by 28%,and the throughput performance has increased by an average of43%.

关 键 词:购物网站 Redis缓存数据库 Nginx负载均衡技术 性能优化 

分 类 号:TP311.131[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象