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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • 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. 🚀
    🔗 TH-cam: / @javacodeex

ความคิดเห็น • 6

  • @javacodeex
    @javacodeex  หลายเดือนก่อน +1

    Please Subscribe and Support me

  • @universal4334
    @universal4334 หลายเดือนก่อน +1

    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.