Spring Cloud- Load Balancing using Netflix Ribbon + Eureka | Spring Boot

Ғылым және технология

This video explains you how to perform load balancing using spring cloud ribbon and Eureka
GitHub:
github.com/Java-Techie-jt/spr...
Blogs:
javagyanmantra.wixsite.com/we...
Facebook Group :
/ 919464521471923
Like & Subscribe

Пікірлер: 43

  • @sobhitakumarsahu2713
    @sobhitakumarsahu27133 жыл бұрын

    I am big fan of you Basant. you explain complex things so simpler.

  • @Javatechie

    @Javatechie

    3 жыл бұрын

    Good to hear this thank you so much buddy

  • @landonisrael6989

    @landonisrael6989

    3 жыл бұрын

    I guess it's kind of off topic but does anybody know a good website to watch newly released tv shows online?

  • @malcolmachilles9174

    @malcolmachilles9174

    3 жыл бұрын

    @Landon Israel Try FlixZone. You can find it on google :)

  • @kidsfun381
    @kidsfun3813 жыл бұрын

    very very good explanation

  • @HareeshbabuPesarlanka
    @HareeshbabuPesarlanka3 ай бұрын

    please make a video for the same with different ip address

  • @HareeshbabuPesarlanka
    @HareeshbabuPesarlanka3 ай бұрын

    please make a video for different ip address also

  • @noorahameds8
    @noorahameds8 Жыл бұрын

    I have created two spring boot projects employee and department and both this entities are registered on Eureka server and I have configured an Api gateway to call this entity so to add load balancer to this project I need to apply load balancing only on API gateway or all three projects (api gateway, employee, department). I want to use Netflix Ribbon for load balancing. ANY INPUT WOULD BE VERY HELPFUL. Thanks in advance

  • @gopald7263
    @gopald72636 жыл бұрын

    Awesome..

  • @cd62
    @cd622 жыл бұрын

    How to change round-robin to custom strategy ?

  • @kannadasankaruppaiyan1155
    @kannadasankaruppaiyan1155 Жыл бұрын

    Awesome

  • @rexsam3134
    @rexsam31342 жыл бұрын

    If payment service is deployed on multiple servers then do you have such a example as a diagram since having 2 machines is not possible on a personal laptop? How load balancing works? This is a typical prod env scenario.

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    Sweet did you check my k8s video ? Since our application is microservice we should go with containerization platform so k8s will take care this .

  • @user-ko3cv4fi6w
    @user-ko3cv4fi6w Жыл бұрын

    Thanks for good explanation .Tried with same code but when try to hit payment service from shoping it is coming as "payment with 1007 is successfull" server port info is not displaying....is it require any code for server port info

  • @Javatechie

    @Javatechie

    Жыл бұрын

    Have you tried to fetch server.port using @Value

  • @rajulsulakhe667
    @rajulsulakhe6672 жыл бұрын

    how you are running payment service mutiple instance , if one instance running in one port we cant change port and rerun it will ask stop and rerun

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    No it won't ask you to stop and return try once

  • @DS-ol1ic

    @DS-ol1ic

    Жыл бұрын

    maybe you are using IntelliJ, you can edit the run configuration with a different name or run it from cmd with --server.port=some number

  • @kishordige9721
    @kishordige9721 Жыл бұрын

    Thanks

  • @sushilkumarpandeypandey1087
    @sushilkumarpandeypandey10875 жыл бұрын

    in this case we are not mentioning any where how many instances of payment service will be started

  • @Javatechie

    @Javatechie

    5 жыл бұрын

    We . mentioned ribbon dependency that's enough , eureka will identity the number of instance where your application is running

  • @learnprep7423
    @learnprep74239 ай бұрын

    Please tell if a service is running on multiple instances then how to call it. With its service name only from postman or frontend .....

  • @Javatechie

    @Javatechie

    9 ай бұрын

    No you need to call them from the api gateway only

  • @Javatechie

    @Javatechie

    9 ай бұрын

    Please checkout this playlist Microservice: kzread.info/head/PLVz2XdJiJQxxWhFkucZBoMxeYE6qTgEF8

  • @sushilkumarpandeypandey1087
    @sushilkumarpandeypandey10875 жыл бұрын

    one more question is this client side load balancing or server side load balancing

  • @Javatechie

    @Javatechie

    4 жыл бұрын

    its client side load balancing

  • @sarojsahoo8763
    @sarojsahoo87634 жыл бұрын

    So We dont need to configure ribbon client in spring boot based application By default we are going to get

  • @Javatechie

    @Javatechie

    4 жыл бұрын

    Not required , always it's recommended to use feign client

  • @namanmandli
    @namanmandli6 жыл бұрын

    Sir, Can you please upload OAuth2 tutorial?

  • @Javatechie

    @Javatechie

    4 жыл бұрын

    uploaded please have a look

  • @rajivjha123
    @rajivjha1234 жыл бұрын

    1st - You don't need ribbon dependency . 2nd - specify if Eureka registry is client side or server side . Thanks

  • @amargupta1728

    @amargupta1728

    4 жыл бұрын

    how?? please explain.

  • @vishu1602

    @vishu1602

    3 жыл бұрын

    Eureka have to register itself as a server such that it can treat every other mirco services as client

  • @amargupta1728
    @amargupta17284 жыл бұрын

    I missed your teaching spirit and you didn't explain about the load balancer(you have used in @LoadBalanced for RestTemplate) properly and seems you have to hurry to finish the video.

  • @shrikeshk9
    @shrikeshk95 жыл бұрын

    Galat bata rahe ho bhai, RestTemplate karta hai round robin. Isme eureka ya ribbon ka abhi tak koi haat nahi hai

  • @Javatechie

    @Javatechie

    5 жыл бұрын

    Without ribbon it's not possible b

  • @shrikeshk9

    @shrikeshk9

    5 жыл бұрын

    @@Javatechie try removing ribbon dependency

  • @Javatechie

    @Javatechie

    5 жыл бұрын

    Ok I will check , and let you know soon . thanks dude

  • @rexsam3134

    @rexsam3134

    2 жыл бұрын

    @@Javatechie did you check?

  • @Javatechie

    @Javatechie

    2 жыл бұрын

    @@rexsam3134 no I didn't check yet . Did you tried ?

Келесі