Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection pool docs #2845

Open
zuozp8 opened this issue Oct 1, 2024 · 1 comment
Open

Connection pool docs #2845

zuozp8 opened this issue Oct 1, 2024 · 1 comment

Comments

@zuozp8
Copy link

zuozp8 commented Oct 1, 2024

Description

It would be great to explain (for example in client-configuration.md that single connection is sufficient most of the time and therefore there is no need for connection pooling.

I was looking in docs for options regarding connection pools (as I usually do when I set up the database client) and i found none (except for isolated connection pool). As I looked briefly it seems that commands are sent to the server as fast as the underlying socket allows it

rickyssj2 added a commit to rickyssj2/node-redis that referenced this issue Feb 18, 2025
…in isolationPoolOptions

- Added a Connection Pooling section in `createClient` documentation to clarify that a single connection is typically sufficient and to provide guidance on when to use a connection pool.
- Updated `isolationPoolOptions` description with a more precise explanation and replaced the broken link with a reference to `createClientPool`.
- Changes made based on issue redis#2845.
@rickyssj2
Copy link

I have updated the docs. Let me know if anything else is needed. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants