Apr 20th, 2011, 02:35 PM
Has multi-store support been discussed? [Not cross-store]
Has any thought been given to multi-store support within Spring Data (or core Spring)?
e.g. You could specify >1 persistence stores for your repository and have options like: synchronously persist to all, sync persist to 1st - asynch to rest, etc.
Situations where this could be useful:
a) Primary database is NoSQL, with a relational backup (or vice-versa)
b) Offloading reads to a NoSQL db, but keep same integrity as the relational db (if using synchronous persistence to all).
c) Ability to use multiple NoSQL (or relational) databases concurrently, and use each for what they do best.
Relational databases still have more tools readily available for reporting, people can query them more readily since everyone knows SQL, etc.
At the same time, the potential performance gains of NoSQL dbs are very intriguing, and maintenance sounds easier.
Having something like the above would really help the transition, and could give everyone what they want.
Just a thought. Please forgive me if I've missed something.