News for hackers. Stuff that matters.
Re:Moving from PHP to C saved my web startup. by kqueue on Friday October 22, 2010 @04:32PM (#1821390)
have you considered using rabbitmq/0mq? It sounds like they are perfect candidates for what you are trying to achieve.
Re:Moving from PHP to C saved my web startup. by BuckToBid on Friday October 22, 2010 @04:34PM (#1821395)
I had never heard of those before. Are they capable of working inside any web broswer? Looking it up right now.
Re:Moving from PHP to C saved my web startup. by kqueue on Friday October 22, 2010 @05:04PM (#1821510)
Yes, you can reach a queue via a web browser using the proper api access you provide.

If you have 100 users, each one waiting for a message in their queue, then you can "broadcast" a single message to all of the queues (or a group) with one command. All the users waiting for a message in their queue will get a copy.

Another approach which is hack-ish imo, is to use something like jabberd to broadcast messages.