Managing open bucket connections in node.js

We have a session-based node application that will support a large number of users.

We are maintaining one open bucket connection per bucket (in our cluster).

Currently keeping timestamps to track when a bucket is opened and last used.

How old is too old? (are we on the right track?)

When to disconnect bucket connection? Can we just open a bucket connection once and leave it open/actively being used for, say, 6 months?..is there a limit?

Hey @kivey,

You should have no problem opening a single connection to a bucket, and leaving it open indefinitely. Connections that get shut down for any reason are automatically re-connected. The only case where issues related to open bucket length occur is when there are badly behaving firewalls closing connections without performing TCP FIN notification (which is not common).

Cheers, Brett