Seckill
🔥🔥🔥 基于 SpringBoot+Mybatis+Redis+RabbitMQ 秒杀系统
Install / Use
/learn @hfbin/SeckillREADME
基于 SpringBoot+Mybatis+Redis+RabbitMQ 秒杀系统
友情项目
📣📣📣 Libra-Platform微服务平台。基于SpringCloud & SpringCloudAlibaba & SpringBoot & Vue3开发,基于多租户SaaS模式的设计,拥有强大的用户中心(一个账号对应多业务身份),权限基于RBAC设计,支持蓝绿灰度发布、网关动态路由、服务治理(流量控制、熔断降级、系统自适应保护、服务鉴权)等功能。
地址: https://github.com/hfbin/LibraPlatform
项目启动说明
1、启动前,请配置 application.properties 中相关redis、mysql、rabbitmq(需要提前创建好队列,队列名称:seckill.queue)地址。
2、登录地址:http://localhost:8888/page/login
3、商品秒杀列表地址:http://localhost:8888/goods/list
其它说明
1、数据库共有一千个用户左右(手机号:从18077200000~18077200998 密码为:123456),为压测准备的。(使用 cn.hfbin.seckill.util.UserUtil.java该类生成的,生成token做压测也是在此类里面)
2、此项目共有两个分支,master分支只是完成了秒杀的所有业务逻辑功能,并没有优化。V2.0分支做了优化如下:
1)、页面缓存、商品详情静态化、订单静态化(感兴趣可以把所有页面都做静态化)
2)、加入消息队列RabbitMQ,对秒杀接口进行优化。
3)、隐藏秒杀接口地址
4)、接口限流防刷
5)、解决超卖问题
页面截图
登录页
商品列表情页
商品详情页
订单详情页

Related Skills
node-connect
328.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
80.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
328.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
80.9kCommit, push, and open a PR
