On Wed, May 13, 2009 at 12:30 PM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
can any of today's<br>
hip & trendy messaging protocols be used to painlessly notify anyone who<br>
is interested that "there's a new diff ready", instead of having<br>
over-eager scripts poll the directory every 10 seconds?</blockquote></div><br>The server would need to open up a socket and send out some sort of notification to whoever is listening whenever a new diff is ready.<br><br>
I imagine might even be an intermediate server application that listens to that notification, grabs the diff, and creates the pseudo-stream for others. This way, the pseudo-stream would be delayed by N+60 seconds, where N is the number of seconds it took to create/post/notify/download the diff. That's pretty darn good.<br>