optimizing-database-connection-pooling
БесплатноБез исполняемых скриптовНе проверенThis skill optimizes database connection pooling for enhanced performance and resource management. It is activated when the user requests assistance with…
от BbgnsurfTech★ 30 звёзд на GitHubОб этом скилле
Overview
This skill enables Claude to generate and configure database connection pools, ensuring optimal performance and resource utilization. It provides guidance on selecting appropriate pool settings, managing connection lifecycles, and monitoring pool performance.
How It Works
- Identify Requirements: Analyzes the user's request to determine the target database, programming language, and performance goals.
- Generate Configuration: Creates a connection pool configuration tailored to the specified environment, including settings for minimum and maximum pool size, connection timeout, and other relevant parameters.
- Implement Monitoring: Sets up monitoring for key pool metrics, such as connection usage, wait times, and error rates.
When to Use This Skill
This skill activates when you need to:
- Implement connection pooling for a database application.
- Optimize existing connection pool configurations.
- Troubleshoot connection-related performance issues.
Examples
Example 1: Implementing Connection Pooling in Python
User request: "Implement connection pooling in Python for a PostgreSQL database to improve performance."
The skill will:
- Generate a Python code snippet using a connection pool library like
psycopg2orSQLAlchemy. - Configure the connection pool with optimal settings for the PostgreSQL database, such as maximum pool size and connection timeout.
Example 2: Optimizing Connection Pool Configuration in Java
User request: "Optimize the connection pool configuration in my Java application using HikariCP to reduce connection wait times."
The skill will:
- Analyze the existing HikariCP configuration.
- Suggest adjustments to parameters like minimum idle connections, maximum pool size, and connection timeout to minimize wait times.
Best Practices
- Connection Timeout: Set a reasonable connection timeout to prevent indefinite waiting.
- Pool Size: Adjust the pool size based on the application's workload and database server capacity.
- Connection Testing: Implement connection validation to ensure connections are still valid before use.
Integration
This skill can integrate with other Claude Code plugins for database management, code generation, and performance monitoring to provide a comprehensive solution for database optimization.
Установить optimizing-database-connection-pooling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepGlobBashFAQ
Что делает скилл optimizing-database-connection-pooling?
This skill optimizes database connection pooling for enhanced performance and resource management. It is activated when the user requests assistance with connection pooling, database performance tuning, or connection lifecycle management. Use this skill to implement and configure connection pools in various programming languages, identify optimal pool settings, and troubleshoot common connection-related issues. The skill is triggered by phrases like "connection pooling," "optimize database connections," or "improve database performance with connection pool."
Как установить скилл optimizing-database-connection-pooling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл optimizing-database-connection-pooling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic