Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Anchor | ||||
---|---|---|---|---|
|
Although Fiorano ESB architecture scales very well in a distributed environment, Fiorano users and developers are encouraged to adopt the strategies mentioned the sections below.
Anchor | ||||
---|---|---|---|---|
|
Tune the JVM Parameters according to memory consumption within your environment. The most important parameters are:
...
The default maximum JVM heap size is 64 MB. The Fiorano tools leave the JVM parameters as the default parameter, that is, 64 MB heap memory for each of the components. This JVM parameter can be fine tuned to reduce the memory footprint of individual microservice instances. The amount of memory allocated per JVM can and should be reduced for smaller components ( such as flow-control components ) or increased for memory-heavy components (such as, XSLT, such as XSLT and Database Adapter, and so on).
The default heap size for server (Enterprise and Peer) can be set in the following files (that is, the file applicable based on the script being used to run the server):
...
Figure 1: JVM_PARAMS Properties Screen
...
Although Fiorano ESB architecture scales very well in a distributed environment, Fiorano users and developers are encouraged to adopt the strategies mentioned the sections below.
Separate Machines for Servers
Run the Enterprise Server and Peer Servers on different machines. This helps in getting additional available memory for components.
Anchor | ||||
---|---|---|---|---|
|
...
Distribute the Microservices
Distribute the flows across all the peers. Group the components inside flows logically so that a single unit of work is done using just one peer.
...
- Click the output port of the last microservice in EventProcess1; the port turn turns blue in colour.
- In Properties panel, select the following values in the JMS Destination tab:
- Destination Type: Topic
- Custom Destination: Yes
- Destination Name: Click the button present on the right side of the property and select 'EVENTS_TOPIC' (choose as per preference).
- Similarly, configure the same settings with the same destination on the input port of the first microservice present in EventProcess2.
...
Note |
---|
|
...