期刊文献+

基于MongoDb的分布式高并发日志系统的设计 被引量:1

Design of Distributed and High Concurrency Log System Based on MongoDb
在线阅读 下载PDF
导出
摘要 日志系统是一个完整信息系统的重要组成部分,海量的日志信息一方面可以挖掘出用户的通用行为模式,提高系统的服务质量,另一方面还为系统优化,系统结构调整提供了依据,在面对高并发量的系统访问时,及时准确的收集日志成了日志分析的关键,传统日志信息的记录与业务系统代码交织,耦合过高,日志的记录因占用系统的资源进而影响正常业务系统的运行。为了改善这一现状,本文提出了一种与原业务系统零耦合的新设计方式,该方式从网络请求的负载均衡、分布式集群服务、服务中的多线程处理、和非关系型数据库MongoDb的分片拓展四个维度展开,实现了一套异步、分布、并行处理的日志记录系统,后经千万级数据量的压测,从系统吞吐能力,系统内存占用情况等多个方面证实了设计的可行性与强稳定性。 Logging system is an important part of a complete information system. On one hand, massive log information can dig out the common behavior patterns of users to improve service quality;on the other hand, it provides a theoretical basis for system optimization and system structural adjust-ment. When faced with a high concurrency value system access, timely and accurate collection logs are the key for log analysis. Traditional log records of information have a high coupling with busi-ness system code. It affects normal business systems because of taking up system resources. In order to improve this situation, this paper presents a new design way which has zero coupling with an original business system. The way realizes a asynchronous, distributed, parallel pro- cessing log records by four parts, which are network request load balancing, distributed cluster services, services in the multi thread processing, and non relational database MongoDb shard expand. We confirmed the feasibility of the design and strong stability by analysised system memory usage and system throughput capacity after tens of millions of data compression test.
作者 倪时龙 林振天 蔡清远 谢海强 李汝佳 Shilong Ni;Zhentian Lin;Qingyuan Cai;Haiqiang Xie;Rujia Li(FuJian Yirong Information Technology Co., Ltd., Fuzhou;State Grid Electric Power Research Institute, Nanjing)
出处 《计算机科学与应用》 2014年第11期262-268,共7页 Computer Science and Application
关键词 分布式 高并发 大数据量 日志系统 Distributed High Concurrency Large Amounts of Data Log System
  • 相关文献

参考文献8

二级参考文献43

  • 1肖珑,张春红,廖三三.数字图书馆门户的构建与服务[J].大学图书馆学报,2007,25(4):41-48. 被引量:39
  • 2刘中兵Java研究室.Java Web核心框架Struts1+Struts2+Spring+Hibernate+iBatis[M].北京:电子工业出版社,2009.
  • 3拉夫利.精通Struts2 Web2.0开发实战[M].李进华,等译.北京:人民邮电出版社,2009.
  • 4埃克尔.Java编程思想(第4版)[M].陈昊鹏译.北京:机械工业出版社,2007.
  • 5Blog Java.WebWork[DB/OL].http://www.blog java.net/max/archive/2006/12/06/85925.html,2008-01-25.
  • 6Apache Software Foundation.Struts2[EB/OL].http://struts.apache.org/2.2.1/docs/interceptors.html,2010-11-08.
  • 7布洛克.Effective Java中文版[M].杨春花,俞黎敏泽.北京:机械工业出版社,2009.
  • 8凯耶尔.Java EE设计模式--Spring企业级开发最佳实践[M].张平,等译.北京:人民邮电出版社,2010.
  • 9MapReduce:SimplifiedDataProcessin- gonLargeClusters Jeffrey Dean and Sanjay Ghemawat http://labs.google.com/papers/mapre- duce-osdi04-slides/index.html.
  • 10Hadoop官方网站:http://hadoop.apache.org/.

共引文献70

同被引文献4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部