doi: 10.4304/jsw.9.10.2579-2585
Event-Driven Extraction of HTTP Payload From Concurrent Streams
2University of Chinese Academy of Sciences, Beijing 100190, China
Abstract—Many network devices undertake tasks that involve extracting HTTP payload from a large 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 the 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 saves one memory copy compared to naive static parsing method. Test results show that our method achieves better performance in terms of CPU and memory consumption.
Index Terms—HTTP response, chunked encoding, extended finite state machine
Cite: Mingzhe Li, Jinlin Wang, Xiao Chen, Jun Chen, "Event-Driven Extraction of HTTP Payload From Concurrent Streams," Journal of Software vol. 9, no. 10, pp. 2579-2585, 2014.
General Information
ISSN: 1796-217X (Online)
Abbreviated Title: J. Softw.
Frequency: Quarterly
APC: 500USD
DOI: 10.17706/JSW
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Cecilia Xie
Abstracting/ Indexing: DBLP, EBSCO,
CNKI, Google Scholar, ProQuest,
INSPEC(IET), ULRICH's Periodicals
Directory, WorldCat, etcE-mail: jsweditorialoffice@gmail.com
-
Oct 22, 2024 News!
Vol 19, No 3 has been published with online version [Click]
-
Jan 04, 2024 News!
JSW will adopt Article-by-Article Work Flow
-
Apr 01, 2024 News!
Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec) [Click]
-
Apr 01, 2024 News!
Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP [Click]
-
Jun 12, 2024 News!
Vol 19, No 2 has been published with online version [Click]