| We setup a system to handle this, but using mysql. We had a database table setup with a list of the READONLY dbs. When witango needed a DSN it would hit this code that would check the table, and cache the percentages for how often it should connect to each slave. It worked perfect, only taking extra time on the first hit. If we lost a db, the table was updated, less the bad server, or turning the percentage to 0. This function would also hit a function on each of 6 witango servers in a cluster, and EMPTY the DSN data, so on the next hit, it would have to recheck db. We built a console that looks like this, you log into, and can administer remotely. Used to be 6 servers, we only have 2 with some legacy clients now. But the DB load system still works. Somewhere back in time, I posted much more detail on this process, and the pitfalls of db replication with witango. ![]() -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 On Apr 20, 2009, at 9:54 PM, Anthony Humphreys wrote:
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Witango-Talk: WiTango with SQL Server 2005 Database Mirr... rob . trahan
- RE: Witango-Talk: WiTango with SQL Server 2005 Data... Robert Shubert
- Re: Witango-Talk: WiTango with SQL Server 2005 Data... Anthony Humphreys
- Re: Witango-Talk: WiTango with SQL Server 2005 ... Robert Garcia
- Re: Witango-Talk: WiTango with SQL Server 2005 Data... rob . trahan

