Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Subject: Re: [ANN] socket_dontwait - socket methods using MSG_DONTWAIT and more
Date: Mon, 9 Aug 2010 15:44:01 -0700	[thread overview]
Message-ID: <20100809224401.GA12996@dcvr.yhbt.net> (raw)
In-Reply-To: <20100803091847.GC3255-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>

Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> This library is considered EXPERIMENTAL.  If successful, we'll see about
> getting them integrated into the standard Ruby socket library.

I've been running socket_dontwait for a few days now with real traffic
(and thus unreliable and slow clients) and haven't noticed anything
wrong.  No crashes, corrupted data, nor fires :)

In synthetic benchmarks, I've seen a ~3-4% performance improvement with
small responses (<= 4K) due to the reduction of syscalls but nothing
measurable with real traffic (which varies a lot and doesn't even come
close to saturating the machines).

Eric Wong
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Do not quote signatures (like this one) or top post when replying

  parent reply	other threads:[~2010-08-09 22:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03  9:18 Eric Wong
     [not found] ` <20100803091847.GC3255-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2010-08-09 22:44   ` Eric Wong [this message]
     [not found]     ` <20100809224401.GA12996-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2010-09-27 21:23       ` [PATCH (socket_dontwait)] README: update with support status Eric Wong

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/rainbows/

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

  git send-email \
    --in-reply-to=20100809224401.GA12996@dcvr.yhbt.net \
    --to=normalperson-rmlxzr9ms24@public.gmane.org \
    --cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org \


* 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 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).