Skip to content

Non-blocking parser #5093

Open
Open
@hrdwdmrbl

Description

@hrdwdmrbl

I was having some troubles in our app with parsing JSON of several hundred MB. As a result I needed something that could handle that without starving the event-loop. I found https://github.com/ibmruntimes/yieldable-json and then made a socket.io-parser version which uses it https://github.com/hrdwdmrbl/socket.io-yieldable-parser.

Are you aware of any other similar parsers?

I was also interested in building a streaming parser, but it would seem like I would need to implement such a thing higher up the socket.io stack, eh?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions