Skip to content
yuemori edited this page Jul 31, 2016 · 14 revisions

Welcome to the activerecord-shard_for wiki!

Goal and Concept

Our goal have three concepts.

Simple

Easy and simply to setting.This idea principal take over from mixed_gauge, and activerecord-sharding.

Small

Small dependency and Small code.

pluggable

Sharding rule is adopt pluggable structer. This rule can be easy to change! (see: [Connection Router](Connection Router))

Examples

[Getting Started](Getting Started)

Adcanced

  • [Parallel Queries](Parallel Queries)
  • Callback
  • [Range Key Sharding](Range Key Sharding)
  • [Sharding with Replication](Sharding with Replication)
  • [Using Syntax](Using Syntax)
  • [Connection Router (Built-in, Plugin)](Connection Router)
  • [Distkey Support Instance Method](Distkey Support Instance Method)