• 1984@lemmy.today
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 months ago

      Problem is that companies are using them for all scenarios. It’s often their entire tech stack now, with kubernetes.

      It’s similar to the object oriented hype that came before it, where developers had to write all their programs in a way so they could be extended and prepared for any future changes.

      Everything became complex and difficult to work with. And almost none of those programs were ever extended in any significant way where object oriented design made it easier. On the contrary, it made it far more difficult to understand the program since you had to know which method was called in which object due to polymorphism when you looked at the code. You had to jump around like crazy to see what code was actually running.

      Now with kubernetes, it’s all about making the programs easier to scale and easier to develop for the developers, but it shifts the complexity to the infrastructure needed to support the networking requirements.

      All these programs now need to talk over the network instead of simply communicating in the same process. And with that you have to think about failure scenarios, out of order communication, missing messages, separate databases and data storage for different services etc.

  • GissaMittJobb@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    It’s a tool like any other, appropriate under some circumstances and inappropriate in others.

    Blindly rejecting it without considering whether it’s appropriate in the context is honestly just as bad as choosing it without considering whether it’s appropriate in the context, fwiw.

  • draughtcyclist@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    As an operator, this who thread reads like a bunch of devs who don’t understand networking and refuse to learn.

    Sure, for smaller applications or small dev teams it doesn’t make sense. But for so many other things it does.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      The problem is that all projects start small, and frankly most of them die small. Aiming for microservices architecture right away is a surefire way to get the project killed before anyone would benefit off of the microservices.

      • Potatos_are_not_friends@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        I always lump microservices architecture as premature optimization, one that should be used when you’re maxed out of resources or everything is too spaghetti.

        I love the idea. And I even pitched it for a specific project. But I had to eat humble pie when the devops nerds threw more servers at the problem and it worked better than I expected.

    • RageAgainstTheRich@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I was looking up lambda functions for rust because i needed it for something and didn’t know how, what, etc. But searching anything lambda now only shows results for fucking amazon lambda bullshit! Really pisses me off… its fucked 😠

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        If you mean lambdas like in python where you say lambda x: x+1, they are called closures in rust, try searching for that instead.