This paper presents Banzai a Java framework that uses the Tatoo parser generator to simplify the implementation of high-performance servers based on plain-text protocols. This approach conciliates 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 framework is as efficient as several existing ad-hoc high-performance HTTP servers. The Banzai framework relies on the ability of Tatoo to produce push non-blocking parsers with a fixed memory footprint during parsing and on a generic and efficient server architecture.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.