没有合适的资源?快使用搜索试试~ 我知道了~
基于微信平台的秒杀系统设计.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 147 浏览量
2023-09-08
14:03:18
上传
评论
收藏 661KB DOC 举报
温馨提示
试读
18页
基于微信平台的秒杀系统设计.doc
资源推荐
资源详情
资源评论
I
基于微信平台的秒杀系统设计
摘要 随着互联网的普及,人们通过网络或者社交软件来抢购商品。甚至很多主播,也会在自己
的平台上直播带货。商家通过举办促销活动,来提高品牌的知名度,缓解库存积压的状况。基于
这种情况,可见开发一个秒杀系统是非常有必要的。
本文设计了一套秒杀系统,本系统是基于 Java 语言进行开发的,并且使用了缓存,来对数
据处理做优化。通过对业务需求进行分析,提供了商品展示,订单处理,秒杀商品等功能模块。
该系统能够解决秒杀场景中存在的并发流量过大,导致数据丢失、系统崩溃的问题。最后经过测
试,将并发的 QPS 值降到了理想范围,证实了本系统的可靠性。
关键词 高并发 秒杀系统 分布式
Design of second kill system based on WeChat platform
Abstract With the popularity of the Internet, people use the Internet or social software to snap
up goods.Even a lot of anchors will broadcast live on their own platforms. Through the
promotion activities, merchants can improve the brand awareness and relieve the inventory
backlog.Based on this situation, it can be seen that the development of a kill system is very
necessary.
This paper designs a set of seconds kill system.SpringBoot framework, Mysql database
and cache are adopted to optimize data processing.Through the analysis of business
requirements, we provide commodity display, order processing, seconds kill commodity and
other functional modules.The scheme can solve the problem of data loss and system crash
caused by excessive concurrent traffic in the scene of seckilling.Finally, Reduce the concurrent
QPS value to the desired range ,the feasibility of the scheme is proved by testing and practice.
Key words High Concurrency Seconds kill System Distribute
I
目 录
引言 ...................................................................................1
1 系统相关的知识及技术介绍 .............................................................2
1.1 框架概述 .......................................................................2
1.1.1 Spring Boot 框架 ............................................................2
1.1.2 Spring 概述 ................................................................2
1.2 Mybatis 概述 ...................................................................2
1.3 Thymeleaf 概述 ..................................................................2
1.4 RabbitMQ 概述 ..................................................................2
2 系统设计的可行性分析和需求分析 .......................................................3
2.1 可行性分析 .....................................................................3
2.1.1 技术可行性 .................................................................3
2.1.2 经济可行性 .................................................................3
2.1.3 社会可行性 .................................................................3
2.2 需求分析 ........................................................................3
2.2.1 商品列表展示需求分析 .......................................................3
2.2.2 商品购买需求分析 ...........................................................3
2.2.3 订单详情需求分析 ...........................................................4
3 系统的概要设计 .......................................................................4
3.1 系统的组成和优化 ................................................................4
3.2 系统业务功能模块设计 ............................................................5
3.2.1 商品浏览功能模块设计 .......................................................5
3.2.2 秒杀功能模块设计 ...........................................................5
3.2.3 订单查询模块设计 ...........................................................6
3.3 数据库设计 .....................................................................6
3.3.1 数据库的选择 ...............................................................6
3.3.2 数据库表的设计 .............................................................6
4 系统的实现和测试 .....................................................................7
II
4.1 系统的开发环境和平台 ............................................................7
4.2 关键技术的实现 .................................................................8
4.2.1 秒杀系统核心业务分析 .......................................................8
4.2.2 秒杀系统登录功能 ..........................................................10
4.2.3 分布式 session 管理用户 ....................................................11
4.2.4 商品详情展示功能实现 ......................................................11
4.2.5 秒杀订单功能 ..............................................................11
4.2.6 商品详情页功能实现 ........................................................12
4.3 系统测试目的与意义 ............................................................12
4.4 系统统运行测试 ................................................................13
4.5 Jmeter 压测 ....................................................................14
结 论 ................................................................................14
参考文献: ............................................................................16
致 谢 ................................................................................17
剩余17页未读,继续阅读
资源评论
南抖北快东卫
- 粉丝: 72
- 资源: 5584
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功