Point72 / Point72/csp

Simplify push event queue impl

Open
#171 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lang: c++ type: enhancement
Dominant language
Python
Stars
441
Forks
90
Avg merge
1d 12m
Merged PRs (30d)
5

Description

The CSP Engine doesnt need to deal with the lock free queue with optional blocking, it's never really going to be used in non-blocking / busy looping mode.
We can replace it with a much simpler queue + mutex/condvar. No need for lockfree queues here, which also complicates how we (optionally) wait for data but may not process the data if timers are ready to fire

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CSP Engine's push event queue implementation and trace how it waits for data while timers are ready. Compare the current lock-free, optionally blocking behavior with the proposed queue plus mutex/condition variable, then verify that push-event processing and timer handling still behave correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
stream-processing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.