EMRY-004: Lock-free SPSC ring buffer #5

Closed
opened 2026-06-24 00:20:41 +00:00 by vxfemboy · 1 comment
vxfemboy commented 2026-06-24 00:20:41 +00:00 (Migrated from github.com)

EventRing (rtrb wrapper)

Tasks

  • EventRing::push(Event) -> Result<(), RingFull>
  • Default capacity 65_536
  • Test: 10_000 push/pop without deadlock
  • Test: overflow returns RingFull, increment drop counter

Acceptance

  • Document backpressure policy (drop + count, never block training)

Depends on: EMRY-001, EMRY-002
Estimate: 6h

## EventRing (rtrb wrapper) ### Tasks - [ ] `EventRing::push(Event) -> Result<(), RingFull>` - [ ] Default capacity 65_536 - [ ] Test: 10_000 push/pop without deadlock - [ ] Test: overflow returns RingFull, increment drop counter ### Acceptance - [ ] Document backpressure policy (drop + count, never block training) **Depends on:** EMRY-001, EMRY-002 **Estimate:** 6h
vxfemboy commented 2026-06-25 11:45:33 +00:00 (Migrated from github.com)

Completed and merged in PR #52.

Completed and merged in PR #52.
Sign in to join this conversation.
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
femboy/emry#5
No description provided.