Improving Spring Boot App Performance With Hikari Db Connection Pool | @javacodeex

  Рет қаралды 2,423

Java Codeex

Java Codeex

Күн бұрын

Improving Spring Boot App Performance With Hikari Db Connection Pool | ‪@javacodeex‬
#javacodeex #spring #springbootseries #springboot #restapi
Today's video will dive deep into database connection pooling with HikariCP in a Spring Boot application. We'll cover:
1. What a connection pool is
2. Why you need a connection pool
3. How to add HikariCP connection pooling to your Spring Boot application
JMeter Download Link: jmeter.apache.org/download_jm...
application.properties
---------------------------------------
Database Connection Properties
spring.application.name=student
server.port=9090
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=root
spring.datasource.password=****
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
HikariCP settings
spring.datasource.hikari.connection-timeout=20000
spring.datasource.hikari.maximum-pool-size=10
spring.datasource.hikari.minimum-idle=5
spring.datasource.hikari.idle-timeout=300000
spring.datasource.hikari.pool-name=HikariCP
spring.datasource.hikari.max-lifetime=600000
Logging settings
logging.level.com.zaxxer.hikari.HikariConfig=DEBUG
logging.level.com.zaxxer.hikari=TRACE
Table of Content
0:00 Introduction
4:00 Sample Application
5:13 Download JMeter
More Videos
Spring Boot Reactive REST API: • Creating Reactive Rest...
Spring Boot AOP: • Master Spring AOP With...
Spring Boot Profiles: • Unlock The Power Of Sp...
Spring Boot Data JPA with mySQL: • Mastering Spring Boot ...
Spring Boot Data JPA with PostgreSQL: • Master Spring Boot Dat...
Spring Boot Data JPA with H2DB: • Creating A Powerful Re...
Spring Boot Data JPA with GrahQL: • Creating A Powerful Re...
Spring Boot Docker: • How to run Spring Boot...
Docker Installation in Windows 10/11: • How to Install Docker ...
Jenkins Tutorial: • Jenkins 2024 Beginner ...
Subscribe: / @javacodeex
🎉 Thank You for Watching! 🎉
If you enjoyed this video and found it helpful, don't forget to show your support:
👍 Like the video to let us know you enjoyed it!
🔗 Share it with your friends and fellow developers.
💬 Comment below with your thoughts or any questions you might have.
And most importantly, Subscribe to our channel for more insightful Java development tutorials! Hit the notification bell 🔔 so you never miss an update.
Thank you for being an amazing part of our community!
Let's keep learning and growing together. 🚀
🔗 KZbin: / @javacodeex

Пікірлер: 6
@javacodeex
@javacodeex Ай бұрын
Please Subscribe and Support me
@universal4334
@universal4334 Ай бұрын
Nice video. Please make videos on these kinda things and educate us 😊.
@javacodeex
@javacodeex Ай бұрын
Sure 😊
@mandarmanoli1828
@mandarmanoli1828 Ай бұрын
gud 1.
@surjyakantaprusty7208
@surjyakantaprusty7208 Ай бұрын
Hey I need ur help as a beginner should I learn servlet JSP to learn spring boot or not
@javacodeex
@javacodeex Ай бұрын
it’s not strictly necessary to learn Servlets and JSP before Spring Boot, having some knowledge of them can be beneficial. If you’re eager to get started with modern web development in Java, you can begin with Spring Boot and learn the older technologies as needed.
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 29 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 5 МЛН
Spring Boot Hikari Connection Pool Tutorial
23:29
Java Tech Solutions
Рет қаралды 1,3 М.
Java Database Connection Leaks: Lessons Learned That You Must Know
15:39
TCS 3 Years Interview Experience | Java Spring Boot | Microservices
32:49
Insights Instructor
Рет қаралды 3,5 М.
What Is Happening with My Connections? Why Are They Closed?
35:37
SpringDeveloper
Рет қаралды 1 М.
Spring Boot: Detecting Connection Leak
6:55
ChargeAhead
Рет қаралды 29 М.
Top 7 Ways to 10x Your API Performance
6:05
ByteByteGo
Рет қаралды 321 М.
Boost Your Spring Boot Application Performance with Redis Cache
25:39
Java Tech Solutions
Рет қаралды 2,8 М.