We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f58404 + 1ec2585 commit 37dd0a4Copy full SHA for 37dd0a4
2018-edition/src/ch20-02-multithreaded.md
@@ -1126,6 +1126,11 @@ overloaded if the server receives a lot of requests. If we make a request to
1126
*/sleep*, the server will be able to serve other requests by having another
1127
thread run them.
1128
1129
+Note that if you open */sleep* in multiple browser windows simultaneously, they
1130
+might load 5 seconds apart from each other, because some web browsers execute
1131
+multiple instances of the same request sequentially for caching reasons. This
1132
+limitation is not caused by our web server.
1133
+
1134
After learning about the `while let` loop in Chapter 18, you might be wondering
1135
why we didn’t write the worker thread code as shown in Listing 20-22.
1136
0 commit comments