Blog | RSS | Photo Gallery | Wish List     Eric's Blob
OpenThought Queueing Posted at 13:13 by Eric

Someone posted a message on the OpenThought mailing list a few weeks ago that got me thinking.

In OpenThought 0.71, if you click a link, and you're waiting for the server to respond, clicking a second link cancels the first request. That can be what one wants, but that could also really stink. A user can't be expected to sit there and wait for a request to finish if it takes a particularly long time.

So OpenThought now supports queueing of requests. Whenever a link is clicked, you can either have it execute immediatly regardless of any outstanding requests, or you can optionally have it queued if the server is busy.

I've tested this out on a few different browsers, it seems to work pretty well. The actual code is a bit rudimentary, it needs to try harder to ensure there isn't a race condition. But it does work, and it's much better than what currently exists.

| |

Post a Comment
    Name:
    URL/Email: [http://... or mailto:you@wherever] (optional)
    Title: (optional)
    Comments:
      Use HTML for formatting. Allowed HTML: <a> <p> <b> <i> <u> <hr> <br> <ol> <ul> <li>

trackback

TrackBack ping me at:

http://www.openthought.org/blosxom.cgi/Blog/Computers/Programming/Perl/ot_queueing.trackback