Converting existing node transform streams to use msgpackr #133
Unanswered
PhilWhitehurst
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a series of node transform streams that after the first transform are stringifying and parsing json between themselves in a pipeline. The output is streamed to a browser and parsed back into JSON.
What is the best way to convert these to use msgpackr. Is it to include the pack / unpack functions in my existing transform streams or is there a better way? Is there a streaming transform class that includes both unpack and pack that I can extend rather than extending the node transform class?
The json being passed is many objects of the same structure and it seems msgpackr is an ideal package to give it a speed boost.
Beta Was this translation helpful? Give feedback.
All reactions