neuralbertatech / neuralbertatech/natKit

Switch from Threading to Multiprocessing in SerialStream and Fifo

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

Nobody has claimed this yet.

good first issue Maintenance
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.