-
Notifications
You must be signed in to change notification settings - Fork 12
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
Stream scalability issues #76
Comments
For reference, this issue will require switching to a new internal JSON parser. |
@ohler55 has some nice performant JSON parsers in his repo's https://github.com/ohler55 |
@wouterbeek @LaurensRietveld Do you still want to go forward with this bounty? @Tpt would be available to take up this issue. |
@rubensworks Definitely; thanks @Tpt for looking into this! |
As discussed with @rubensworks, I will work on this issue via the Comunica Association. |
Sadly So, we might have to pick an other parser. |
Ah, that's too bad... Any suggestions for alternatives? If no alternatives exist, we could propose a PR with making that lib web-compatible. I would guess the effort of that would be limited. (but then we'd first have to be certain that this lib really does everything we need) |
Thank you! I have opened #100 to discuss it. |
Streaming is a memory and IO bound operation. It's likely the best approach will be using WASM + Go and as a base, utilizing Peter Ohler's OjG http://www.ohler.com/ You can email him and he's very responsive and can answer any questions. The work effort will be around compiling the Go code into a |
Thanks for the input @thadguidry. |
Ah, you want to stay in Javascript, no worries. |
Unfortunately @Tpt was not able to continue working on this bounty anymore, so this bounty will be unlocked again for other developers. Current status on this bounty is that a new library has been created to parse JSON in a streaming manner (memory-safe): https://github.com/comunica/json-event-parser.js The next step in this bounty is to plug it into this parser, and handle parsing in a spec-compliant manner. |
This is a master issue that acts as an overview of the following issues:
The text was updated successfully, but these errors were encountered: