[SERVER-63677] Consider using `boost::multimap` to maintain timers for `BatonASIO` Created: 15/Feb/22 Updated: 15/Mar/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Amirsaman Memaripour | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | servicearch-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: | |
| Story Points: | 2 |
| Description |
|
The networking baton uses two separate data structures to maintain scheduled timers:
Consider using boost::multimap to maintain the timers and reduce the complexity of keeping _timers and _timersById consistent. |