[ANN] Rainbows! 0.96.0 - range support

Discussion in 'Ruby' started by Eric Wong, Aug 3, 2010.

  1. Eric Wong

    Eric Wong Guest

    Rainbows! is an HTTP server for sleepy Rack applications. It is based on
    Unicorn, but designed to handle applications that expect long
    request/response times and/or slow clients.

    * http://rainbows.rubyforge.org/
    *
    * git://git.bogomips.org/rainbows.git

    Changes:

    For concurrency models that use sendfile or IO.copy_stream, HTTP
    Range requests are honored when serving static files. Due to
    the lack of known use cases, multipart range responses are not
    supported.

    When serving static files with sendfile and proxying
    pipe/socket bodies, responses bodies are always properly closed
    and we have more test cases for dealing with prematurely
    disconnecting clients.

    Concurrency model specific changes:

    EventMachine, NeverBlock -
    * keepalive is now supported when proxying pipes/sockets
    * pipelining works properly when using EM::FileStreamer
    * these remain the only concurrency models _without_
    Range support (EM::FileStreamer doesn't support ranges)

    Rev, RevThreadSpawn, RevThreadPool -
    * keepalive is now supported when proxying pipes/sockets
    * pipelining works properly when using sendfile

    RevThreadPool -
    * no longer supported under 1.8, it pegs the CPU at 100%.
    Use RevThreadSpawn (or any other concurrency model) if
    you're on 1.8, or better yet, switch to 1.9.

    Revactor -
    * proxying pipes/sockets with DevFdResponse is much faster
    thanks to a new Actor-aware IO wrapper (used transparently
    with DevFdResponse)
    * sendfile support added, along with Range responses

    FiberSpawn, FiberPool, RevFiberSpawn -
    * Range responses supported when using sendfile

    ThreadPool, ThreadSpawn, WriterThreadPool, WriterThreadSpawn -
    * Range responses supported when using sendfile or
    IO.copy_stream.

    See the full git logs for a list of all changes.

    --
    Eric Wong
    Eric Wong, Aug 3, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Wong
    Replies:
    0
    Views:
    82
    Eric Wong
    Oct 5, 2009
  2. Eric Wong
    Replies:
    2
    Views:
    104
    Eric Wong
    Oct 6, 2009
  3. Eric Wong
    Replies:
    0
    Views:
    99
    Eric Wong
    Oct 15, 2009
  4. Eric Wong
    Replies:
    0
    Views:
    171
    Eric Wong
    Oct 27, 2009
  5. Eric Wong
    Replies:
    1
    Views:
    91
    Eric Wong
    Jul 10, 2010
Loading...

Share This Page