Тёмный

How Boost Your Spring Boot App Performance | Spring Boot Data Base Connection Pool Hikari 

JavaCodex
Подписаться 450
Просмотров 770
50% 1

How Boost Your Spring Boot App Performance | Spring Boot Data Base Connection Pool Hikari | ‪@javacodex24‬
#ajtech_24 #spring #springbootseries #springboot #restapi
In today's video, we'll 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
0:00 Introduction
4:00 Sample Application
5:13 Download JMeter
More Videos
Spring Boot Reactive REST API: • Part -5 | How to Creat...
Spring Boot AOP: • Spring AOP Tutorial S...
Spring Boot Profiles: • How to Create Spring P...
Spring Boot Data JPA with mySQL: • Spring Boot Data JPA |...
Spring Boot Data JPA with PostgreSQL: • Spring Boot Data JPA |...
Spring Boot Data JPA with H2DB: • Spring Boot | GraphQL ...
Spring Boot Data JPA with GrahQL: • Spring Boot | GraphQL ...
Spring Boot Docker: • How to run Spring Boot...
Docker Installation in Windows 10/11: • How to Install Docker ...
Jenkins Tutorial: • Jenkins 2024 Beginner ...
Subscribe: / @javacodex24
🎉 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. 🚀
🔗 RU-vid: / @javacodex24

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@javacodex24
@javacodex24 5 дней назад
Please Subscribe and Support me
@mandarmanoli1828
@mandarmanoli1828 5 дней назад
gud 1.
@universal4334
@universal4334 5 дней назад
Nice video. Please make videos on these kinda things and educate us 😊.
@javacodex24
@javacodex24 5 дней назад
Sure 😊
@surjyakantaprusty7208
@surjyakantaprusty7208 День назад
Hey I need ur help as a beginner should I learn servlet JSP to learn spring boot or not
@javacodex24
@javacodex24 День назад
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.
Далее
ПОЮ ЛЕТНИЕ ПЕСНИ🌞
3:16:55
Просмотров 1,7 млн
КОРОЧЕ ГОВОРЯ, ШКОЛА БУДУЩЕГО
10:40
Spring Boot Hikari Connection Pool Tutorial
23:29
the right way to organise your code
17:33
Просмотров 193 тыс.
ПОЮ ЛЕТНИЕ ПЕСНИ🌞
3:16:55
Просмотров 1,7 млн