计算机与现代化 ›› 2013, Vol. 1 ›› Issue (3): 89-91.doi:

• 数据库与数据挖掘 • 上一篇    下一篇

移动互联网中异步数据库交互设计与优化

张庆林,陈跃芳   

  1. 中国传媒大学,北京100024
  • 收稿日期:2013-01-16 修回日期:1900-01-01 出版日期:2013-04-03 发布日期:2013-04-03

Design and Optimization of Mobile Internet Asynchronous Interactive Database

ZHANG Qing-lin, CHEN Yue-fang   

  1. Communication University of China, Beijing 100024, China
  • Received:2013-01-16 Revised:1900-01-01 Online:2013-04-03 Published:2013-04-03

摘要: 移动互联网游戏中存在数据库交互压力不平均,峰值过大使得数据库读写效率变低的问题,为此本文提出几种设计思路,采用异步交互、缓存等方式,并根据游戏的特点使用哈希队列进一步降低对数据库的写入操作,异步交互熨平了数据库的读写峰值,缓存技术提高了数据的读写速度,哈希队列的方式有效减少了对数据库的写操作,从而使得海量用户在使用移动终端访问数据库时可以得到快速稳定的服务。

关键词: 移动互联网, 异步, 数据库, 哈希

Abstract: The database pressure of mobile Internet game interaction is not average, the peak is too large makes the problem of low efficiency of the database to read and write. Several design ideas: asynchronous interaction, cache, and according to the characteristics of the game to further reduce the hash queuewrite operations on the database, asynchronous interaction screed peak of the database to read and write, cache technology to increase the speed of read and write data, hash queues effective way to reduce the database write operation, allowing the mass users in the use of mobileterminal access to the database have a fast and stable service.

Key words: mobile Internet, asynchronous, database, Hash