一种高性能抢红包系统的设计与实现  

Design and Implementation of a High Performance Red Envolope Grabbing System

在线阅读下载全文

作  者:刘磊 陈华溢 姚文辉 LIU Lei;CHEN Huayi;YAO Wenhui(Guangdong Open University(Guangdong Polytechnic Institute),Guangzhou 510091,China)

机构地区:[1]广东开放大学(广东理工职业学院),广东广州510091

出  处:《现代信息科技》2022年第14期16-20,25,共6页Modern Information Technology

基  金:广东省教育厅普通高校青年创新人才项目(2019KQNCX223);广东开放大学校级科研项目(YB1915)。

摘  要:针对抢红包系统的“短时间、高并发、高性能”需求,设计了一种解决方案,实现技术选用业界流行的SSM框架达到高扩展性,选用Bootstrap框架兼容多终端,使用Redis缓存达到高性能,使用队列应对高并发,并重点分析与设计了发红包与抢红包的流程及红包分配算法。最后,测试与应用实践表明基于内存的高性能抢红包应用设计的有效性,本方案对于解决瞬时高并发的需求有一定的参考价值。Aiming at the requirements of red envelope grabbing system of “short time,high concurrency,high performance”,this paper designs a kind of solution,realizes that the technology uses the industry popular SSM framework to achieve high scalability.It uses the Bootstrap framework which is compatible with multiple terminals,uses Redis cache to achieve high performance,uses the queue response to high concurrency,and focuses on analyzing and designing the flow and red envelope allocation algorithm of sending red envelopes and grabbing red envelopes.Finally,the test and application practice show that the effectiveness of memory-based high performance red envelope grabbing application design.This scheme has certain reference value for solving the requirements of instantaneous high concurrency.

关 键 词:抢红包系统 高性能 REDIS 原子操作 红包算法 并发限流 集群部署 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象