All Projects → HMDOBO → Goods Seckill

HMDOBO / Goods Seckill

Licence: apache-2.0
高性能电商秒杀解决方案,redis预减库存,消息队列异步下单,订单防重,订单防刷,秒杀接口地址隐藏,数学公式验证码

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Goods Seckill

Meetingfilm
基于微服务架构的在线电影购票平台
Stars: ✭ 149 (+144.26%)
Mutual labels:  mysql, redis, spring-boot
Xboot
基于Spring Boot 2.x的一站式前后端分离快速开发平台XBoot 微信小程序+Uniapp 前端:Vue+iView Admin 后端:Spring Boot 2.x/Spring Security/JWT/JPA+Mybatis-Plus/Redis/Elasticsearch/Activiti 分布式限流/同步锁/验证码/SnowFlake雪花算法ID 动态权限 数据权限 工作流 代码生成 定时任务 社交账号 短信登录 单点登录 OAuth2开放平台 客服机器人 数据大屏 暗黑模式
Stars: ✭ 3,432 (+5526.23%)
Mutual labels:  mysql, redis, spring-boot
Netease Cloud Music Community
参照网易云音乐云村做的一个小程序社区,后端技术栈为Java,SpringBoot,MySQL,Redis,前端技术栈为uni-app。欢迎吐槽。
Stars: ✭ 157 (+157.38%)
Mutual labels:  mysql, redis, spring-boot
Seckill
Spring Boot+MySQL+Redis+RabbitMQ的高性能高并发商品秒杀系统设计与优化
Stars: ✭ 103 (+68.85%)
Mutual labels:  mysql, redis, spring-boot
Taroco
整合Nacos、Spring Cloud Alibaba,提供了一系列starter组件, 同时提供服务治理、服务监控、OAuth2权限认证,支持服务降级/熔断、服务权重,前端采用vue+elementUI+webpack,可以很好的解决转向Spring Cloud的一系列问题。
Stars: ✭ 545 (+793.44%)
Mutual labels:  mysql, redis, spring-boot
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (+70.49%)
Mutual labels:  mysql, redis, spring-boot
Spring Boot Demo
Spring Boot & Spring Cloud & Spring Security Demo Case(Spring学习示例实战项目)
Stars: ✭ 255 (+318.03%)
Mutual labels:  mysql, redis, spring-boot
Dice
前后端分离Blog系统,采用Nuxt、Vue 2.x 和 SpringBoot 全家桶。
Stars: ✭ 222 (+263.93%)
Mutual labels:  mysql, redis, spring-boot
Shirojwt
API SpringBoot + Shiro + Java-Jwt + Redis(Jedis)
Stars: ✭ 503 (+724.59%)
Mutual labels:  mysql, redis, spring-boot
Cookbook
🎉🎉🎉JAVA高级架构师技术栈==任何技能通过 “刻意练习” 都可以达到融会贯通的境界,就像烹饪一样,这里有一份JAVA开发技术手册,只需要增加自己练习的次数。🏃🏃🏃
Stars: ✭ 428 (+601.64%)
Mutual labels:  mysql, redis, spring-boot
Web Development Interview With Java
Java 开发相关技术栈(大中厂)高频面试问题收录。
Stars: ✭ 69 (+13.11%)
Mutual labels:  mysql, redis, spring-boot
Springbootunity
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+1285.25%)
Mutual labels:  mysql, redis, spring-boot
Spring Boot Leaning
Spring Boot 2.X 最全课程代码
Stars: ✭ 2,008 (+3191.8%)
Mutual labels:  redis, spring-boot, activemq
Mall
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Stars: ✭ 54,797 (+89731.15%)
Mutual labels:  mysql, redis, spring-boot
Dokit
基于 Spring Boot2、 Jpa、 Spring Security、JWT、redis、Vue的前后端分离的后台管理系统开发平台, 用户管理、菜单管理、角色管理、字典管理、权限控制的方式为RBAC,操作日志、异常日志、接口限流、项目支持数据权限管理,支持一键生成前后端代码(支持在线预览及打包下载),支持前端菜单动态路由 可一键部署服务器应用,数据库。系统中活跃用户状态监控,监视当前系统CPU、内存、磁盘、堆栈等相关信息,基于Element UI在线表单设计及生成Vue代码。
Stars: ✭ 348 (+470.49%)
Mutual labels:  mysql, redis, spring-boot
Smartsql
SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
Stars: ✭ 775 (+1170.49%)
Mutual labels:  mysql, redis, high-performance
Javaok
必看!java后端,亮剑诛仙。java发展路线技术要点。
Stars: ✭ 867 (+1321.31%)
Mutual labels:  mysql, redis, spring-boot
Socket Io
基于Hyperf微服务协程框架开发的sokcet-io分布式系统
Stars: ✭ 38 (-37.7%)
Mutual labels:  mysql, redis
Docs4dev
后端开发常用框架文档及中文翻译,包含 Spring 系列文档(Spring, Spring Boot, Spring Cloud, Spring Security, Spring Session),大数据(Apache Hive, HBase, Apache Flume),日志(Log4j2, Logback),Http Server(NGINX,Apache),Python,数据库(OpenTSDB,MySQL,PostgreSQL)等最新官方文档以及对应的中文翻译。
Stars: ✭ 974 (+1496.72%)
Mutual labels:  mysql, spring-boot
Spring Boot
spring-boot 项目实践总结
Stars: ✭ 989 (+1521.31%)
Mutual labels:  redis, spring-boot

goods-seckill

高性能电商秒杀解决方案

秒杀的特点

  • 大量用户在秒杀时间点发起购买请求,造成网站流量瞬间激增;
  • 秒杀的商品一般库存较少,只有少数用户能够购买,要控制好库存,防止超卖;
  • 整个系统关键在于支撑短时间内的高并发,降低数据库压力,业务和普通商品购买区别不大

秒杀系统性能瓶颈在于数据库无法处理并发访问

性能优化的关键在于数据库

思路:

  • 加缓存,减少数据库访问
  • 消息排队,并发缓冲
  • 异步下单,增强用户体验
  • 客户端轮询,判断是否抢购成功

对于项目部署架构的优化思路

多个服务器部署Tomcat,Nginx实现负载均衡,nginx高可用使用keepalived,一般百万级别并发的网站,这种架构足够了。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].