Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
* Rainbows and 2.0.0pre - thread safety
@ 2011-06-20 20:51 Kyle Drake
       [not found] ` <BANLkTin8_7QiUAoxmtcoePT03Cg4cdK85g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Drake @ 2011-06-20 20:51 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-20 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-20 20:51 Rainbows and 2.0.0pre - thread safety Kyle Drake
     [not found] ` <BANLkTin8_7QiUAoxmtcoePT03Cg4cdK85g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-20 21:29   ` Eric Wong

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