Skip to content

Release/0.4.3#11

Merged
sushanthpy merged 3 commits intomainfrom
release/0.4.3
Jan 23, 2026
Merged

Release/0.4.3#11
sushanthpy merged 3 commits intomainfrom
release/0.4.3

Conversation

@sushanthpy
Copy link
Copy Markdown
Member

No description provided.

- Add PriorityQueue with ordered-key queue entries (priority + ready_ts + sequence)
- Implement abstract QueueBackend interface with FFI, gRPC, and InMemory backends
- Add QueueTransaction for atomic claim protocol with visibility timeout
- Implement StreamingTopK for O(N log K) top-K selection
- Add factory methods: from_database(), from_client(), from_backend(), create_queue()
- Include QueueKey with big-endian encoding for lexicographic scan ordering
- Add Task model with claim/ack/nack/dead-letter support
- Add comprehensive test suite (31 tests)
- Add queue_benchmark.py for performance verification

Performance metrics:
- QueueKey encode/decode: ~411K ops/s
- Enqueue: ~31-83K ops/s
- Dequeue+Ack: ~1K ops/s
- StreamingTopK (n=10K, k=10): ~212 ops/s
- Add section 17 with queue features, usage examples, and best practices
- Document FFI/gRPC dual-mode support
- Include worker patterns, streaming top-K, and performance benchmarks
- Update all subsequent section numbers (18-37)
- Add to table of contents
@sushanthpy sushanthpy merged commit df5596a into main Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant