Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'd take a look at <a href="http://www.highscalability.com" rel="nofollow noreferrer">http://www.highscalability.com</a> and look at case studies of how to go about scaling your application to larger and larger loads. In particular search there for Brad Fitzpatrick's description of how he scaled LiveJournal and Danga Interactive (eg, <a href="http://www.danga.com/words/2005_oscon/oscon-2005.pdf" rel="nofollow noreferrer">this 2005 presentation</a>).</p> <p>Your intuition about the database being the first bottleneck and then the web server is probably correct, but of course you need to measure.</p> <p>The major ways to scale your site will involve clustering and caching and database sharding and so on. The choice of programming language is secondary, and generally affects the raw performance on each box. See Henderson's <a href="http://oreilly.com/catalog/9780596102357" rel="nofollow noreferrer">Building Scalable Web Sites</a> and Schlossnagle's <a href="http://rads.stackoverflow.com/amzn/click/067232699X" rel="nofollow noreferrer">Scalable Internet Architectures</a> for other ideas and background in this area.</p> <p>Having said that, a functional language may help to improve your overall scalability. <a href="http://www.artima.com/scalazine/articles/twitter_on_scala.html" rel="nofollow noreferrer">Twitter used Scala</a> to improve back end performance. Scala is a JVM language that combines object-oriented and functional styles, supports the Actors concurrency model, and runs at nearly the speed of Java (Martin Odersky, the creator of Scala, also wrote the current Sun Java compiler). So if you should run into a concurrency bottleneck you might want to sprinkle a bit of Scala in with your Java.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload