Load balancing



  • Hi, I'm new to the forum, is there any guide on how to set up th load balancing between more than one JsReport installation?, thanks in advance



  • Welcome :)

    jsreport load balancing is basically just like any other webapp.
    The main thing that you need to consider is the database/source of truth, in the case of jsreport template store and blob storage.

    If you persist templates or blobs using the default file system store, you will need to have it on a shared network disk reachable by all load balanced instances.

    The other option is to use a full-blown database like mongo or SQL and an appropriate jsreport driver.
    https://jsreport.net/learn/template-stores

    If you don't persist templates, you can load balance without a need to think about it extra.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.