How do microservices find each other's IP addresses?

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.พ. 2024
  • Service Discovery gives microservices ability to communicate with each other without knowing their IP addresses in advance. How exactly does it work? Let's find out!
    ======⚡⚡⚡======
    Consider becoming a member of the channel by joining me ❤️
    / @softwaredeveloperdiaries
    👉 Check out Eraser: eraser.io
    ☕ Buy me a coffee: www.buymeacoffee.com/software...
    🙌 Become my Patreon and get exclusive perks: / softdevdiaries
    💼 Follow me on LinkedIn and drop me a message if you'd like: / gadirovgs
    💻 Also, let's connect on GitHub: github.com/gusgad
    📚 Resources:
    More on Service Discovery: www.baeldung.com/cs/service-d...
    Consul: www.npmjs.com/package/consul
    Netflix Eureka: cloud.spring.io/spring-cloud-...
    AWS ELB: docs.aws.amazon.com/elasticlo...
    And don't forget to subscribe for more videos like this 😊
    #microservices
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 12

  • @SoftwareDeveloperDiaries
    @SoftwareDeveloperDiaries  3 หลายเดือนก่อน +3

    Do you wanna learn about microservices together with me? Then make sure you hit that "subscribe" button

  • @chrisalexthomas
    @chrisalexthomas 3 หลายเดือนก่อน +2

    Taking this idea a bit further, service meshes act a little bit like an intelligent sidecar for containers for things like service discovery by knowing all the instances of a database that are available and when your service tries to access the database, the sidecar selects the appropriate instance to send the request to so doing load balancing and service discovery in the same package, but totally disconnected from your service. So your service gets these features automatically by sitting in the middle of all the dns resolution. All of the configuration updates in real time, so if you scale up your database. The sidecars can use the new instances without having to restart anything.

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  3 หลายเดือนก่อน

      What a valuable input! Thanks for sharing Chris! I’ll try to include them in my next video too 😊

  • @pouriaghavidel5345
    @pouriaghavidel5345 3 หลายเดือนก่อน

    Very clear and explicit

  • @susiebaka3388
    @susiebaka3388 3 หลายเดือนก่อน +1

    I use bash, nginx, and built in Linux utils to accomplish this type of load balancing. And some cloudflare rules / dns config

  • @saurabh9446
    @saurabh9446 3 หลายเดือนก่อน +2

    Please more such content 🔥 also, hands on if possible

  • @user-dk4oe6dy3y
    @user-dk4oe6dy3y 3 หลายเดือนก่อน

    Brother can You make a whole paid course where you discuss
    All backend and devops with cloud I want to learn these skillss I only know frontend. Plzz make a course like that I will buy It plzz plzz❤

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  3 หลายเดือนก่อน

      Thanks mate, that’s in my plans for this year! 😉

    • @user-dk4oe6dy3y
      @user-dk4oe6dy3y 3 หลายเดือนก่อน

      @@SoftwareDeveloperDiaries
      Brother don't thank
      Just make that course as soon as possible I only know frontend but all my mates know full stack with dev ops ,its very bad to be around them they make me feel always bad
      Its feel like I m cuckold among them not knowing backend and devops
      So bro its my hearty request you to make plzz make a full course on backend and devops in java scripts node js and express js
      Plzz plzz🙏🙏