While we care for race conditions, we can share the mutable vector, that has synchronized connection information in it, which should be more beneficial than the current implementation where a lock is help over the entire vector until the connection is modified / accessed, at which then it will be released.
While we care for race conditions, we can share the mutable vector, that has synchronized connection information in it, which should be more beneficial than the current implementation where a lock is help over the entire vector until the connection is modified / accessed, at which then it will be released.
For an example on this, see my test