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

Dose Genie support handling multiple requests #714

Open
anke1460 opened this issue May 11, 2024 · 1 comment
Open

Dose Genie support handling multiple requests #714

anke1460 opened this issue May 11, 2024 · 1 comment

Comments

@anke1460
Copy link

i have the same question , but not one answered

@essenciary
Copy link
Member

essenciary commented Jun 10, 2024

This is probably better moved into discussions as it's not an issue.

Genie supports handling multiple requests (in parallel). Always did. However, Julia supports multiple types of parallelism: https://docs.julialang.org/en/v1/manual/parallel-computing/

By default, Genie runs each request as an async task / coroutine - so each request will be handled non-blocking, but on the same CPU core.

We have the feature ready to also process the requests multi-threaded (on distinct workers/cpu cores) but it needs to be merged. It's actually been available for a while, but my tests haven't shown any performance benefit from running the requests multi-threaded vs async, so it kind of fell behind.

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

No branches or pull requests

2 participants