Vincent Vauban
Vincent Vauban
  • 66
  • 19 925
Speed up your Spring Batch with Native Image and GraalVM
📈 Boost Your Spring Batch Performance with GraalVM Native Image! 🚀
Want to make your Spring Batch jobs start instantly? Tired of waiting for the JVM to warm up? This video will show you how to compile a Spring Batch application into a Native Image using GraalVM. The result? Blazing-fast startup times and reduced memory usage - perfect for short, on-demand batch jobs!
🔥 What you'll learn:
✅ What is a Native Image? (and why it matters for Spring Batch)
✅ What is GraalVM? (The Magic Behind Native Images)
✅ Step-by-step setup: PostgreSQL, GraalVM, and Visual Studio tools
✅ How to build a Spring Batch app that reads a CSV, logs it, and writes it to a PostgreSQL DB
✅ Native vs Non-Native Benchmark: See the performance difference (4s vs 0.2s!)
📋 Chapters
0:15 - Introduction: Why Native Image for Spring Batch?
1:09 - Definitions: GraalVM & Native Image
2:06 - Requirements & Setup (GraalVM, PostgreSQL, Visual Studio)
4:59 - Building the Batch App (Read CSV, Write to DB)
9:10 - Compiling to Native Image (GraalVM in action)
11:49 - Benchmark: Native Image vs Traditional JAR (Results)
14:40 - Conclusion: Why Native Image is perfect for Spring Batch
🔧 Requirements
1️⃣ Install GraalVM (latest version)
2️⃣ Install Visual Studio (with C++ build tools)
3️⃣ Run a PostgreSQL container:
⚡ Performance at a Glance
Without Native: ⏱️ 4 seconds to start the batch job
With Native Image: ⚡ 0.2 seconds to start the batch job!
If you want to build faster, more efficient Spring Batch jobs, this video will give you everything you need to level your performance. Don't forget to like, comment, and subscribe for more Spring, GraalVM, and Java tips!
#SpringBatch #GraalVM #NativeImage #Java #BatchProcessing #Performance #PostgreSQL
github.com/vinny59200/spring-batch-native-image
foojay.io/today/speed-up-your-spring-batch-with-native-image-and-graalvm/
มุมมอง: 74

วีดีโอ

