Sha256: 3d8894bc96220307d090b88c15187da2374b8b2e1d388242c5999674ebf755d8

Contents?: true

Size: 1.6 KB

Versions: 13

Compression:

Stored size: 1.6 KB

Contents

= Deploying \Rainbows!

== nginx proxying to \Rainbows! or Unicorn

For high-traffic applications, routing slow actions to \Rainbows! with
nginx is recommended as nginx can serve static files faster and nginx
can forward fast actions to Unicorn.

          static files
            |
      nginx |--> slow actions --> Rainbows!
            |
            `--> fast actions --> Unicorn

Be sure to set <tt>proxy_buffering off</tt> in nginx for "slow actions"
if you have Comet applications (but not for Unicorn).

== \Rainbows! only

For the daring (or low-traffic sites), you should consider deploying
\Rainbows! in a standalone configuration.  This will be more highly
recommended as \Rainbows! stabilizes, especially if static file
performance improves (or you don't need them).

You will need to do this to support things like BOSH or do real-time
processing of the request body as it is being uploaded.

In this case, haproxy or any similar (non-request-body-buffering) load
balancer should be used to balance requests between different machines.

== Denial-of-Service Concerns

Since \Rainbows! is designed to talk to slow clients with long-held
connections, it may be subject to brute force denial-of-service attacks.
In Unicorn and Mongrel, we've already enabled the "httpready" accept
filter for FreeBSD and the TCP_DEFER_ACCEPT option in Linux; but it is
still possible to build clients that work around and fool these
mechanisms.

\Rainbows! itself does not feature any explicit protection against brute
force denial-of-service attacks.  We believe this is best handled by
dedicated firewalls provided by the operating system.

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rainbows-0.91.1 DEPLOY
rainbows-0.91.0 DEPLOY
rainbows-0.90.2 DEPLOY
rainbows-0.90.1 DEPLOY
rainbows-0.90.0 DEPLOY
rainbows-0.9.0 DEPLOY
rainbows-0.8.0 DEPLOY
rainbows-0.7.0 DEPLOY
rainbows-0.6.0 DEPLOY
rainbows-0.5.0 DEPLOY
rainbows-0.4.0 DEPLOY
rainbows-0.3.0 DEPLOY
rainbows-0.2.0 DEPLOY