Application Yml Articles
2 articles about Application Yml. Explore Spring Boot implementation, design, and operations across related topics.
-
How to Properly Configure and Tune Spring Boot's HikariCP Connection Pool - Why the Default of 10 Isn't Enough
Tuning steps to eliminate 'Connection is not available' errors in Spring Boot's HikariCP. Covers the default maximumPoolSize of 10 and the official formula (cores × 2 + 1), revising connectionTimeout from 30s to 3s, the relationship between maxLifetime and wait_timeout, and leak detection with leakDetectionThreshold, all with implementation examples. Includes comparison data showing timeout error rates reduced from 40% to 3% through configuration changes.
-
How to Encrypt Sensitive Information in Configuration Files Using Jasypt with Spring Boot
If you're concerned about storing database passwords and API keys in plain text in application.yml, Jasypt is an easy solution. This guide covers the full implementation process for production use, from encryption steps using the ENC() wrapper to integration with environment variables and CI.