No video

Spring Boot Microservices Tutorial - Part 5 - Spring Cloud Gateway MVC

  Рет қаралды 5,290

Programming Techie

Programming Techie

Күн бұрын

Пікірлер: 25
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
Link to the written tutorial: programmingtechie.com/2024/04/14/spring-boot-microservices-tutorial-part-3/
@nawwintphyu1873
@nawwintphyu1873 13 күн бұрын
Thank you so much!
@Vikin-5352
@Vikin-5352 4 ай бұрын
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.
@nailtagiyev6340
@nailtagiyev6340 4 ай бұрын
Nice Tutorial. Thanks
@jayasekharredditelluri1600
@jayasekharredditelluri1600 4 ай бұрын
When can we expect next tutorial ?
@ap0xF
@ap0xF 3 ай бұрын
How to load balance while using Spring Cloud Gateway MVC?
@rafaelrl85
@rafaelrl85 3 ай бұрын
How can you add a header and a value to the request to pass on the the next component :)?
@RAVIKUMAR-rs9fd
@RAVIKUMAR-rs9fd 3 ай бұрын
can i deploye this api gateway to the external tomacat server
@nzanontest7716
@nzanontest7716 2 ай бұрын
Thanks for the the greate tuturial. Are you not going to use the discovery service in this new version of the course?
@ProgrammingTechie
@ProgrammingTechie 2 ай бұрын
Yes discovery server will be replaced by kubernetes
@nzanontest7716
@nzanontest7716 2 ай бұрын
@@ProgrammingTechie thanks, always appreciate learning new stuff.
@jrgokavalsa
@jrgokavalsa 4 ай бұрын
How do we use Eureka Server to discover the service
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
I decided not to use Discovery Server for this series as we will anyway use Kubernetes for service discovery
@Sebastian-zs8cp
@Sebastian-zs8cp 4 ай бұрын
Do you need gateway and loadbalancer in google cloud or make google cloud it automatic?
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
Yes GCP has Cloud Load Balancing that can act as a Load Balancer.
@master_persi
@master_persi 4 ай бұрын
if there are multiple instances how will the request get routed
@Hakan-mg2qj
@Hakan-mg2qj 4 ай бұрын
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_persi
@master_persi 4 ай бұрын
@@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.
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
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
@aadiraj6126
@aadiraj6126 4 ай бұрын
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?
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
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.
@anthonya880
@anthonya880 4 ай бұрын
Is Spring Cloud Gateway popular vs Nginx or Kong ?
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
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
@junaidishaq6332
@junaidishaq6332 4 ай бұрын
Nice Tutorial. Thanks
Spring Boot Microservices Tutorial - Part 6 - Security using Keyloak
18:44
How To Build an API Gateway for Microservices with YARP
12:42
Milan Jovanović
Рет қаралды 20 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 43 МЛН
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 61 МЛН
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 16 МЛН
Building an API Gateway in Java with Spring Cloud Gateway
23:01
Spring Boot APIs Gateway in 20 Minutes
22:50
The IT Wizard
Рет қаралды 10 М.
5 Common Mistakes Spring Developers Make
18:06
Dan Vega
Рет қаралды 17 М.
Spring Tips: Spring Cloud Gateway for Spring MVC
26:19
SpringDeveloper
Рет қаралды 8 М.
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 86 М.
Bootiful Spring Boot 3.x by Josh Long @ Spring I/O 2024
54:26
Spring I/O
Рет қаралды 24 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 43 МЛН