Trading Latency for Performance in Data-Intensive Applications