摘要
传统余票库存查询系统以内存数据库或嵌入式数据库作为缓存系统,在高并发与密集计算环境中,读取性能很难满足需求。设计一种高性能库存缓存系统,利用内存映射文件技术,消除进程间通信消耗,减少数据拷贝,避免读写操作互锁,从而大幅提高缓存读取性能。实验表明,该方法在并发读取效率上提升了两个数量级以上。
Traditional balance inventory query system uses memory database or embedded database as cache system.In high concurrent and intensive computing environment,the reading performance is difficult to meet the demand.A high-performance inventory caching system is designed,which uses memory mapping file technology to eliminate communication consumption between processes,reduce data copy and avoid interlocking between read and write operations,thus greatly improving the cache reading performance.Experiments show that this method improves the concurrent reading efficiency by more than two orders of magnitude.
作者
黄向平
彭明田
杨永凯
Huang Xiangping;Peng Mingtian;Yang Yongkai(TravelSky Technology Limited,Beijing 101318,China;Key Laboratory of Intelligent Passenger Service of Civil Aviation,Beijing 101318,China)
出处
《电子技术应用》
2020年第7期113-117,126,共6页
Application of Electronic Technique
基金
国家核高基课题(2014ZX010450101)
国家发改委2014年云计算工程项目(发改办高技[2014]1799号)。