iNTERFACEWARE Products Manual > Installing and Using Chameleon > Designing HL7 Interfaces > Performance (Speed) Considerations > Using Asynchronous Communication |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
If you want performance with the TCP/IP communications you should use asynchronous communication. Asynchronous communication means that rather than the HL7 sender sending a message and waiting for an ACKnowledgment message back before sending the next one, the HL7 Sender just keeps sending messages without waiting for the corresponding ACK messages.
The reason asynchronous communication is much faster is because of the 'round-trip' time. If it takes two seconds for a message to be sent over the network and two seconds for ACK to be sent back, the performance of the interface will be no more than 60 * 60 / 4 = 900 messages per hour if you choose to use synchronous communication. The asynchronous approach removes that limitation. Even though it might take four seconds for an individual message to go through the system, the number of messages going through the system could be much larger. The next section will consider how the receiver could go about receiving these messages. This deals with the next bottleneck, your persistent queue. |