» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2006, 08:16 AM
Ramiro Ramiro is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ramiro is on a distinguished road
Default Change's Notification...

hello there,
I have several machines, each running a client process, talking to a central MySQL server over ODBC. Some clients write data to the database, some read that data. All the clients run continuously. The writing clients write data sporadically, to log-like tables that grow, but no previously written data is ever changed.
How can the reading clients can be told when there is more data available?
Thanks -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-07-2006, 08:21 AM
Yadira Yadira is offline
Senior Member
 
Join Date: Jul 2006
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 18
Yadira is on a distinguished road
Default

Each writing client should post notifications to a messaging bus, which the reading clients read.

In Java, the standard API is JMS:
[java.sun.com]

The writing clients should post their notifications after confirmation that their database writes succeeded, and their transactions committed.

use UDF's to post the messages automatically from MySQL triggers, but the messages get posted when the data is inserted, which may be some time before it is committed. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
upload notification. larri Dedicated Servers 1 01-13-2007 07:45 AM


All times are GMT. The time now is 10:05 AM.