Once Fast2 is installed, several components can be easily configured to adapt the software as much as your constraints might require.
Among all these components, you can find :
- the broker
- the worker(s)
- the UI port
- the background database
- the dashboard add-on
Configure the broker
Depending on the amount of documents you are dealing with, you may want to control max memory usage allowed (Xmx) for broker.
<FAST2_HOME>/config/env.properties file is configured by default to 1GB for this resource :
... # Broker Maximum memory allowed (Xmx) BROKER_MAX_MEMORY=1G
If the campaign are involving a couple of millions of documents, increasing this value to 8GB or 16GB will help increasing the performance rate of the migration.
Configure the worker(s)
Depending on the amount of documents and the number of tasks you are dealing with, you may want to control max memory usage allowed (Xmx) for worker.
<FAST2_HOME>/config/env.properties file is configured by default to 1GB for this resource:
... # Worker Maximum memory allowed (Xmx) WORKER_MAX_MEMORY=1G
Keep in mind that this property is designed for workers started from the binary
start-worker.sh|.bat. If you intend to target the embedded worker, go to
... # Broker embedded worker max memory broker.embeddedworker.max.memory=1G
For more information about the worker, head out to the dedicated section.
Configure the UI port
Fast2 application run on the 1789 port by default. To change this, add the parameters below if they are not already defined in the
... # Remote broker port to use by the worker # broker.port=1789 server.port=1789
Put the same value for these two properties.
Configure the background database
However the configuration of both these databases are quite similar. This is why we will refer to them as the “background database”.
The database communicates with the broker via the port 1790 (as illustrated in the architecture section).
For more details on this component such as configuration, refer to dedicated section.
Configure the dashboard add-on
However the configuration of both these vizualisation tools are quite similar. This is why we will refer to them as the “dashboard”.
Fast2 does not embed any dashboard by default. However, you can get the add-on through the same portal you downloaded the Fast2 binaries. Unzip the package at the root of Fast2 installation folder.
This hierarchy will make Fast2 automatically start your dashboard.
You will still be able to disable dashboards by updating the
config/application.properties file :
The dashboard only communicates with the database (as illustrated in the architecture section), and is accessible via the port 1791.
The ports related to dashboard usage can be updated as well, based on the knowledge accessible here.
For basic understanding and usage of this component, refer to dedicated section.