On Mon, May 27, 2002 at 03:48:51PM -0400, Philip Mak wrote: > I have a bunch of processes running on the same machine that should > be able to send unicast, multicast and broadcast messages to each > other. Messages should be received in the same order that they were > sent. > > I'm trying to figure out how to implement that. These processes are > already sharing the same MySQL database, so I'm thinking that a > process which wants to send a message could INSERT it into a table, > then another process can SELECT it to read it. This would seem to > require all processes to constantly poll the table, though, so I'm > thinking maybe I should use something other than MySQL for the > shared message queue functionality...
I'm with Benjamin on this one. If you need unicast and multicast, just use UDP connections. I've got some [Perl] code that does this across machines (multicast-only) for simplified process signaling. Works like a charm. Someday I'll get that out on CPAN... Jeremy -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 4.0.2: up 3 days, processed 36,665,718 queries (108/sec. avg) --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php