socket.io-parser icon indicating copy to clipboard operation
socket.io-parser copied to clipboard

Non-blocking parser

Open hrdwdmrbl opened this issue 6 years ago • 0 comments
trafficstars

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?

hrdwdmrbl avatar May 14 '19 08:05 hrdwdmrbl