compoxure icon indicating copy to clipboard operation
compoxure copied to clipboard

Documentation on performance of compoxure

Open RonRademaker opened this issue 9 years ago • 2 comments

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?

RonRademaker avatar Jul 29 '16 08:07 RonRademaker

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.

cliftonc avatar Aug 01 '16 12:08 cliftonc

Will give this some thought.

cliftonc avatar Jan 12 '18 14:01 cliftonc