Slow message receiving/processing #4581
-
Hi, We have a new lab results channel where we receive normal HL7 results messages through TCP/IP. Last night, our Lab sent roughly 7,000 messages and it took almost 4 hours to "receive": them all and I am not sure why. Our channel is setup as such: Is there anything "off" with the settings above that can possible be adjusted to speed things up? I am wary of just changing things willy-nilly, but I know there has to be something we can do so that 7,000 messages do not take 4 hours to receive and import. Any help or tips would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A common strategy is to turn on destination queues. However this means that if your A related strategy is to leave destination queues off but increase your source threads. This will have 10 source threads with one destination thread each and let you process 10 messages in parallel. Source threads are best if you need to generate ACK/NACK based on the INSERT being successful. I would encourage you to review queueing and threading in the MC user guides. You're wise to not go willy nilly and to think it through first! |
Beta Was this translation helpful? Give feedback.
A common strategy is to turn on destination queues. However this means that if your
INSERT
fails then you cannot respond back with a NACK to the caller. Without queuing you have one thread processing messages off of those 10 connections and a single threaded source connector with no destination queues is single threaded on the source and the destination.A related strategy is to leave destination queues off but increase your source threads. This will have 10 source threads with one destination thread each and let you process 10 messages in parallel.
Source threads are best if you need to generate ACK/NACK based on the INSERT being successful.
Destination queues are best if you can receive…