Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[wip]Feature/backend/index sharding part1 #747
Currently an index is created per user, it's not a scalable design for elasticsearch and we must distribute differently data in index store.
We use a property User.shard_id to allocate many user per index and filter strictly per user_id when querying these indices.