New to Rails 3? Check out the Ruby on Rails 3 Tutorial book and screencast.

A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more.

DataFabric: Easy Multiple DB Sharding Support for ActiveRecord

In Deployment, Enterprise


FiveRuns has released a library called DataFabric as an open source project on Github (with a MIT-esque license). DataFabric provides "flexible database connection switching" for ActiveRecord models, which permits easy replication-access and sharding support. DataFabric can be quickly installed with a simple gem install data_fabric

Rick Olson's Masochism is a pre-existing library that provides the multiple connection feature to AR already, but DataFabric builds on that by also providing support for sharding with a simple control method.

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

One Comment Response to “DataFabric: Easy Multiple DB Sharding Support for ActiveRecord”

  1. #1
    Adwords Content Network Says:

    Hmmm, I see the link doesn't work any more, and this is a post from 1 1/2 years ago, which is an eternity in the internet world. Any ideas as to what happened here? I tried googling DataFabric and found the following link

Leave a Reply