KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
SeckillSystem
★ 15
Open GitHub ↗
Java 秒杀方案设计
Download README (.md)
Explore Similar Repositories
md-editor
:
自动上传图片至七牛云的md编辑器(eletron-vue项目)
dash-deep
:
Web UI for running/managing/monitoring of ML jobs
ControlPID-PositionVelocity-MotorDC
:
Position and velocity PID control of a DC motor using LabView and Arduino
SwiftMVPC
:
Swift project based on MVP (Model View Presenter) with C (Coordinators) architecture
TheViperKit
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
SeckillSystem
?
Download (.md)
# SeckillSystem Java 秒杀设计方案 ## 具体内容 对高并发高负载情形下的应用场景进行分析,以高效地处理资源竞争为目的,设计一个秒杀与抢购模型。 本项目提供了四种解决方案来比较系统的性能: 1.利用MySQL的update行锁实现悲观锁。 2.MySQL加字段version实现乐观锁。 3.使用Redis作为原子计数器(watch事务+decr操作),RabbitMQ作为消息队列记录用户抢购行为,MySQL做异步存储。 4.基于AtomicInteger的CAS机制 ## 压测图片   *** ## 实验结果 ### MySQL悲观锁    *** ### MySQL乐观锁    *** ### AtomicInteger实现CAS    *** ### Redis的watch监控    ***