Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Multi-Threading #254

Closed
wants to merge 3 commits into from
Closed

Conversation

hustic
Copy link
Contributor

@hustic hustic commented Jan 4, 2024

Exploration of implementing concurrency in SAYN with Multi-Threading.

This implementation uses ThreadPoolExecutor from concurrent.futures.
A simple lock was added to try to ensure thread-safety, but it results at the execution being sequential (added a sleep to simulate how the lock would behave when waiting on a DB operation to finish).

The terminal outputs are broken but can be used to check on the concurrency of the execution.

@hustic hustic marked this pull request as draft January 16, 2024 15:27
@hustic hustic closed this Jan 18, 2024
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