Wednesday 17 May 2017

How to speed up snabbdom rendering

I have node.js project that renders html on back end. I'm using snabbdom for rendering. When there are a lot of requests to server, it slows down. I bet that it is because node is single thread and snabbdom rendering functions (like h1(span('text')) ) are not asynchronous. So, each render is blocking all other requests. How to solve this issue? Is there any way to render snabbdom asynchronously?



via Michael Kapustey

No comments:

Post a Comment