Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

MongoDB connection and pool optimization v1.0.0

Use this resource to tune the connection pools and timeouts of a MongoDB client

New

  • 579 downloads
  • 159 likes
  • 102 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install mongodb-connection-pool-tuning

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent first looks at the application context (serverless, API, long-running tasks) before suggesting a pool size and timeouts. It also diagnoses ECONNREFUSED errors, pool exhaustion and high latency. You get a justified configuration.

Mostly picked by

Updated November 2, 2026

Card for the “MongoDB connection and pool optimization” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: method for calculating the initial pool size
  • SKILL.md: configuration scenarios and connection error diagnosis
  • references/monitoring-guide.md: connection monitoring guide

Good fit for

  • A serverless function opens too many MongoDB connections
  • Requests time out during traffic peaks

Not for

    Tags

    • mongodb
    • pool
    • connection
    • performance

    About

    You say

    “My Node.js API returns pool exhaustion errors under load, tune the MongoDB connection.”

    Card for the “MongoDB connection and pool optimization” skill

    Skill published by mongodb under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to tune the connection pools and timeouts of a MongoDB client
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE11.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/monitoring-guide.md8.6 KB
    • SKILL.md13.8 KB

    Origin and licence

    Listed unmodified

    Author
    mongodb
    Source
    github.com/mongodb/agent-skills/tree/155bb9c4b42a9a3e019f47be0669de0e4547d1ea/skills/mongodb-connection
    Licence
    Apache-2.0

    Notice

    « mongodb-connection » (mongodb, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.