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

Asynchronous execution #13

Open
ppspps824 opened this issue Feb 5, 2023 · 3 comments
Open

Asynchronous execution #13

ppspps824 opened this issue Feb 5, 2023 · 3 comments

Comments

@ppspps824
Copy link

Hi. Thanks for the great product.
Does Barfi support asynchronous execution?
As far as I have tried, all nodes seem to be executed in sequence.

@krish-adi
Copy link
Owner

Hey! Yes, at the moment the nodes are executed in seqeunce. If you are interested in implementing this, you can open a PR and I can point you to how you can implement this.

@ppspps824
Copy link
Author

Thanks.
I was trying to use this for a simple job execution mechanism on Streamlit, but it didn't work. I finally set the compute engine to false and parsed the dict of the flow generated. The parsed results are processed multithreaded using asyncio.

@fkarg
Copy link
Contributor

fkarg commented Apr 11, 2023

Hey @ppspps824, do you mind sharing your implementation? I'd be interested in seeing how you did that

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

3 participants