yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: yahns-public@yhbt.net
Subject: [PATCH] README: updates for kqueue
Date: Sun, 13 Dec 2015 02:37:42 +0000	[thread overview]
Message-ID: <20151213023742.24968-1-e@80x24.org> (raw)

It's been there long enough and kqueue itself hasn't changed.  In
fact, IIRC the entire design of yahns (for another server in late
2011) probably came about because of the name "kqueue"...
 README | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README b/README
index 1219a7e..56b466f 100644
--- a/README
+++ b/README
@@ -21,8 +21,8 @@ Features
 * supports streaming responses with lazy buffering for slow clients
 * optional streaming input for fast clients
 * able to host multiple applications with different settings
-* uses epoll to scale to many idle connections
-* abuses epoll as a load balancer between threads inside a process
+* uses epoll/kqueue to scale to many idle connections
+* abuses epoll/kqueue as a load balancer between threads within a process
 * optional multi-process support (in addition to threads)
 * fairly balances new clients between multiple processes (on Linux)
@@ -44,8 +44,8 @@ Supported Platforms
 yahns is developed primarily for modern GNU/Linux systems.
-We have experimental support kqueue on FreeBSD (and possibly OpenBSD and
-NetBSD).  Non-Free systems/dependencies will never be supported.
+We support kqueue on FreeBSD (and possibly OpenBSD and NetBSD).
+Non-Free systems/dependencies will never be supported.
 Supported Ruby implementations:
 * (Matz) Ruby 2.0.0 and later (we develop (and host our website) on trunk)
@@ -101,7 +101,7 @@ multiple threads.
 * two classes of long-lived, persistent threads
   1. blocking acceptors
   2. non-blocking event loop workers
-* epoll acts as a queue (by using one-shot notifications)
+* epoll (or kqueue) acts as a queue (by using one-shot notifications)
 * acceptors accept new clients and put them in the epoll "queue"
 * workers pull clients off the queue, rearming them to epoll on EAGAIN

                 reply	other threads:[~2015-12-13  2:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/yahns/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151213023742.24968-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=yahns-public@yhbt.net \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).