Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: Kyle Drake <kyledrake-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Subject: Rainbows and 2.0.0pre - thread safety
Date: Mon, 20 Jun 2011 13:51:23 -0700	[thread overview]
Message-ID: <BANLkTin8_7QiUAoxmtcoePT03Cg4cdK85g@mail.gmail.com> (raw)

Hi guys,

I've setup a load test for Rainbows with Rubinius 2.0.0pre:

https://github.com/kyledrake/rubinius-sinatra-loadtesting/tree/master/rainbows

When I load test it on 2.0.0pre (via rvm and with apache bench), it
has a lot of weird, random errors. My current hypothesis is this is a
bug pertaining to thread safety in Rubinius, but someone suggested I
post it here so you could take a look. Tried both ThreadSpawn and
ThreadPool. I also made a test for Mongrel (which has similar errors),
and Thin (which works fine, but doesn't really utilize threads so it
doesn't mean anything).

It would also be nice to know which deploy strategy would work well
for Rubinius' threading. I wasn't sure if ThreadSpawn or ThreadPool
made more sense so I tried both.

Cheers!

-Kyle
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


             reply	other threads:[~2011-06-20 21:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20 20:51 Kyle Drake [this message]
     [not found] ` <BANLkTin8_7QiUAoxmtcoePT03Cg4cdK85g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-20 21:29   ` Rainbows and 2.0.0pre - thread safety 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=BANLkTin8_7QiUAoxmtcoePT03Cg4cdK85g@mail.gmail.com \
    --to=kyledrake-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://yhbt.net/rainbows.git/

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