Log in

View Full Version : VB2 Mod - diff servers for guests vs logged in users


Swamper
04-27-2004, 02:35 PM
Hi

I had this idea and it makes some sense but I wanted some advice...

I have 2 servers, Mysql 4.0.x - with replication setup - one acts as master(updates) and the other is slave (only reads)

I want to send all guests to the slave server, this would be easy by including a redirect in the header - but how would I handle updating the # of views on a thread when a guest views it?

....The reported # of users logged in would also be affected, so that's something else to think about

Thoughts?

Thanks.

007
04-27-2004, 06:44 PM
Not sure if you are alloud to use VB with two databases on a live forum. This might be different though since it looks like it's a direct mirror. You might want to doublecheck first with VB.