Scaling Your Spring Boot App to Zero

  Рет қаралды 1,511

SpringDeveloper

SpringDeveloper

Күн бұрын

Speaker:
DaShaun Carter, VMware
Thomas Risberg, VMware
Serverless with scale to zero is very popular today. It lets you save server resources and money by only having your web app running when it is actually busy serving requests. JVM-based Spring Boot apps typically take several seconds to start, which introduces unwanted lag. We now have two exciting solutions available in Spring Boot 3 for this problem: compiling your app as a native application using GraalVM, or using the coordinated restore at checkpoint (CrAC) feature of OpenJDK. Both of these reduce start-up time to milliseconds.
We will take a look at using scale to zero for Spring Cloud Function apps as well as regular Spring Boot web apps running on Kubernetes with Knative and VMware Tanzu Application Platform. We will also explore using various cloud environments and any issues building and deploying your scale-to-zero apps.

Пікірлер: 2
@lhxperimental
@lhxperimental Жыл бұрын
You really need to talk about the Tracing Agent when talking about native image building. Even a basic spring boot app that uses JPA/Hibernate fails on start when using a native image with something like a ClassNotFoundError. Except the simplest apps, I haven't been able to generate a working native image without using the tracing agent and triggering major code paths to capture the info about dynamically loaded class.
Protect Your Microservices with Spring Cloud Gateway
28:10
SpringDeveloper
Рет қаралды 27 М.
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 25 МЛН
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 609 М.
Scaling Spring Boot Applications in Real-Time
1:05:51
SpringDeveloper
Рет қаралды 22 М.
Frustration-Free K8S for Spring Developers (SpringOne 2024)
37:51
SpringDeveloper
Рет қаралды 5 М.
Intelligent Beans with Spring AI
52:24
SpringDeveloper
Рет қаралды 3,6 М.
Passkeys: Goodbye Passwords, Hello Security! (SpringOne)
44:15
SpringDeveloper
Рет қаралды 7 М.
Spring Tips: Spring Boot 3.2
1:21:52
SpringDeveloper
Рет қаралды 76 М.
Scaling APIs With Spring Cloud
41:41
SpringDeveloper
Рет қаралды 3 М.
Spring MVC As AWS Lambda (SpringOne 2024)
48:07
SpringDeveloper
Рет қаралды 986
Spring Office Hours S3E32 - Streaming Data with Chris Bono
58:37
SpringDeveloper
Рет қаралды 1,4 М.