Explore possible solutions with application-level database sharding
Database sharding on application level is difficult task. There are some gems like https://github.com/thiagopradi/octopus and https://github.com/influitive/apartment that can help with that, but with GitLab, this would still be difficult problem to solve.
Sharding database on the application level is certainly one of the many solutions for high database loads that we can explore. Using database-level tools may be the first thing we want to look into, but we may want to explore application-level solutions as well.
This issue has been created to make it possible to keep discussion about sharding database in one place.
/cc @stanhu @pcarranza