January 3rd, 2005

animated bunneh icon
  • burr86

FAQ74 (https://www.livejournal.com/support/faq/74.html) | express lane

FAQ74 refers to the "paid servers", which LiveJournal no longer has; this FAQ was hidden a long time ago because it was lame to continue to advertise something that doesn't exist.

now that we have a similar replacement, let's bring this FAQ back and re-write it to discuss the paid user "express lane". information about this is available at http://www.livejournal.com/community/paidmembers/13583.html

whenever a new web request comes in, it goes into one of 2 queues at the load-balancer (perlbal) -- paid users or free users. whenever a web node becomes available to handle a new page request, it takes the next one from one of the queues. but it will ONLY take from the free queue if the paid queue is completely empty. at peak times (or when databases suck, etc) paid users always get high-priority.

whitaker's working on adding support to xcolibur and dystopia, so that when paid users view-source, they see something like "<!-- LiveJournal ExpressLane: You received this page before 123 free users, saving approximately 3 seconds! -->"

the thing is, though, this FAQ needs to be written in such a way that won't make free users think they'll be waiting for a really long time (since pages are still processed relatively quickly), but will make paid users see that they are benefiting ('cause they are).

anyone wanna try their hand at writing a FAQ? please? :)
_support, support, bunneh
  • jc

Draft rewrite of FAQ 74 - "express lane" gubbins

Edit 23:50: Oh shit, forgot to mention the nifty new feature that's waiting to be committed. Writing an additional paragraph on it now.
Edit 23:54: Added second-to-last paragraph, yay.
Edit 00:06: Few minor edits suggested by whitaker.
Edit 00:25: Reworded the last paragraph thanks to whitaker. Go whitaker!

Okay, answered the call of teh abe and came up with this. Feedback please?
    FAQ title: What is the "express lane"? What benefit does it offer?

    Even with more than two million active members, it can sometimes be hard to imagine that a web site such as LiveJournal.com serves up tens of millions of dynamically-generated pages each day, let alone that it is capable of doing this. The way in which LiveJournal does this relies partly on a technique called "load balancing", where your request is sent to one of dozens of different web servers depending on which server is the least busy at the time.

    During times of heavy site load, LiveJournal's web servers frequently become too busy to accept new requests, and this creates a queue of requests on the load balancers. New requests are added to the back of the queue, and requests at the front of the queue are passed to the next available web server.

    One of the benefits afforded to paid accounts (http://www.livejournal.com/support/faqbrowse.bml?faqid=21) is a place on the "express lane". This means that when logged into a paid account, requests for LiveJournal pages are automatically added to a secondary queue at the front of the main queue. As a result, those requests in the secondary queue are passed to web servers faster, effectively giving paid accounts priority access to the site.

    As a convenience, paid accounts are afforded the ability to see, on each page loaded, how much time was saved as a result of the express lane. To do this, view the HTML source code of the LiveJournal page you just accessed; if you are unsure of how to do this, consult your browser's documentation. Near the top of the source code, you will see a comment indicating how much time was saved, like this:

    <!-- LiveJournal ExpressLane: You received this page before 1234 free users, saving approximately 3 seconds! -->

    LiveJournal's main priority as a service is to offer all users, free and paid alike, fast and uninterrupted access to the site at all times. The web servers used to process these millions of requests are fast and numerous enough to ensure that this goal is maintained as much as possible; however, like any service, LiveJournal will encounter unavoidable periods of heavy site load. The aim of the express lane is simply to reduce the negative effect these peak times have on our paid users.
The end.