Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Asynchronous StAX? #3

Open
skreutzer opened this issue Jan 25, 2018 · 0 comments
Open

Asynchronous StAX? #3

skreutzer opened this issue Jan 25, 2018 · 0 comments

Comments

@skreutzer
Copy link
Member

It should be analyzed if it makes sense to make an asynchronous version of the StAX parser similar to node.js, so reading from the stream is non-blocking by giving back execution control to the caller after some time. On the other hand, in contrast to node.js, the StAX parser could work in a separate thread, which would be less expensive to spawn one initially or on-demand as an application doesn't need to handle a lot of parallel requests, so the gains from an asynchronous StAX implementation could be minimal.

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

No branches or pull requests

1 participant