Database sharding and Rails

前端 未结 6 1601
南方客
南方客 2021-02-02 01:35

What\'s the best way to deal with a sharded database in Rails? Should the sharding be handled at the application layer, the active record layer, the database driver layer, a pr

6条回答
  •  忘了有多久
    2021-02-02 02:04

    FiveRuns have a gem named DataFabric that does application-level sharding and master/slave replication. It might be worth checking out.

提交回复
热议问题