Parallel processing on Sender Module. #452
-
OpenAs2Server v3.11.0 I have added the following configuration to
I’ve also updated the Directory Polling Module with the following settings:
I have enabled DEBUG logs to verify if the outbound processing is occurring in parallel, but it still appears to be working in series. In the logs, I consistently see the following line for each file, indicating sequential processing:
Can someone confirm if I’m missing something or if OpenAS2 version 3.11 does not support parallel sending in the Sender module? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Parallel processing was added in 3.7.0 so your version should support parallel processing: Note that the parallel processing simply launches the exact same file processing method as for serial processing - just using a thread:
So you will not see anything different in the logs. I will publish as new release shortly that will provide a DEBUG log mesage indicating whether it is in parllel mode or not. I strongly recommend you upgrade to the latest version and switch to using a separate properties file for configuring the core aspects of OpenAS2 so that future upgrtades are simple. See the "OpenAS2 Configuration Properties" section (section 7.4.1 in the latest OpenAS2HowTo.pdf) for configuring your system using properties. |
Beta Was this translation helpful? Give feedback.
-
The parallel processing improves things when you have multiple simultaneous files to process - it will have no effect on the overall lifecycle time of picking up the file and sending it to your partner. This is because there is a long time spent waiting for the partner to process the file and return an MDN when in SYNC MDN mode which is the most common. It is during the time spent waiting for a response that other files also get processed and sent making it more efficient in terms of use of your servers processing capability. The only thing you can do to speed up sending a file is to speed up the time taken to encrypt and sign the AS2 message containing your file by allocating more RAM and it will only work if your RAM is already over utilized due to the size of your files you are sending relative to the amount of RAM allocated to the Java VM. You would have to analyse exactly where things appear to be going slowly and then you can figure out what options you have to speed it up. |
Beta Was this translation helpful? Give feedback.
The parallel processing improves things when you have multiple simultaneous files to process - it will have no effect on the overall lifecycle time of picking up the file and sending it to your partner.
This is because there is a long time spent waiting for the partner to process the file and return an MDN when in SYNC MDN mode which is the most common. It is during the time spent waiting for a response that other files also get processed and sent making it more efficient in terms of use of your servers processing capability.
The only thing you can do to speed up sending a file is to speed up the time taken to encrypt and sign the AS2 message containing your file by allocating more RAM an…