I hear Sam Newman’s - Monoliths to Microservices is worth a read.

    • Sarah Asakura@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      Nah, there have been some blogs recently from engineers who were bucking the Microservice trend - Notably Amazon Prime Video moved back to more of a monolith deployment and saw performance improvement and infrastructure cost reduction

      https://www.linkedin.com/pulse/shift-back-monolithic-architecture-why-some-big-making-boudy-de-geer

      I wouldn’t say anything is wrong with them, the pros and cons have been there, but the cons are starting to be more recognized by decision makers

      • falsem@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I mean, Prime Video is still a bunch of microservices, it comes down to where you define the boundary between 'service and ‘microservice’. That blogpost was specifically about “the Prime Video audio/video monitoring service”. Eg it’s a service/microservice for QA, not for all of Prime Video. I’m sure there are seperate services for billing, browsing, captioning, and streaming.

        And although the author called it “moving from microservices to monolith” it’s more about moving from serverless to more traditional compute.

      • r1veRRR@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        The Prime Video example was more like moving from nano-service insanity to sanity. They basically split EVERY POSSIBLE STEP into separate lambdas. They switched to still using microservices, but they do all transcoding steps for a single video on the same microservice instance (aka sanity).

    • cwagner@lemmy.cwagner.me
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      They mainly make sense if you have insane amounts of traffic and/or are a giant company with a lot of independent teams.

      For most companies using microservices, these are not true.

      • entropicdrift@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        They also make sense if you have heavily uneven traffic, either time-wise, service-wise, or both. Being able to scale up/down individual components is the point