Error during session retrieval in Passport middleware
0 reputation · 15 Sept 2025, 10:22 UTC
Passport Session Handling
The goal is to determine if Passport's session retrieval mechanism contributes to intermittent connection pool exhaustion when using an external store.
Constraints and Uncertainty
The exhaustion is likely external to Passport, residing in the configured session store (e.g., Redis or database).
Does Passport exhibit any internal behavior that exacerbates connection pool usage during session lookups under load?
When using a custom session strategy, is there a documented performance characteristic related to connection pooling?