Banzai+Tatoo: Using cutting-edge parsers for implementing high-performance servers

  • Authors:
  • Julien Cervelle;Rémi Forax;Gautier Loyauté;Gilles Roussel

  • Affiliations:
  • Université Paris-Est, Laboratoire dAlgorithmique, Complexité et Logique, 94010 Créteil cedex, France;Université Paris-Est, Laboratoire dInformatique Gaspard-Monge, CNRS UMR-8049, 77454 Marne-la-Vallée cedex 2, France;Université Paris-Est, Laboratoire dInformatique Gaspard-Monge, CNRS UMR-8049, 77454 Marne-la-Vallée cedex 2, France;Université Paris-Est, Laboratoire dInformatique Gaspard-Monge, CNRS UMR-8049, 77454 Marne-la-Vallée cedex 2, France

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.