Performance of external artemis instance


Pranav Tendolkar
 

Hi,

I was wondering what effect would using an external artemis instance have on the performance of the corda node?

Would there be any advantage provided by the external artemis on the TPS that the node can achieve?

 

Currently just as a test, I have set up a node with external artemis on corda enterprise 4.1 with corda firewall. This setup seems to work, but the corda firewall is bound to reduce some performance. Is it possible to have an external artemis setup without the use of corda firewall?


Matthew Nesbit
 

Hi Pranav,

 

We did the work for External Artemis primarily from the perspective of HA, enhanced security separation and sharing of Corda Firewall’s between nodes, so we have not fully investigated any performance enhancements. However, it should give more latitude to tune the Artemis memory, I/O and CPU to better suit Artemis without affecting the node’s own resources.

 

Certainly, you can run external Artemis without using Corda firewall, although I would suggest you consider the advantages of doing so for security and to ease interaction with DMZ zones.  To enable the mode you are discussing set the messagingServerAddress to point at the artemis broker, the messagingServerExternal to true and the p2pAddress to the externally exposed address of the artemis broker (set detectPublicIp to false is probably helpful too).

 

Matthew

 

From: corda-dev@groups.io <corda-dev@groups.io> On Behalf Of pranav via Groups.Io
Sent: 08 August 2019 06:15
To: corda-dev@groups.io
Subject: [corda-dev] Performance of external artemis instance

 

Hi,

I was wondering what effect would using an external artemis instance have on the performance of the corda node?

Would there be any advantage provided by the external artemis on the TPS that the node can achieve?

 

Currently just as a test, I have set up a node with external artemis on corda enterprise 4.1 with corda firewall. This setup seems to work, but the corda firewall is bound to reduce some performance. Is it possible to have an external artemis setup without the use of corda firewall?