The 3 Laws of Serverless

The phrase "build applications without thinking about servers" is a decent shorthand for serverless, Burke Holland says — but only that, a shorthand.

Nobody really thinks about servers when they are writing their code. I mean, I doubt any developer has ever thrown up their hands and said "Whoa, whoa, whoa. Wait just a minute. We're not declaring any variables in this joint until I know what server we're going to be running this on."

So rather than folding everything into a single definition, Holland breaks serverless into three laws:

  1. Law of Furthest Abstraction — I don't really care where my code runs, just that it runs.
  2. The Law of Inherent Scale — I can hammer this code if I need to, or barely use it at all.
  3. Law of Least Consumption — I only pay for what I use.

His full post is available for direct reading.

CSS-Tricks Star Logo