configuration-tuning

Tune JVM, connection pool, caching, and framework configuration parameters for target platforms.

1|1|Updated May 16, 2026
One-click install
npx skills add https://github.com/vanduc2514/hackathon-lablab-ibm-bob --skill configuration-tuning-vanduc2514
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: configuration-tuning
Source: https://github.com/vanduc2514/hackathon-lablab-ibm-bob/tree/main/.bob/skills/configuration-tuning
Command: npx skills add https://github.com/vanduc2514/hackathon-lablab-ibm-bob --skill configuration-tuning-vanduc2514

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Migrated applications often run with default or legacy configuration values that waste resources and limit performance. This Skill systematically tunes JVM settings, connection pools, caching, timeouts, and framework parameters to improve throughput and stability without changing application code. ## Core Features & Use Cases - Multi-Layer Tuning: Adjusts JVM garbage collection, Hikari connection pools, Tomcat thread pools, cache eviction policies, and network timeouts with documented rationale. - Calculation-Based Sizing: Provides formulas for connection pool size, thread pool size, and heap allocation based on core count, workload type, and available memory. - Documented Output: Produces an optimization_configuration_changes.md file with before/after values, expected impact, tuning methodology, and rollback instructions. - Use Case: After migrating a Spring Boot application to a new platform, use this Skill to right-size the Hikari pool, switch to G1GC, and configure Caffeine caching, reducing GC pause time and connection wait time. ## Quick Start Tune the JVM, database connection pool, and caching configurations for my migrated Spring Boot application and document the before and after settings with rollback steps.

Frequently Asked Questions about configuration-tuning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I tune JVM settings for a Spring Boot application?▼

Set Xms equal to Xmx to avoid heap resizing overhead, enable G1GC for large heaps, and target MaxGCPauseMillis around 200ms for low latency. Size the heap at roughly 50-75% of container memory after accounting for non-heap usage.

How to calculate the right database connection pool size?▼

Use the formula pool_size = (core_count * 2) + effective_spindle_count, or core_count * 4 for cloud and SSD environments. Also analyze concurrent request patterns and add leak detection thresholds to catch connection leaks.

What cache configuration improves hit rate in Java applications?▼

Replace ConcurrentMapCacheManager with Caffeine, set a maximum size to prevent unbounded memory growth, configure expireAfterWrite TTL for data freshness, and enable stats recording for monitoring. This typically raises cache hit rates significantly.

Should configuration changes be applied all at once?▼

No. Tune one parameter at a time to isolate impact, validate each change in a staging environment first, and monitor metrics after every adjustment. Document rollback instructions for each change before applying it to production.

Does this tuning approach work for Node.js or Python applications?▼

Yes. The same methodology applies to Node.js event loop and V8 heap settings, Python WSGI workers and async settings, and .NET thread pool and Kestrel configuration, in addition to Java and database platforms.