Search code examples
rubycometlong-pollingthin

using thin for long-polling connection


since it's threadless, would the ruby-based thin be okay?


Solution

  • to do async connections, return -1 as your response code and do some stuff with event machine deferrables.

    check out the async thin examples for more info.