karupanerura / Aniki

The ORM as our great brother.
Other
34 stars 13 forks source link

multi db support #17

Open karupanerura opened 7 years ago

karupanerura commented 7 years ago
karupanerura commented 7 years ago

needs contributors

GeJ commented 7 years ago

Could you provide some hints, or some sample code on how you would like to make it work?

karupanerura commented 6 years ago

@GeJ Thank you for having interest this feature. And sorry for late reply.

I haven't yet had an idea for specific design of this feature. Because, I have too little knowledge to design the spec for the feature. (my company's use-case only) So I just need to know more use-cases about multiple (clustered/sharded) databases in an application.

if you're using multiple database, could you tell me your use-case a little specific? Or if you have an idea for this feature, could you tell me that?

karupanerura commented 6 years ago

My company's multi databases use-case is written in this book: https://www.amazon.co.jp/dp/4774151114 But, it's written in Japanese only.

Summary points for sharding/clustering following: