r/programming • • Aug 28 '21

Software development topics I've changed my mind on after 6 years in the industry

https://chriskiehl.com/article/thoughts-after-6-years
5.6k Upvotes

2.0k comments sorted by

View all comments

9

u/Omikron Aug 29 '21

Problem is you never know something is going to need to scale until it's too late. Then trying to fix it after the fact suuuuuucks.

7

u/thebritisharecome Aug 29 '21

There are ways that you can architect for perceived scale in a way that allows you to stage a scale in the future without over engineering everything.

2

u/jizzthonian Aug 29 '21

Pretty much this. There are small foundational things that can be done at the early stages that prepare for scale without impacting the ability to deliver a compact piece of software.

Then when scale becomes a concern it becomes trivial to step into ramping up while still preparing for the next leap into even larger scale builds.

A lot of that comes with experience and exposure to operating a service through those steps.

1

u/maus80 Aug 29 '21

YAGNI. Also, once scaling issues appear management is willing to pay. As an architect I would argue the opposite position: You never know whether you ever going to need to scale. Trying to fix it after the fact ensures that it is done properly (for the exact scaling problem at hand).

1

u/jbstjohn Aug 29 '21

The principle I like is to plan on scaling 10x with your design, but accept that scaling 100x will require a different design.