WIP feat: rewrite #4

Closed
zacheryasc wants to merge 0 commits from develop into master
Owner

Rewrite to make the runtime more cache aware and amenable to load balancing across workers.

Rewrite to make the runtime more cache aware and amenable to load balancing across workers.
zacheryasc added 2 commits 2026-01-30 15:56:19 +00:00
Ran through a few passes of the 'happy path' with the debugger, ran flamegraph analysis: we
are very much overdoing the atomic ring buffer channels. They may be fast for concurrency
across threads, but we don't necessarily need that for every occasion.
Our first implementation is incredibly slow, and failed to scale with increased threads. In order to fix this, we
are implementing cache-aware batching of message processing, and an epoch-based actor rebalancing using shard pools.
zacheryasc added 1 commit 2026-02-05 03:46:27 +00:00
zacheryasc added 2 commits 2026-02-05 16:28:30 +00:00
In the middle of a vibe-coded infra change. Modularizing the components into APIs amenable to lots of testing and optimization.
Fleshing out the architecture before abstracting into components amenable to api-based test harnesses for fuzz and optimization working loops.
zacheryasc closed this pull request 2026-02-06 13:23:18 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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: zacheryasc/swactor#4
No description provided.