I have seen most of video of microservices and the way you explain is quite easy to understand and it added more flavour by doing in practical.. Awesome.. 👍👍👌👌
@sekhar14301 Жыл бұрын
I saw multiple videos form others.. every one explained with PPT or diagrammatic. Not understand much... #When I watched this video 💯 got calrity on loadbaching... thanks for sharing with us ❤
@thirue82374 жыл бұрын
Excellent explanation ,Appreciate your patience!!
@viveksagar333334 жыл бұрын
Sir, you deserve more subscribers.. Thanks for the tutorial
@ankitjain99583 жыл бұрын
I appreciate all your efforts ..thank you man 👍 On fun note your voice similar to bjp spoke person shahnawaz hussain
@Javatechie3 жыл бұрын
👍🏻👍🏻👍🏻😂😂
@samarthurs80005 жыл бұрын
Very nicely explained. Thank you very much. This video deserves much more Views and Likes. Keep up the good work!
@Javatechie5 жыл бұрын
Thanks Samarth 😁 , glad to hear this from you 👍
@santhoshg85285 жыл бұрын
the best explanation i ever i had. kudos to java techie
@Javatechie5 жыл бұрын
Thanks santosh 🥰
@amitpatil7464 жыл бұрын
Very nice explanation. It was very helpful. Keep this nice work going.
@TechieTaught3 жыл бұрын
appreciate the approach to explain such beautiful concept. Awesome
@AhmedKhaled-he9mf2 жыл бұрын
Thanks very very much for very nice work from explain and source code. Thanks very much
@bullsbearsfight2 жыл бұрын
in all your tutorial this was best :)
@MURALISAI5 жыл бұрын
Nice, detailed explanation! Thank you, Sir.
@venuvamsi53444 жыл бұрын
15:28..iclientconfig ribbonclient annotated as autowired,where this bean coming from?? Or we declared that class in our project
@Javatechie4 жыл бұрын
We added Netflix dependency right , that's where this bean available
@Life-GiftOfGod2 жыл бұрын
tooooooo good :) thanks a lot!!!
@palashkhatri78205 жыл бұрын
Beautifully Explained ! Thanks a ton @Java Techie
@sagar16893 жыл бұрын
Very nice explanation.. thanks
@akashroy16183 жыл бұрын
awesome, keep that coming.
@amitgarg89373 жыл бұрын
Hi @Java Techie, I just tried this implementation and it worked after remove ribbonRule() method from configuration otherwise gave error no chatbook instances are running.
@errajesh295 жыл бұрын
very good , in sort explained big concept.
@prometheusli1013 жыл бұрын
why we need to do this?in this case,i think we may had twice request,first request to ribbon-server,second request is that ribbon-server to final-sever ,and then,final-sever response to ribbon-server,ribbon-sever response to client?is this slow down the web request speed?twice request ,double traffic?i was confused and i thought this is not make sense
@vitaliibrezhnev62452 жыл бұрын
thank you, i understand all what i need
@subinsajin5 жыл бұрын
Thank you so much for the informative video!!! In the last part of the video, you mentioned if we use eureka we can do load balancing by adding @LoadBalanced to restTemplate method, without using RibbonConfiguration. So why do we really need Spring Cloud Ribbon, if we can just do with Eureka?
@Javatechie5 жыл бұрын
Hi Subin, if you are directly using eureka then ribbon implementation is inbuilt in nature all required configuration stuff already preconfigured in eureka
@rexsam31342 жыл бұрын
@@Javatechie then why did you set Eureka enabled to false in yml file?
@vikrantmanekar48172 жыл бұрын
@@rexsam3134 I am also having same question
@valorant563 Жыл бұрын
Can't find the ribbon dependency to add. Should I change the java version or spring version.
@Javatechie Жыл бұрын
Change spring version
@popatpopatpopat1234 жыл бұрын
What’s the difference between eureka service discovery vs Ribbon discovery? which one should be used in production env?
@steavejacks67883 жыл бұрын
Regarding IPing and IRule Beans: you passed an argument IClientConfig which you did not use within Bean method. so is it necessary to pass it? please help me understand I'm new to Spring Boot BTW your videos are extremely helpful. Thank you so much.
@democratcobra2 жыл бұрын
greate job bro !!
@Mohamed-uf5jh4 жыл бұрын
Very nicely explained. Thank you very much,good job !
@vivek18575 жыл бұрын
Very nice Video mate!!
@RanjithKumar-dg1qw4 жыл бұрын
Hi Sir, I was getting "No instance found for chatapp" error. Eventually, I had to remove ribbonRule method from RibbonConfiguration class for it to work. Not sure why.
@Javatechie4 жыл бұрын
Not sure based on current version there may be syntactical changes
@kartheekpatnaik86442 жыл бұрын
Crispy bro
@jyotsanarai67153 жыл бұрын
What if i dont specify the ports of instances using server.port: 0 and let spring decide the port no for me ?
@souravsantra47314 жыл бұрын
Very good content. Thanks
@abhishekbalawan68172 жыл бұрын
Ribbon is not available now. Can you suggest some other way @javatechie?
@muralijava5527 ай бұрын
Hi Basant, I am not able to run these examples in new version of STS4 please share the old STS4 link if you have
@chaitaligaikar6213 жыл бұрын
The concept of load balancing is very well explained in the video. Can you suggest how to implement the same for POST, DELETE. Also in real time application there can be n number of end points so how to handle those?
@puranpush2 жыл бұрын
Ya pls answer for this @java techie.. I too have the same question
@quadirumar55325 жыл бұрын
I downloaded your code from github and tried to run but i am not getting the required output , i am getting following { "timestamp": "2019-06-13T16:14:04.413+0000", "status": 500, "error": "Internal Server Error", "message": "No instances available for chatbook", "path": "/invoke" }
@Javatechie5 жыл бұрын
Please read my previous comment I already replied to someone with solution.if you are not getting the. Do let me know
@Javatechie5 жыл бұрын
Hi Umar, please remove root url from ChatbookApplication which i wrote on top of class i wrote @RequestMapping("/chatbook-application") and remove the same URL while invoke from user-app controller and use like this template.getForObject("chatbook/chat" , String.class); don't know why it behaving like this now , what i understood previously we wrote like template.getForObject("chatbook-application-chatbook/chat" , String.class); right ? so chatbook is our application which we mapped in multiple port but spring boot looking a service with name chatbook-application/chatbook so that's what the problem ..
@aakashkumbhare43994 жыл бұрын
How should I test for 1000 multiple requests parallel?
@Javatechie4 жыл бұрын
You can do that load test using soap ui
@rakeshroshan96904 жыл бұрын
I downloaded this project and try to run, i am getting ""No instances available for chatbook", any reason ?
@rakeshroshan96904 жыл бұрын
i got , removed pingUrl from RibbonConfiguration, now working fine.
@soumyabasak89294 жыл бұрын
this comment helped me a lot thanks man
@realtimevideos16604 жыл бұрын
@@rakeshroshan9690 yes, but why??if anyone explain this. Thanks
@puranpush2 жыл бұрын
Suppose if I have many apis like /chat in loadbalancer app.. Then how many /invoke api needs to write in client app?
@jewelchowdhury97523 жыл бұрын
First of all, thank you very much, sir. I have a question. I want to build a micro-service based e-commerce web application. suppose, I have some services, like customer service, product service(only contain Title and description and the image & price fetches IMG & price from another IMG service & price service), order service, and cart service. In my product service, It is possible when I have static data. and I have tried it. But my question is how can I add a new product record (with all fields) from the admin service(admin panel) into the multiple services like IMG service, product service(Title and description), price service? Please make a video on how to add records into multiple services at a time?
@realtimevideos16604 жыл бұрын
i tried by removing "configuration" : @RibbonClient(name="chatapp") only. its works fine for me and i am also not getting error after this : java.lang.illegalstateexception: no instances available for chatbook . Do we really need this 'RibbonConfiguration' class????
@zeezinc710 ай бұрын
same with me, removed and its working now.
@Javatechie10 ай бұрын
This is too old video guys you are referring
@zeezinc710 ай бұрын
@@Javatechie yes, do you have a newer version for this would like to refer that
@hemantanahak56742 жыл бұрын
PLease share us the updated video, for client side load balancing example
@Javatechie2 жыл бұрын
Okay will do once more
@dipakgiri32485 жыл бұрын
If I use zuul api getway then ribbon is required?
@Javatechie5 жыл бұрын
Yes both have different purpose to use Zuul : request routing Ribbon : load balancing
@dipakgiri32485 жыл бұрын
have your what's app
@dipakgiri32485 жыл бұрын
but google is said zuul automatically use ribbon for load balancing
@Javatechie5 жыл бұрын
@@dipakgiri3248 am not sure I will check and let you know
@anilkumarsharma6689 Жыл бұрын
Hello sir , can you make a completed video how to deploy micro-service on production server
@aakashkumbhare43994 жыл бұрын
👍 Great
@pitchibovilla39985 жыл бұрын
Nice explanation
@Dyslexic_Neuron5 жыл бұрын
Nice vdo man !! Keep up the good work Plz make a video on hysterix !
@Javatechie5 жыл бұрын
Thanks Deep , hey already I uploaded video related hystrix please Go through below link kzbin.info/www/bejne/aKmceGualrqAbqM kzbin.info/www/bejne/d2OsmXitl9Ocgqs
@sundarivaddiparti84634 жыл бұрын
getting error saying "local instance not found for the list of servers". finally after commenting the below code in RibbonConfiguration it worked fine. @Bean public IRule ribbonRule(IClientConfig config) { return new AvailabilityFilteringRule(); } Anything wrong in using IRule?
@Javatechie4 жыл бұрын
Which version of spring boot are you using ?
@sundarivaddiparti84634 жыл бұрын
@@Javatechie 2.3.3.
@Javatechie4 жыл бұрын
Am not sure then as I already mentioned based on enhance version the implementation might changes
@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
@rexsam31344 жыл бұрын
Why am I getting No instances available for CloudRibbonLB where CloudRibbonLB=chatbook. Spring Boot 2.3.4. Individual ones are deloyed on the 3 ports and I can see the message on the screen Same happened while running Eureka client after registering on Eureka server.
@ashishmishra23463 жыл бұрын
How to do load balancing in Eureka 3 node Cluster and client should connect with Load Balancer
@ashwinkumar5044 жыл бұрын
Nice job , thanks and keep it up ............. You have suggested some changes like "template.getForObject("chatbook/chat" , String.class);" ...... Some guy online suggested remove @Bean annotation for IRule in config so i did and it worked .... of course dont know why :-) RibbonConfiguration.java ......... // @Bean -------------->Remove annotation public IRule rule(IClientConfig iClientConfig){ return new AvailabilityFilteringRule(); } ......... Hope it helps ....
@Javatechie4 жыл бұрын
In one of the comment I shared alternative solution please have a look
@ercreddy5 жыл бұрын
Excellent explanation, Thank you !!
@muralijava5527 ай бұрын
If possible please share the example of spring boot hashicorp
@navyaswarup9573 Жыл бұрын
How to set 3 ports?
@Javatechie Жыл бұрын
Change in application.properties and start it
@navyaswarup9573 Жыл бұрын
But, if we first run it on port 8001 then 8002 then 8003. So in my case it's working on 8003 port only. Not on other port numbers.
@navyaswarup9573 Жыл бұрын
@@Javatechie i try the same method showed in the video but when i use server.port= 8001 and other, its taking the last port only not showing the result on other port as the reason is that i am running that application and the port which is mentioned in the application (the last port) will be running not other ports will run as they are off.
@navyaswarup9573 Жыл бұрын
@@Javatechie is i am missing any logic or configuration ?
@amargupta17284 жыл бұрын
Hi Thank and nice video but when I tried to run it, I getting exception as java.lang.IllegalStateException: No instances available for testMicro so please suggest and if you need I can send you my code through mail to check the same.