Closed antonioconselheiro closed 2 months ago
Reusing connections is the best practice. NPool already does this. It's not perfect, but it at least reuses the connection.
If you want a different pool behavior I suggest creating a new class that implements the NRelay interface.
Understood
If I have two relays configured in my pool:
a
andb
, and I enter in a profile withb
andc
relays in relay list, would be correct create a pool reusing existingb
connection?Reusing connections is a good practice? If it is, I would like to suggest another pools model, like
NDerivatedPool
and/orNExtendedPool
, they should not be able to close inherited connections and reuse existing connections.