summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes <johtso@gmail.com>2011-11-22 15:54:15 +0000
committerJohannes <johtso@gmail.com>2011-11-22 15:54:15 +0000
commit3fa7af52ba0c8847eeed8944c6f1f711e71d60d3 (patch)
tree41c4f8a0a5cda5a4e4e5863b00b5f673bc970b7f
parentf8ef7884c2d73534989d9e050c8231b4eed56555 (diff)
downloadbottle-3fa7af52ba0c8847eeed8944c6f1f711e71d60d3.tar.gz
Fix heading grammar
-rw-r--r--docs/async.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/async.rst b/docs/async.rst
index 522e63e..e991d35 100644
--- a/docs/async.rst
+++ b/docs/async.rst
@@ -12,7 +12,7 @@ Simple enough, but there is a snag: All this happens synchronously. If your appl
Most servers limit the number of threads to avoid their relatively high overhead. Pools of 20 or less threads are common. As soon as all threads are occupied, any new connection is stalled. The server is effectively dead for everyone else. If you want to implement a chat that uses long-polling ajax requests to get real-time updates, you'd reach the limited at 20 concurrent connections. That's a pretty small chat.
-Greenlets for the rescue
+Greenlets to the rescue
------------------------
Most servers limit the size of their worker pools to a relatively low number of concurrent threads, due to the high overhead involved in switching between and creating new threads. While threads are cheap compared to processes (forks), they are still expensive to create for each new connection.