Skip to main content
Other
Flux: A Language for Programming High-Performance Servers
Computer Science Department Faculty Publication Series
  • Brendan Burns, University of Massachusetts - Amherst
  • Kevin Grimaldi, University of Massachusetts - Amherst
  • Alexander Kostadinov, University of Massachusetts - Amherst
  • Emery D. Berger, University of Massachusetts - Amherst
  • Mark D. Corner, University of Massachusetts - Amherst
Publication Date
2006
Disciplines
Comments
This paper was harvested from CiteSeer
Abstract

Programming high-performance server applications is challenging: it is both complicated and error-prone to write the concurrent code required to deliver high performance and scalability. Server performance bottlenecks are difficult to identify and correct. Finally, it is difficult to predict server performance prior to deployment. This paper presents Flux, a language that dramatically simplifies the construction of scalable high-performance server applications. Flux lets programmers compose offthe- shelf, sequential C or C++ functions into concurrent servers. Flux programs are type-checked and guaranteed to be deadlock-free. We have built a number of servers in Flux, including a web server with PHP support, an image-rendering server, a BitTorrent peer, and a game server. These Flux servers match or exceed the performance of their counterparts written entirely in C. By tracking hot paths through a running server, Flux simplifies the identification of performance bottlenecks. The Flux compiler also automatically generates discrete event simulators that accurately predict actual server performance under load and with different hardware resources.

Citation Information
Brendan Burns, Kevin Grimaldi, Alexander Kostadinov, Emery D. Berger, et al.. "Flux: A Language for Programming High-Performance Servers" (2006)
Available at: http://works.bepress.com/emery_berger/2/