Prevent LDAP injection in #java 💥💉with #springboot
มุมมอง 7521 วันที่ผ่านมา
🔥 What is LDAP and LDAP Injection? (Explained Simply) 🔒 0:45 What is LDAP? 2:03 LDAP Injection definition 3:26 OWASP recommendation 4:50 Coding Demo 8:43 Starting the LDAP 11:11 Spring Boot demo 15:30 Thanks In this video, we dive into the basics of LDAP (Lightweight Directory Access Protocol)-a powerful protocol used to manage directory information like user authentication, authorization, and ...
ResponseStaus annotation #springboot
มุมมอง 19หลายเดือนก่อน
code: github.com/vinny59200/QAresponsestatus doc: docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/ResponseStatus.html course: www.udemy.com/course/spring-professional-certification-6-full-tests-2v0-7222-a/?referralCode=04B6ED315B27753236AC
Fight by AI: not up to martial arts movies 🥋🎬
มุมมอง 320หลายเดือนก่อน
#fight #ai #meme Girl in red 💃
@Embeddedkafka - Minimal #kafka #testing with #java #spring
มุมมอง 774 หลายเดือนก่อน
github.com/vinny59200/embedded-kafka
🤖🧑‍💻 #Coding an #app in 5min with #chatGPT: Engines selling with country tax and quantity discount
มุมมอง 706 หลายเดือนก่อน
Prompt: Create a JS/HTML standalone application with a form asking the price, the quantity and the country code (code ISO 2). This app is for selling car engines, and it should output the total price the seller gives to his customer. Note that there are some business rules: First: the tax If you sell in France(FR) , the tax is zero. if you sell in Switzerland(CH) , the tax is 31 Euros for Belgi...
🔐✍️🤣 password form maze joke
มุมมอง 406 หลายเดือนก่อน
github.com/vinny59200/passwordJoke
CRUD in 5min with ChatGPT
มุมมอง 546 หลายเดือนก่อน
At my workplace 🏢, we host a BootCamp 🥾🏕️ for welcoming and integrating the newbies. One of the tasks 🎯 is to whip up an app 📱 in under 5 minutes ⏱️, adhering to a precise set of business rules 📋. I'm up for the challenge 🙌 and ready to tackle a task that involves creating a CRUD system for employees 🧑‍💼📝 with a feature to export data into a CSV file 📊💾.
quicktype.io: Convert JSON into gorgeous, TypeScript interfaces
มุมมอง 857 หลายเดือนก่อน
Get your TS interfaces from your JSON request body: app.quicktype.io/ Example of JSON request body: developers.hp.com/printos-hp-indigo-sdks-and-apis/doc/order-json-structure
#devcontainer : All you need for coding IN a container
มุมมอง 1017 หลายเดือนก่อน
VScode offers a development container extension that allows you to easily load a container equipped with all the necessary tools. This eliminates the need to install everything on your local machine, enabling you to run your application using the tools within the container. 0:11 Introduction 1:05 The application 1:51 Plugin install 2:58 Add configuration files 3:44 Starting dev container 4:57 R...
SpringBoot with GitHub Actions
มุมมอง 1408 หลายเดือนก่อน
Definition: GitHub Actions is a platform that enables automating software development workflows directly within GitHub repositories. It allows you to define custom workflows using YAML syntax, automating tasks like testing, building, and deploying software applications. Advantages: GitHub Actions simplifies CI/CD for Spring Boot developers by automating build, test, and deployment workflows. It...
SpringBoot JPA One to Many
มุมมอง 588 หลายเดือนก่อน
0:16 JPA KATA 0:28 Build app 1:45 Schema 6:11 IntelliJ 6:30 compile and build 6:47 crafting packages 7:18 crafting entities 9:17 crafting OneToMany 11:45 crafting repository 12:32 crafting controller 15:03 dataset 17:44 running app 18:45 conclusion github.com/vinny59200/jpa-one-to-many
HTMX + Spring Boot in a mini app
มุมมอง 2408 หลายเดือนก่อน
HTMX Spring Boot in a mini app
Postfix completion
มุมมอง 910 หลายเดือนก่อน
Postfix completion
🍃📝✅ Spring Certified Professional 2023 test taking feedback
มุมมอง 1.3K11 หลายเดือนก่อน
🍃📝✅ Spring Certified Professional 2023 test taking feedback
🙋‍♂️🌍 “Hello World” in Java ☕ is now simpler than ever, thanks to Java 21.
มุมมอง 2.3Kปีที่แล้ว
🙋‍♂️🌍 “Hello World” in Java ☕ is now simpler than ever, thanks to Java 21.
#fun Customer Expectations versus Actual delivered project
มุมมอง 45ปีที่แล้ว
#fun Customer Expectations versus Actual delivered project
LinkedIn cover picture creation with Bing (AI🤖) #linkedin #ai #picture
มุมมอง 306ปีที่แล้ว
LinkedIn cover picture creation with Bing (AI🤖) #linkedin #ai #picture
😆 🐶😹 #scrum #funny : dev alone versus scrum life
มุมมอง 46ปีที่แล้ว
😆 🐶😹 #scrum #funny : dev alone versus scrum life
Spring History: play the game 🕹
มุมมอง 124ปีที่แล้ว
Spring History: play the game 🕹
Discover #remix , the ⚛️ #react based #javascript framework
มุมมอง 61ปีที่แล้ว
Discover #remix , the ⚛️ #react based #javascript framework
New in 🍃 #spring 6.1: #RestClient (#RestTemplate successor)
มุมมอง 191ปีที่แล้ว
New in 🍃 #spring 6.1: #RestClient (#RestTemplate successor)
🧪🐋 #testcontainers in a #java ☕ #springboot 🍃 project
มุมมอง 120ปีที่แล้ว
🧪🐋 #testcontainers in a #java ☕ #springboot 🍃 project
☕2️⃣1️⃣ #java21 String Templates
มุมมอง 100ปีที่แล้ว
☕2️⃣1️⃣ #java21 String Templates
☕2️⃣1️⃣ #java 21 Sequenced Collections
มุมมอง 158ปีที่แล้ว
☕2️⃣1️⃣ #java 21 Sequenced Collections
🤖 FULL Impersonation AI Video: Picture 📺 + Voice 🗣️
มุมมอง 94ปีที่แล้ว
FULL Impersonation AI Video: Picture 📺 Voice 🗣️
#java 21 Unnamed Classes features
มุมมอง 296ปีที่แล้ว
#java 21 Unnamed Classes features
🤖ChatGPT coding: ⚛️React banking card selection with Material UI Radio buttons
มุมมอง 99ปีที่แล้ว
🤖ChatGPT coding: ⚛️React banking card selection with Material UI Radio buttons
Create a TodoList in ⚛️React with 🤖ChatGPT
มุมมอง 47ปีที่แล้ว
Create a TodoList in ⚛️React with 🤖ChatGPT
🅰️Angular 16 Signal 🚦 feature app with ChatGPT🤖
มุมมอง 148ปีที่แล้ว
🅰️Angular 16 Signal 🚦 feature app with ChatGPT🤖