unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Dylan Stamat <dstamat@elctech.com>
To: mongrel-unicorn@rubyforge.org
Subject: rainbows for sleepy/lethargic apps
Date: Mon, 16 Nov 2009 11:30:44 -0800	[thread overview]
Message-ID: <76461C1B-E671-4DA3-BED0-12F9E571125A@elctech.com> (raw)

I'm working on a project that has very bad application performance, specifically, tons of long running requests due to view and (specifically) database contention.

While I haven't tested our Unicorn setup under load yet, tweak backlog counts, etc... I'm wondering if I'd be better off giving Rainbows! a shot?
In the Rainbows! AppPool diagram, I'm having a hard time understanding the N:P relationship.  When the P threshold is met, what happens to N (the client)?

Also, with both Unicorn/Rainbows!, is there a explicit timeout number set on the clients (and how does that differ between Unicorn/Rainbows!)?
For instance, in our Nginx config, I have proxy_buffering turned on, with proxy_read_timeout and proxy_send_timeout's, set pretty high.

Lastly... ¡You rock Eric!
==
Dylan

             reply	other threads:[~2009-11-16 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 19:30 Dylan Stamat [this message]
2009-11-16 21:26 ` rainbows for sleepy/lethargic apps 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/unicorn/

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

  git send-email \
    --in-reply-to=76461C1B-E671-4DA3-BED0-12F9E571125A@elctech.com \
    --to=dstamat@elctech.com \
    --cc=mongrel-unicorn@rubyforge.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/unicorn.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).