# Plugin to scale the database

**URL:** <https://www.ruby-forum.com/t/plugin-to-scale-the-database/137457>\
**Category:** Rails\
**Created:** [May 13, 2008, 10:11am UTC](https://www.ruby-forum.com/t/plugin-to-scale-the-database/137457 "2008-05-13T10:11:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Durand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/65b543/32.png) [@Brian\_Durand](https://www.ruby-forum.com/u/Brian_Durand)\
**Post date:** [May 13, 2008, 10:11am UTC](https://www.ruby-forum.com/t/plugin-to-scale-the-database/137457/1 "2008-05-13T10:11:09Z")

</div>

If anyone’s interested, I’ve recently released the  
seamless\_database\_pool plugin which adds an adapter for using a master/  
slave database cluster with ActiveRecord. The emphasis of the code is  
to make it trivial to add to an existing Rails application. You don’t  
need to refactor your code or change how you use ActiveRecord. It can  
also ensure consistent connections for a request to eliminate those  
sinister bugs that crop up only every 1000 requests due to  
synchronization delays.

If your running into issues with scaling your database you may want to  
check it out.

[http://agilewebdevelopment.com/plugins/seamless\_database\_pool](http://agilewebdevelopment.com/plugins/seamless_database_pool)
