How do you use twitter?

How does Twitter use Unicorn to handle 'low client' requests?

  • I read the article 'unicorn power' at http://engineering.twitter.com/2010/03/unicorn-power.html  yesterday. I wonder to know how twitter handle 'low client' request with unicorn? Because unicorn doesn't supoort 'low client' request and twitter have many requests form 'low client'(like cell phone with gprs). Thanks!

  • Answer:

    There's much debate if Rainbows helps at all when Apache and nginx have output buffering built in for slow clients. The real disadvantage Apache and Nginx have when acting as a proxy is that they connect to the backend worker before the client has finished sending all of the headers for it's request. When you're dealing with a resource constrained system, consuming the worker prematurely can cause issues. HAProxy doesn't do this, and nor does Twitter's internal system for answering requests, TFE.

John Adams at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.