首页    期刊浏览 2024年12月12日 星期四
登录注册

文章基本信息

  • 标题:Event-Driven Extraction of HTTP Payload From Concurrent Streams
  • 本地全文:下载
  • 作者:Li, Mingzhe ; Wang, Jinlin ; Chen, Xiao
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2014
  • 卷号:9
  • 期号:10
  • 页码:2579-2585
  • DOI:10.4304/jsw.9.10.2579-2585
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:Many network devices undertake tasks that involve extracting HTTP payload from a high concurrent number of data streams.In order to model such tasks and thus develop feasible approaches,this paper analyzes action characteristics of network byte stream reading and grammar of HTTP response message encoding.Based on this analysis, we propose a parsing algorithm for concurrent HTTP response streams,built upon stack buffer peeking operations and a extended finite state machine model.Implementation issues on parallel platforms are also studied in this paper.Our scheme is event-driven, does not require full buffering of the whole HTTP message, and reduces one memory copy compared to naive static parsing method.Test results from a Linux host show that our method achieves better performance in terms of CPU and memory consumption.
  • 关键词:HTTP response;chunked encoding;extended finite state machine
国家哲学社会科学文献中心版权所有