Thanks chris, thats pretty much what I suspected. That circular
replication sounds useful, but we've got a competent team of systems
guys and Im sure they set up our dbms this way for a good reason. And
by the way, I already looked into transfer and it has the same
limitations which are support for only a single datasource, and the
assumption that a datasource points to a database rather than the
system.
@Doug Hughes
I created tickets in track for two features I feel would add some
flexibility to reactor to be used with more dbms configurations.
Obviously you choose the path reactor will take, so do with those
suggestions what you will. They are ticket numbers 196 and 197
respectively. Due to our current dbms configuration we won't be able
to use reactor but I hope this will change in the future. :)
> You would need an instance of Reactor for each database and dsn, so given
> your example you'd need 4 instances
> users_read
> users_write
> services_read
> services_write
>
> Because of the way Reactor works (kind of active record-ish) you couldn't
> read a record from your read dsn and save it using the write dsn.
> Record.save() will save back to wherever it was read from.
>
> You may want to look at Transfer for this as i believe (don't quote me) that
> this should be possible
>
> I doubt that helps, but hopefully it answers your question
>
> Out of interest is the read/write setup to help balance load, with the read
> mysql instance being a slave to the write? Just wondered if you'd
> considered circular replication (or master-master) that way you can
> read/write from either and just have your app balance the load between the
> two and you don't need to explicitly target your read operations at a
> particular dsn... just a thought. I've used circular replication recently
> and i got all excited about it :)
>
> Chris
>
> 2009/5/26 Brian Pickens <
brian.pick...@fccinteractive.com>