Documentation on performance of compoxure
We were experiencing a lot of timeout issues with services and compoxure felt really slow. I just found that upping the UV_THREADPOOL_SIZE variable really speeds things up a lot. I guess it would be a good idea to document this, and of course I'm now wondering if there are other things that can speed up compoxure as well?
That's very interesting. We did a whole lot of load testing a ~year ago when we had a memory leak:
https://medium.com/@clifcunn/an-adventure-with-a-memory-leak-in-node-3568128a0e83#.1yrwzt6rw
And there is a simple benchmark in the example folder:
https://github.com/tes/compoxure/blob/master/example/benchmark.js
But not documented - we should definitely approach this more rigorously and document / encapsulate some of the best practice config as a result.
Will give this some thought.