N
N
Nikolay372018-10-18 23:48:37
JSON
Nikolay37, 2018-10-18 23:48:37

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

1 answer(s)
I
Ivan Shumov, 2018-10-19
@inoise

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 question

Ask a Question

731 491 924 answers to any question