Unofficial Hacker News companion — get notified on comment replies, and more.

If you want failover to work well, use it often (opens external site)

548 points by madflojo 3 days ago | bencane.com | 144 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. > From: k...@rational.com (Kent Mitchell)

    > Subject: Re: Does memory leak?

    > Date: 1995/03/31

    > This sparked an interesting memory for me. I was once working with a customer who was producing on-board software for a missile. In my analysis of the code, I pointed out that they had a number of problems with storage leaks. Imagine my surprise when the customers chief software engineer said "Of course it leaks". He went on to point out that they had calculated the amount of memory the application would leak in the total possible flight time for the missile and then doubled that number. They added this much additional memory to the hardware to "support" the leaks. Since the missile will explode when it hits its target or at the end of its flight, the ultimate in garbage collection is performed without programmer intervention.

    Replies (1)
    1. And then some years later an order comes for an extended range version...

      I've seen so many projects get bitten somewhere down the line by such shortcuts. Much easier to fix them when they're first created than to hunt for them a decade later in a codebase that was supposed to be proven in the field, but suddenly stopped working properly.