-
Notifications
You must be signed in to change notification settings - Fork 152
question about mongodb connection handling #11
Copy link
Copy link
Open
Description
from looking at the history of the mongodb connection handling code, it started out with pretty much the code from the with-mongodb example
however it eventually ended up with caching the connection in global in both dev and production (even though there is a comment in the example about not using the global for production, which i don't understand why tbh).
is there a reason for that / an issue that made you switch the way of handling the connection?
also could you share the peak number of opened database connections you had and if possible what was the traffic like then? as i am wondering how the number of connections scales with traffic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels