ReadRepos - Simple master-slave database access package for Ecto.
ReadRepos is a simple master-slave database access package for Ecto.
By using this package, you can access slave databases randomly like below:
MyApp.Entry |> MyApp.Repo.slave.all
MyApp.Entry |> MyApp.Repo.slave.get(1)
Read next The best of Rails in Phoenix (part 2)