Parallelization of Report list launch
The system offers the user the possibility of choosing how to parallelize the launch of a form. Parallelization on a single node is always guaranteed. However, a specific server configuration is required to parallelize on multiple nodes. A Kafka service is available in your cluster and the variables are set: JAVA_OPTS="$JAVA_OPTS -Dit.grupposervizi.easy.kafka.bootstrapserver='broker:29092'" JAVA_OPTS="$JAVA_OPTS -Dit.grupposervizi.easy.reportlist.distributed.enabled=true"
- Single-node parallelization
Singl-node parallelization allows up to a maximum of 5 forms to be run in parallel for each report list. Therefore, if the user launches 2 report lists, then the server will launch 10 forms in parallel. 2. Multi-node parallelization
Parallelization on multiple nodes is a feature that allows you to scale the launch of a report list on multiple nodes within the same cluster. This is made possible by the Kafka service which connects the nodes via a message queue. As stated previously, to enable the functionality it is necessary to have a compatible cluster and set the following properties:
- JAVA_OPTS="$JAVA_OPTS -Dit.grupposervizi.easy.kafka.bootstrapserver='broker:29092'": Deve contenere l'indirizzo del server kafka
- JAVA_OPTS="$JAVA_OPTS -Dit.grupposervizi.easy.reportlist.distributed.enabled=true": Deve essere settato a true altrimenti la scalabilità sarà single node
Note: Both in the multi-node and single-node case, each application server can launch a maximum of 5 forms for each report list and 2 report lists simultaneously.