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

Full-featured job queue #1000

Open
Tracked by #80
lastmjs opened this issue Apr 15, 2023 · 1 comment
Open
Tracked by #80

Full-featured job queue #1000

lastmjs opened this issue Apr 15, 2023 · 1 comment
Labels
enhancement Improves behavior of existing functionality

Comments

@lastmjs
Copy link
Member

lastmjs commented Apr 15, 2023

Right now we are using the default simple job queue provided with Boa. This queue is apparently very simple, I believe it just takes tasks and executes them to completion one by one. The queue will not behave like other JS job queue, meaning our async/promise code probably deviates in major ways from the other JS engines. Apparently this is not part of the ECMAScript standard. We might not even have concurrency, I am not sure.

It would be great if Boa could provide a more complicated queue, but I'm not sure how long we would have to wait. Also, I'm not sure the simple queue is inadequate at this point. It seems to be working well for people, I just don't know when it would break down and why.

@dansteren dansteren added the enhancement Improves behavior of existing functionality label Jun 5, 2023
@lastmjs
Copy link
Member Author

lastmjs commented Jan 25, 2024

Make sure that our macro and micro task execution is good enough...can micro tasks spawn macro tasks? Our our loops good enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves behavior of existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants