Raised This Month: $ Target: $400
 0% 

Updated other servers when info changes in SQL table


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-28-2009 , 20:53   Updated other servers when info changes in SQL table
Reply With Quote #1

I need to be able to notify the other servers that use the same SQL database as one server when that one server updates, inserts, or deletes information on the table.

I thought of 2 solutions myself, and I wanted to know which is better, and if there was a better way than these 2.

1. Constantly retrieve the information from the database (scheduled tasks).
2. Use sockets and send a unique piece of data from one server to all the other servers (all ips are found in a .ini file) and then those servers know to read the database again.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 05-28-2009 at 20:56.
Exolent[jNr] is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode