[SERVER-28664] ASIO connection pool should bias itself towards more recently used connections Created: 06/Apr/17 Updated: 06/Dec/17 Resolved: 13/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Platforms 2017-04-17 | ||||
| Participants: | |||||
| Description |
|
The connection pool inside of asio currently hands out connection randomly. If it handed out the most recently used connection instead, it would give less used connections an opportunity to age out and be organically dropped. This would also minimize the number of active clients on a mongod ahead of the actual connection drop (as fewer threads would be asked to do more work) |
| Comments |
| Comment by Githook User [ 13/Apr/17 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |