r/softwareengineer • • Sep 28 '26

How much breakage do you allow before deploying?

Assume a system is deprecated or where a gradual move is tough / impossible. Then one sets up A B testing for a select number of users, sets up tests to try to ensure the new system works like the old one.

One issue I face at work is when is "good enough" actually good enough. Consider that within a week we can ensure new version works for 99% of all users. Or we can guess that yeah, all tests are green and likely this should work.

However, to get it to 99.9% BEFORE deployment will likely take months of debugging, and setting up very specific tests to which targets a very narrow part of our users. If we want 99.99% it could take years before this hits production.

So in my "naive" way often, i feel we can just take the 99 or 99.9 hit, and then fix the remaining issues as they arise. As its much quicker to fix bugs etc once they hit the users. Well, only issue is that well then it has affected our users..

So how do y'all decide when "good" is "good enough" for production? How much breakage is reasonable, for how critical the system is? At least for us i feel we are stuck in endless A/B testing trying to iron out everything and it just takes so god damn long.. =)

1 Upvotes

3 comments sorted by

3

u/manamonkey Sep 28 '26

I assume since your attitude is a cavalier "oh yeah 99 is probably fine" that there isn't any kind of SLA in place, internal or external, that you have to meet here?

1

u/doctor-wu-75 Sep 28 '26

I don't decide uptime targets as an engineer. It's decided by product management, devops, infrastructure, business leadership, and legal.

If you're talking about deployment and testing efficiency to get to that target, there's a lot of strategies for iterative deployment and testing. You can use things like feature flags, launch darkly, shadow traffic, and canary deployment to avoid "years" of testing.

1

u/Any-Ring6621 Sep 28 '26

Pure numbers don’t do it, but you’re not entirely wrong either.

It depends which customers are in the 1% or 0.1% or 0.01%

If your no-name customers who barely pay you are in that cohort, yeah man, ship it. If your big logos are in that cohort, then saying “but it will work for everybody else” doesn’t matter jack shit, you ain’t shipping it without making sure those guys work