|
Valid XHTML v1.0
Author Profile
Top Authors
| Author | # |
|---|---|
![]() |
185 |
![]() |
149 |
Anonymous User
![]() |
49 |
Kimberly Hieber
![]() |
27 |
![]() |
26 |
![]() |
20 |
Note: some conversations may be proxied or secured, thereby causing # differences
Subscribe
No Conversations ... start one
No Conversations ... start one
Tags
Popular
|
|
Distributing MySQL
by Eric Larson on 2008-05-20 08:26 PM read 320 times |
In looking at how we can improve performance, the idea is to upgrade our deployment configuration to include a more distributed model. This essentially uses proxies to balance the load and help with global caching. Likewise, we would like to implement a more distributed model in our database configuration.
The first logical step is to use a master/slave configuration on a dedicated box. The question then is how Rails handles utilizing the correct database connection for reads and writes. There are current two basic plugins for doing this:
The first is Masochism (http://ar-code.svn.engineyard.com/plugins/masochism/README). This makes an effort to do all reads from a production database and utilizing a master for writes and replicating to the slaves. The other is the Mysql Replication Adapter (http://blog.rapleaf.com/dev/?p=5). This is a very similar system with the one deficiency being it is MySQL only.
I did not find an concensus on either plugin regarding what is the best way usage. In both cases, it seems like we will need to reevaluate our deployment strategies to move beyond simply updating SVN.
No current tags
1 Reply
|
Log In to Reply |
Log In to Copy |
Tell a Friend
|
Trackback URL: http://www.kalivo.com/trackback/994-distributing-mysql
|
|
re: Distributing MySQL
by Mike Roeder on 2008-05-21 07:02 PM read 110 times |
and:
http://agilewebdevelopment.com/plugins/seamless_database_pool
No current tags
Log In to Reply |
Log In to Copy |
Tell a Friend
|
Trackback URL: http://www.kalivo.com/trackback/996-re-distributing-mysql
