摘 要: 基于微服务框架搭建的“商对客”商业模式(B2C商业模式)的商城平台,对商城平台前后端进行分离,前端使用vue.js(视图层开发框架)进行页面渲染,后端采用微服务框架SpringCloud;每个微服务单体模块使用SpringBoot框架进行开发,微服务单体模块之间使用消息队列RabbitMq进行通信,使用Redis技术进行缓存。该设计实现了高可用、高并发和可扩展的全品类商对客模式电商网站,使客户与商家交易效率提高,给客户带来了良好的购物体验。 |
关键词: 微服务架构;“商对客”商业模式;SpringCloud |
中图分类号: TP311
文献标识码: A
|
|
Design and Implementation of Business-to-Customer E-mall Website based on Microservice Architecture |
ZHANG Lin
|
(School of Computer Science and Technology, University of Science and Technology of China, Hefei 230026, China )
smilezhangmumu@163.com
|
Abstract: This paper is based on a mall platform of the business-to-customer business model (B2C business model) built on the microservices framework, separating front and back ends of the mall platform. vue.js (view layer development framework) is used in the front end for page rendering, and SpringCloud, a microservice framework, is used in the back end. Each microservice monomer module is developed by using SpringBoot framework, the message queue RabbitMq is used for communication between the microservice monomer modules, and Redis technology is used for caching. The design achieves a high-availability, high-concurrency and extensible business-to-customer e-mall website of full-category goods, improving the efficiency of customer-business transactions and bringing customers a good shopping experience. |
Keywords: microservice architecture; business-to-customer business model; SpringCloud |