Skip to content

🧠 Thread-Management | Lock-Free Queue Ring Buffers for Multi-Threaded Ingestion Channels #502

Description

@Sadeequ

Description

Using basic synchronized thread queues (queue.Queue) under extreme traffic loads creates contention delays among parallel network listeners trying to pass telemetry data points down to the engine.

Technical Requirements

  • Refactor connection passing paths inside src/utils/threading_pool.py to use a lock-free, fixed-size ring buffer array pattern.

  • Leverage atomic sequence indexes to track memory spaces safely without locking core processing threads.

If you find this implementation useful, please star the project and leave a review! 😊

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions