I sure will, Fabio. This might involve modifying the MySQL driver for NHIbernate, since I am using MySQL as my DB. I need to learn more about NHibernate, caching, sessions etc. before I can make a nice solution.
On Wed, Jun 30, 2010 at 10:06 AM, Fabio Maulo <[email protected]> wrote: > To avoid the same "problem" to somebody else I hope you will write a nice > wiki in http://nhforge.org/wikis/howtonh/default.aspx > The problem is not "Is nobody doing this ?" the problem is "Is nobody share > info about this ?" > > On Wed, Jun 30, 2010 at 11:02 AM, Aaron Boxer <[email protected]> wrote: >> >> Thanks, Ayende. I'm surprised that there is so little info out there >> on using nhibernate with master-slave database configurations. >> Is nobody doing this? >> >> >> On Wed, Jun 30, 2010 at 4:16 AM, Ayende Rahien <[email protected]> wrote: >> > Although, considering your other questions, I would say that there is a >> > need >> > to take a bigger look at what exactly you are doing. >> > >> > On Wed, Jun 30, 2010 at 11:15 AM, Ayende Rahien <[email protected]> >> > wrote: >> >> >> >> Shouldn't be >> >> >> >> On Tue, Jun 29, 2010 at 6:19 PM, Jorge <[email protected]> wrote: >> >>> >> >>> Thanks, Would this be a big job? >> >>> >> >>> On Jun 29, 10:59 am, Ayende Rahien <[email protected]> wrote: >> >>> > I guess that you can write a custom connection factory and a custom >> >>> > batcher, >> >>> > which will let you do that. >> >>> > >> >>> > On Tue, Jun 29, 2010 at 5:50 PM, Jorge <[email protected]> wrote: >> >>> > > I would like to connect NHibernate to a fault tolerant, >> >>> > > master-slave >> >>> > > db configuration. >> >>> > > Is it possible to split the reads and write so that writes to go >> >>> > > the >> >>> > > master db, and reads >> >>> > > go to the slaves? >> >>> > >> >>> > > Thanks! >> >> >> > >> > > > > > -- > Fabio Maulo > >
