Research indexJournal article
Compiling for concise code and efficient I/O
Ertel, Goens, Adam and 1 other
21 Feb 2018
NobleIDark:/48914/w1/20260521/80AFC9A3DOI10.1145/3178372.3179505
Compiling for concise code and efficient I/O
Ertel, Goens, Adam and 1 other · 2018 · Subscription
NobleIDark:/48914/w1/20260521/80AFC9A3DOI10.1145/3178372.3179505
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
Large infrastructures of Internet companies, such as Facebook and Twitter, are composed of several layers of micro-services. While this modularity provides scalability to the system, the I/O associated with each service request strongly impacts its performance. In this context, writing concise programs which execute I/O efficiently is especially challenging. In this paper, we introduce Ÿauhau, a novel compile-time solution. Ÿauhau reduces the number of I/O calls through rewrites on a simple expression language. To execute I/O concurrently, it lowers the expression language to a dataflow representation. Our approach can be used alongside an existing programming language, permitting the use of legacy code. We describe an implementation in the JVM and use it to evaluate our approach. Experiments show that Ÿauhau can significantly improve I/O, both in terms of the number of I/O calls and concurrent execution. Ÿauhau outperforms state-of-the-art approaches with similar goals.