How to maximize the performance with multi-core CPU?
I am wondering what is the best jsReport configuration we can set to maximize the report rendering performance.
Here is our case:
- our server has a multi-core CPU
- the blobStorage is fileSystem
- all the reports are edited by one developer
- all the reports are accessed through the jsReport endpoints
Basically, my question is that how we can balance the traffic for retrieving the reports on multiple CPU cores.
Thanks a lot!
hi! maybe these links can help you if are trying to scale the jsreport server at its best:
about your question of multiple CPU cores, jsreport is already delegating work across different worker processes so the only thing that you need to do is to increase the number of workers that jsreport will manage. you can do this by increasing the
taskssection of the configuration, a good rule can be to have a 1 worker per cpu core but you can add more if you want, just be sure to test how your app performs with more workers and find the right number.
Thanks! This is really helpful.