Jelajahi Sumber

Update readme to reflect the new tests.

Jing Yang 5 tahun lalu
induk
melakukan
65f643b959
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      README.md

+ 4 - 3
README.md

@@ -53,7 +53,8 @@ from the queue and delegating the request to a set of workers. Each worker looks
 right server, and calls the server. Workers also decides if the request should be dropped or delayed.
 right server, and calls the server. Workers also decides if the request should be dropped or delayed.
 
 
 ## Latency
 ## Latency
-On average, each RPC takes about 60ms to travel through the network.
+On average, each RPC takes about 40ms to travel through the network.
 
 
-For unknown reasons, this implementation is only half as fast as the Go version, in the scenario where there is only one
-client which sends millions of requests. Adding more clients that behaves similarly does not decrease performance.
+This implementation is only half as fast as the Go version, in the scenario where there is only one client which sends
+millions of requests. About 2/3 of the latency is caused by context switching into the network thread pool and then the
+server thread pool.