HTTP in Reverse
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.
About this entry
You’re currently reading “HTTP in Reverse,” an entry on blog.cons.org.nz
- Published:
- 15.09.05 / 7pm
- Category:
- Linux



No comments
Jump to comment form | comments rss [?] | trackback uri [?]