Reply to post: Inefficiencies piled upon inefficiencies

Containers may be more effective than VMs for hybrid apps – Gartner

0x80004005

Inefficiencies piled upon inefficiencies

Great progress has been made in CPU performance through caching and precomputation. Having your most frequently-used code and data close to hand is the key to good performance.

The further down the Physical -> VM -> Container -> Serverless rabbit hole you go, the less state you get to keep with you, and you end up with every client request being a total cold start on a different server. Maybe the disks are in Outer Mongolia too. Remember CGI?

When we see .NET 6 optimisation effort being expended on "cold start" scenarios, you do wonder why?

Everyone wants to believe they are building the next Amazon and need to scale to billions of requests a second tomorrow when they are serving 10 requests a minute today. I'll give you a hint - this RARELY happens, and if it does you'll have a LOT of money to throw at the problem.

To quote Knuth:

“The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming.”

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2022