refactor: major library changes #5

Merged
zacheryasc merged 9 commits from swactor-runtime-api into master 2026-02-06 11:25:38 +00:00
Owner

Refactoring to logically separate component modules in order to make it easier to develop tests, metrics, tracing, etc.

Refactoring to logically separate component modules in order to make it easier to develop tests, metrics, tracing, etc.
zacheryasc added 9 commits 2026-02-06 11:25:07 +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.
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.
Better consoliation of modules into more logical components.
Refactor the tests and component APIs to be more amenable to metrics, fuzzing, understanding data flows, etc.
Logically separate the runtime and worker thread, to make it more amenable for testing, visualization, reasoning, etc.
zacheryasc merged commit 5a9af73de6 into master 2026-02-06 11:25:38 +00:00
zacheryasc deleted branch swactor-runtime-api 2026-02-06 11:25:38 +00:00
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#5
No description provided.