From 38e634b736394804d3dc8768e14f4338bba8c3a1 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 12 Sep 2012 21:39:09 +0900 Subject: [PATCH] Update README.rst --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index 82d0505..f2947e4 100644 --- a/README.rst +++ b/README.rst @@ -228,6 +228,15 @@ SSL/SPDY proxy mode, use ``--spdy-proxy`` option. It also supports configuration file. See ``--conf`` option and sample configuration file ``shrpx.conf.sample``. +We briefly describe the architecture of ``shrpx`` here. It has a +dedicated thread which listens on server sockets. When it accepted +the incoming connection, it passes the file descriptor of the incoming +connection to one of the worker thread. Each worker thread has its +own event loop and can handle many connections using non-blocking I/O. +The number of worker thread can be specified using the command-line +option. The `libevent `_ is used to handle +low-level network I/O. + Here is the command-line options:: $ src/shrpx -h