[PERF] Shard RoutingTable to reduce lock contention #17

Open
opened 2026-02-11 19:23:47 +00:00 by thabeta · 0 comments
Owner

Description

The global RwLock on the RoutingTable causes thread contention during high-frequency route updates.

Proposed Fix

Implement sharding by subnet prefix or hash to allow multiple workers to update segments of the table concurrently.

### Description The global `RwLock` on the `RoutingTable` causes thread contention during high-frequency route updates. ### Proposed Fix Implement sharding by subnet prefix or hash to allow multiple workers to update segments of the table concurrently.
Sign in to join this conversation.
No labels
Urgent
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geomind_code/mycelium_network#17
No description provided.