4 ms·
You can hide latency with sufficient parallelism. Since read requests are trivially parallelizable, as long as your database queries are mostly reads the databa
by tylerhou 5y ago
You can hide latency with sufficient parallelism. Since read requests are trivially parallelizable, as long as your database queries are mostly reads the database latency is probably not the limiting factor for throughput.
(Even if your C++ program processes too many requests for one replica to handle, it's not hard to round-robin to multiple database replicas.)