The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Better Error recovery

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Better Error recovery Posted: Oct 12, 2003 9:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Better Error recovery
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement
I got a complaint about BottomFeeder's handling of network errors yesterday - specifically, the way it deals with getting timeouts from all (or most) of the feeds during an update cycle. The way it handled this before was to just ignore it, treating it as (yet another) transient network issue. However, some kinds of ISP issues can make this a painful choice - say your system acts like it has network connectivity, but all http requests yield timeouts. Given the time for any particular request to timeout, this can yield a very unresponsive application.

What I've done is added a counter - if 10% or more of your feeds are failing with timeouts, then the update process will be suspended, and you'll get prompted for what to do - ignore the errors and push on, or go offline. I also added a setting that allows the old behavior (just completely ignoring the timeouts) to take place - I often get transient errors that come and go, and I'd just as soon let them pass. The way Bf is now set up, that decision is up to you as the user

Read: Better Error recovery

Topic: Bottom Feeder on Mac OS-X Previous Topic   Next Topic Topic: RB Problems

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use