mongobetween icon indicating copy to clipboard operation
mongobetween copied to clipboard

(POC) Pin cursors to connections

Open prestonvasquez opened this issue 1 year ago • 0 comments

The current implementation of MongoBetween uses a cursor caching solution with N >= 1 Mongos (LB7), so cursors being pinned to servers is acceptable. However, when load-balancing at the TCP layer it is not possible to target the same Mongos behind a load balancer when pooling connections (which is done under the hood in the Go Driver). This PR proposes pinning cursors and transactions to connections to account for this.

prestonvasquez avatar Apr 09 '24 21:04 prestonvasquez