Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Rails and Scaling with Multiple Databases. Ryan Tomayko explains how his team spreads a high traffic Rails application across five separate PostgreSQL databases by giving each client their own schema—similar to how WordPress MU scales.

Tagged , , , ,

3 comments

  1. I should clarify that the site is probably not best described as being "high-traffic". We have a smallish number of users (muuuch smaller than twitter) but we're crunching a lot of data on the back-end - sometimes tens of thousands of records per request. The pattern of load this creates is undoubtedly much different than a high traffic site but still interesting I hope.

    Ryan Tomayko - 14th April 2007 02:51 - #

  2. By the way, do you have a pointer to literature on the WordPress MU scheme? I'd love to take a look at it.

    Ryan Tomayko - 14th April 2007 02:53 - #

  3. Here's all I could find: http://photomatt.net/2006/03/01/wordpress-and-lyce um/

    You can also grab the code from http://mu.wordpress.org/ and test install it somewhere - installation is pretty painless.

    Simon Willison - 14th April 2007 09:07 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site