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

Threaded Execution Strategy #57

Open
Seddryck opened this issue Sep 4, 2024 · 0 comments
Open

Threaded Execution Strategy #57

Seddryck opened this issue Sep 4, 2024 · 0 comments

Comments

@Seddryck
Copy link
Owner

Seddryck commented Sep 4, 2024

This feature provides flexible control over the mode of execution, enabling developers to choose between three execution strategies based on their requirements:

Main Thread Execution: In this mode, the processing is executed on the main application thread, making it suitable for simpler tasks that don't require concurrency or asynchronous handling.

Single Worker Thread Execution: This mode allows the process to run on a dedicated worker thread, isolating it from the main thread. It is ideal for more complex operations that benefit from multithreading, but still require sequential, blocking execution on a single worker.

Worker Thread with Async Support: This mode combines the benefits of a worker thread with asynchronous task handling. It allows for non-blocking operations on a worker thread, enabling the processing of multiple tasks concurrently without freezing the worker, making it particularly useful for high-performance, I/O-bound, or latency-sensitive tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant