Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8115849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:35:59+00:00 2026-06-06T03:35:59+00:00

I have clients with really bad networks, including bad mappings at the gateways and

  • 0

I have clients with really bad networks, including bad mappings at the gateways and issues with aliasing. Sometimes they go days without a hitch, other days our services fail because they can’t connect to the database or the connections get mysteriously dropped.

How far should a program (namely a service) go to recover or retry? Is it reasonable to have their network folks get it working properly or should I take upon myself to survive its flakiness?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T03:36:00+00:00Added an answer on June 6, 2026 at 3:36 am

    1) Yes, it’s reasonable to expect their network to work … you wouldn’t tell someone that the car they bought is broken because they don’t have and roads to drive it on, would you?

    2) That said: program defensively. When you build a car, you can’t expect everything to be a perfectly smooth interstate highway.

    More specifically, I like to build retry mechanisms into my systems: I’ll wrap something in ‘retryable’ logic, which lets you specify the number of retries. Typically, the retry period will have quadratic backoff: say, it tries after n*n seconds, for 1..n where n is the number of retries, or use fib(n) so you have something like 1,1,2,3,5 second retries. The backoff helps prevent causing unnecessary strain on the upstream resource

    If, after a set number of retries, you can either throw an exception (which can be caught and inform a user or other modules of the error), or logged, depending on the severity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have clients that use our web site (asp.net) that they have to be
I have some clients who are not English speaking. They would like the JavaScript
I just heard one of the clients having really bad performance on IE6 despite
I have clients who still using dot matrix for making copies of printed documents
I have coded a server in Java that will have several clients connected to
I have a lot of pre-existing BMPs (and our clients have pre-existing bmps as
i have strange problem doing reporting: i have numerous clients with different issued invoices.
can't I expose my methods as webmethods in a winform and have other clients
I have over 1000 clients and I developed a simple PHP script to loop
I have two WCF clients consuming a 3rd party web service. These two clients

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.