Changes

Jump to navigation Jump to search
3,662 bytes added ,  08:59, 9 September 2020
Line 110: Line 110:  
* [https://www.resco.net/products/inspections/ Resco Inspections product page] that includes a link to start a trial organization.
 
* [https://www.resco.net/products/inspections/ Resco Inspections product page] that includes a link to start a trial organization.
 
* [https://academy.resco.net/course/view.php?id=14 Resco Inspections online training] {{Badge|Academy}}
 
* [https://academy.resco.net/course/view.php?id=14 Resco Inspections online training] {{Badge|Academy}}
 +
 +
== Performance considerations ==
 +
 +
When you deploy Resco Inspections in large projects without considering performance, your users may experience performance degradation. Learn about the possible problems in advance and set up your questionnaires to mitigate the risks.
 +
 +
=== Rapidly increasing database footprint ===
 +
 +
If you are using the default questionnaire settings, every single answered questionnaire is saved in a self-contained way, i.e., it includes the answers, but also the questions along any possible custom images (logo), business rules, and styles. This approach ensures that even if the original questionnaire template changes, your answered questionnaires are unaffected.
 +
 +
In scenarios where questionnaires are changing frequently and each questionnaire is answered only a limited number of times, this is a valid approach. However, if your inspectors perform hundreds or thousands of inspections every day, you might discover that your database gets full of redundant data.
 +
 +
Use the parameter '''Dependency Level''' in the [[Questionnaire_Designer#Properties_pane|properties of a questionnaire template]] to control this behavior.
 +
 +
* '''None''': This is default value. Questionnaires are self-contained, at the cost of increased database footprint.
 +
* '''Images''': In this case, static images of the questionnaire template (such as the logo) are not included in each answer.
 +
* '''Full''': Save only the answers. Static images, questions, rules, and styles are not included; instead, they are replaced with a reference to a questionnaire template. This option is recommended if your questionnaires rarely change and it is only available for versioned questionnaire templates.
 +
 +
=== Slow questionnaire loading time ===
 +
 +
If your complex questionnaire templates include many On Change rules, app users may experience slow performance when they open the questionnaire in the app. This issue affects particularly older devices.
 +
 +
Edit your questionnaire template and on the [[Questionnaire_Designer#Properties_pane|'''Properties''' pane]], set the '''Rules Version''' parameter to '''Latest''', to take advantage of optimized handling of On Change rules during questionnaire loading. To learn more about this parameter, read [[Questionnaire_Designer#Rules_version|Rules version]].
 +
 +
=== Sync: upload takes too long ===
 +
 +
Inspectors in the field who perform many large inspections regularly may sometimes experience the problem that the upload phase of synchronization takes too long, particularly is the network isn't too good. Increasing the dependency level to full as described above can help, because the amount of data for upload is reduced. Additional savings can be accomplished by changing how questionnaire answers are stored and uploaded.
 +
 +
Edit your questionnaire template and on the [[Questionnaire_Designer#Properties_pane|'''Properties''' pane]], configure the '''Answer Storage''' to select how should the answers be stored.
 +
 +
* '''Records''': This is the default option. Each answer is transferred as a single record during synchronization. This may make synchronization slower, but ensures the best compatibility with the backend servers and allows you to leverage existing tools to visualize the data.
 +
* '''JSON''' or '''Compressed JSON''': These options offer improved synchronization performance, however, not all tools understand JSON.
 +
 +
=== Sync: download takes too long ===
 +
 +
If your app users (inspectors in the field) experience long download times followed by many deletions, consider setting the [[App_projects#Managing_entities|'''Synchronization''' strategy]] for the entity Questionnaire to '''Incremental with Sync Filter'''.
 +
    
[[Category:Resco Inspections]]
 
[[Category:Resco Inspections]]

Navigation menu