HTTP APIs don't magically remove Coupling (Part 2)

Поділитися
Вставка
  • Опубліковано 29 тра 2024
  • What used to be a method call in-process turned into an HTTP call over the network. You have the same amount of coupling. Possibly worse off because you've now introduced the network. All for the need to deploy independently. Did you really have that need?
    🔔 Subscribe: / @codeopinion
    💥 Join this channel to get access to a private Discord Server and any source code in my videos.
    🔥 Join via Patreon
    / codeopinion
    ✔️ Join via UA-cam
    / @codeopinion
    📝 Blog: codeopinion.com
    👋 Twitter: / codeopinion
    ✨ LinkedIn: / dcomartin
    📧 Weekly Updates: mailchi.mp/63c7a0b3ff38/codeo...
  • Наука та технологія

КОМЕНТАРІ • 19

  • @BlindVirtuoso
    @BlindVirtuoso Місяць тому +5

    I think the biggest lesson we learned from microservices is about coupling and cohesion and now we are back to monoliths with that knowledge.

  • @abbyssoul
    @abbyssoul Місяць тому +11

    You know what else is rarely mentioned explicitly in debates on monolith Vs micro services? Human side of it.
    For a 1-5 ppl project having microservices bring a lot of overhead.
    When you get 10ppl working on each "microservice" each with it's own roadmap and release cadence - having that decoupling is worth the overhead. I guess one's perspective on the question is mainly based on the scale of service one has experience with.

  • @IronDoctorChris
    @IronDoctorChris Місяць тому +6

    One type of coupling has decreased. You're now able to serve the endpoint using a different language/framework. I think this is almost never used though

    • @shadowspyes
      @shadowspyes Місяць тому

      we use it heavily with georeferenced image data processing since .NET is terrible when it comes to that, compared to python.

  • @ChaseFreedomMusician
    @ChaseFreedomMusician 25 днів тому

    "HTTP APIs don't magically remove Coupling" Do queues next!

    • @CodeOpinion
      @CodeOpinion  25 днів тому +1

      I'm about to, as well as events! Thanks for the suggestion.

  • @zonegamma8197
    @zonegamma8197 11 днів тому

    Thanks for the video

  • @andrewiecisa2907
    @andrewiecisa2907 Місяць тому

    I believe microservices is a step forward in computer solutions. It's true it comes with increased complexity but once you get a hang of it it delivers great power.

    • @qj0n
      @qj0n Місяць тому

      I don't see any benefits of the microservices trend, which wasn't there in SOA. This 'micro-' prefix brings attention to making them as small as possible, which has little benefit over splitting system into modular services which represent bounded contexts, even if they're not small
      There was a communication style change though. Instead of some service buses, microservices tend to communicate directly and use infrastructure only to find each other. But I'm not sure if this count as part of microservices trend or maybe rather REST

  • @qj0n
    @qj0n Місяць тому +1

    I like the form of the talk, but I'm not entirely convinced to slicing it in parts and posting one by one. You can easily get only to particular part without the context. And if you watch it right after publishing - you're already out of context when new arrives
    At least please put it in one playlist

  • @r-rtz
    @r-rtz Місяць тому +3

    my advice: you guys are all over the place, please stay concise and focused on an agenda, hard to follow your videos usually, and not because I am not technically minded, but you are attacking technical topics with a weird and hard to follow approach, feels like a Tom Sawyer story rather than science

    • @CodeOpinion
      @CodeOpinion  Місяць тому +4

      Curious, did you watch part 1? I'm wondering if it feels disjointed because it's a 45 min conversation and this is the middle of it

    • @r-rtz
      @r-rtz Місяць тому

      @@CodeOpinion Thanks , I will take a look at that one as well. Thanks for the reply

  • @hemanthaugust7217
    @hemanthaugust7217 Місяць тому +1

    it's not about coupling. It's more about ability to scale endpoints/features independently.

    • @piotrkowalski3460
      @piotrkowalski3460 Місяць тому +4

      it's completely the other way around. It's all about coupling and you can scale endpoints/features independently with both monolith and microservices architectures

    • @hemanthaugust7217
      @hemanthaugust7217 Місяць тому

      @@piotrkowalski3460 scaling a monolith is hard and can lead to outages (bugs/deployments, etc). This was born as a solution to scale systems not to decouple for fun or ease of development or maintenance.

    • @qj0n
      @qj0n Місяць тому

      Ability to scale independently is one of advantages of decoupling - infrastructure coupling to be more precise

  • @AbegazNap
    @AbegazNap Місяць тому +2

    The video format is great. Two heads are better than one.

    • @CodeOpinion
      @CodeOpinion  Місяць тому +1

      Thanks for the comment. I'll try and do more of these in the future if I can.