• Pieisawesome@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I hate the obsession to move to the cloud and the obsession towards serverless or functions.

    Functions are stupid and crazy for anything that is actually used often.

    For small utilities, they make a ton of sense, but next time I see an app with millions of requests per day using functions, I’m going to lose my mind.

    • Aceticon@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Years ago I was the senior techie in designing and implementing distributed high performance server systems and what you reminded me of just made my blood start to boil… :/

    • Amazon is actually quite smart. They give away tons of free compute in the form of free tier lambda functions, enough to convince any hobbyist to comfortably port all of the home built stuff to the cloud for free, but not enough that any serious business can run cheaply.

      Then they wait for someone to suggest using the tool they use at home for the company, and rake in the rewards.

      It’s pretty crazy how “millions of requests per day” is somehow enough to warrant paying the Amazon price for cloud stuff. A $50 VPS can handle millions of requests per day with capacity to spare. If you’re in a real pinch, get a $100 dedicated server somewhere.

      Computers are crazy fast. If you cut out all of these layers of abstractions, you’ll be surprised how little hardware you actually need to run the equivalent of cloud stuff. You’re not done for that cheap (you need to set up failovers, backups, and so on) but with the ridiculous prices Amazon and Azure charge, it’s worth running the numbers.

      The only problem with that approach is that your product will slow down if you suddenly get an influx of millions of customers, something that never happens to 99% of companies considering cloud stuff.