neuralbertatech / neuralbertatech/natKit
Switch from Threading to Multiprocessing in SerialStream and Fifo
Nobody has claimed this yet.
- Dominant language
- Svelte
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Both SerialStream and Fifo are currently using Threading for it's multithreading management. In python the threading module is limited by the Global Interpreter Lock (GIL) which restricts the interpreter to only running a single thread at any point in time. As such this project would benefit from switching to the parallels Multiprocessing module.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/stream/serial_stream.py and src/utility/fifo.py to understand their current threading management and how the two components interact. Check the existing behavior before changing the concurrency approach; the work is done when both components use Python multiprocessing while preserving their current stream and FIFO behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100