Link to the written tutorial: programmingtechie.com/2024/04/14/spring-boot-microservices-tutorial-part-3/
@nawwintphyu187313 күн бұрын
Thank you so much!
@Vikin-53524 ай бұрын
Can you please make the cloud deployment of the project so that we can learn how to do the deployment in cloud or else please provide some resources where we can learn that.
@nailtagiyev63404 ай бұрын
Nice Tutorial. Thanks
@jayasekharredditelluri16004 ай бұрын
When can we expect next tutorial ?
@ap0xF3 ай бұрын
How to load balance while using Spring Cloud Gateway MVC?
@rafaelrl853 ай бұрын
How can you add a header and a value to the request to pass on the the next component :)?
@RAVIKUMAR-rs9fd3 ай бұрын
can i deploye this api gateway to the external tomacat server
@nzanontest77162 ай бұрын
Thanks for the the greate tuturial. Are you not going to use the discovery service in this new version of the course?
@ProgrammingTechie2 ай бұрын
Yes discovery server will be replaced by kubernetes
@nzanontest77162 ай бұрын
@@ProgrammingTechie thanks, always appreciate learning new stuff.
@jrgokavalsa4 ай бұрын
How do we use Eureka Server to discover the service
@ProgrammingTechie4 ай бұрын
I decided not to use Discovery Server for this series as we will anyway use Kubernetes for service discovery
@Sebastian-zs8cp4 ай бұрын
Do you need gateway and loadbalancer in google cloud or make google cloud it automatic?
@ProgrammingTechie4 ай бұрын
Yes GCP has Cloud Load Balancing that can act as a Load Balancer.
@master_persi4 ай бұрын
if there are multiple instances how will the request get routed
@Hakan-mg2qj4 ай бұрын
If you are saying about /api/inventory/getAllProducts, /api/inventory/updateProducts/{id} etc. I edited the router code like "/api/product/**" btw When I call /api/inventory/getAllProducts with get, It returns 201 so It worked.
@master_persi4 ай бұрын
@@Hakan-mg2qj I mean if product service has three or more instance running . Say two instances of inventory service and five instances of order service. Here we are hard coding the url.
@ProgrammingTechie4 ай бұрын
Once we deploy the service to Kubernetes, the load balancing is done automatically for us. This will be covered in the future videos. If you are not deploying on Kubernetes, we can use the libraries like Spring Cloud Loadbalancer together with Spring Cloud Netflix Eureka Discovery Server. I covered this part in my previous video tutorial series, you can refer to that video to get a better understanding of the concept - kzfaq.info/get/bejne/ZrqBn8yi1L6ae5c.html
@aadiraj61264 ай бұрын
Sai, Erstwhile Spring Cloud Gateway used to be run on Netty server right? Back then with gateway we use Spring Webflux as well which was capable of handling functional programming too. There was only one api gateway for web & reactive then, right? Why they created two now, can you explain the logic?
@ProgrammingTechie4 ай бұрын
I believe the community wanted also a Spring MVC version instead of the one using the reactive stack using Spring Webflux. You can use the reactive stack when you are dealing with Reactive Streams. Other than that you can choose the MVC stack as with the introduction of Virtual Threads, you can get same level of performance even with Spring Cloud Gateway MVC.
@anthonya8804 ай бұрын
Is Spring Cloud Gateway popular vs Nginx or Kong ?
@ProgrammingTechie4 ай бұрын
It depends on the usecase, I don't have the data to say which is popular. If you want to use a 3rd party library you can use the tools like Kong or Nginx, if you want to have more control over the way things in the API Gateway layer then you can implement this using Spring Cloud Gateway