کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
433442 | 1441711 | 2012 | 16 صفحه PDF | دانلود رایگان |

This paper presents how the Tatoo parser generator enables the implementation of Java high-performance servers using the Banzai generic server shell. The performance of these servers relies on the ability of Tatoo to produce push non-blocking parsers with a fixed memory footprint during parsing and on the generic and efficient server architecture of Banzai. This approach reconciles the use of formally defined grammars for protocol parsing and the efficiency of the implementation. We argue that the use of the formal grammars simplifies the implementation of the protocol and we show that an HTTP server built using the Banzai+Tatoo is as efficient as several existing specially tuned high-performance HTTP servers.
Research highlights
► Java high-performance server implementation framework is presented.
► This framework allows mixed binary and text protocols.
► Implemented using Java non-blocking IO and pooled multi-threading for performances.
► The protocol is formally specified using context-free grammars in the EBNF format.
► This approach combines efficiency and high-level implementation.
Journal: Science of Computer Programming - Volume 77, Issue 9, 1 August 2012, Pages 990–1005