HTTP in Reverse

Posted by lorne on September 15th, 2005 — Posted in Linux

The design of pros.and.cons makes it difficult to easily track new changes. I’ve whipped up something to notify you when there are changes.

I used the phrase “notify you” as this is what took the most time to do. There is a notification management daemon running which broadcasts the messages generated by the pros.and.cons script. To get this working nicely over HTTP, the background request is made to a script that returns either when there is something to report, or a period of time has elapsed. Notice the typical chain of events would cause a notification to be sent, an instance of the client script to return and the result to be displayed, such that there is no wasteful polling.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment