Answer the question
In order to leave comments, you need to log in
How to speed up Node.js json data processing?
When connecting to a web-socket on the site, I receive information in the form of JSON (several tens per second) of the form:
I parse it using json.parse and, according to the conditions, determine whether I need it or not. Is there a faster algorithm that will either parse all received json data asynchronously or process it? {"value":"1505","id":"23","type":"1497488"}
Answer the question
In order to leave comments, you need to log in
And to send to the client only those events for which he subscribed? To not burn traffic in vain?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question