[BGPCEP-1006] Reuse Timers across multiple PCEP requests Created: 21/Apr/22 Updated: 23/Apr/22 Resolved: 23/Apr/22 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | PCEP |
| Affects Version/s: | None |
| Fix Version/s: | 0.16.15, 0.17.2 |
| Type: | Improvement | Priority: | High |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Each PCEP request currently allocates its own timer. This is utterly wasteful and creates a ton of short-lived threads. Switch to a global HashedWheelTimer and schedule timeouts on that. |