-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support MultiThreading and Multiprocessing #71
Comments
Can you please elaborate on the issue? |
Sure, With each function there could be decorator something like where user can control number of threads for specified function, Something like: @fire_resource(threads=4) # it could use Threading API Or may be joblib in Sklearn same if we have to run functions concurrently. |
I think this is a documentation issue. Firefly is a Python WSGI application. It can be run using multiple threads or processes using any WSGI server. The recommended approach is using gunicorn. To run it using 4 processes:
To run using 4 threads:
@arshpreetsingh does it answer your question? |
Yes, Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: