Latency and fault tolerance library