Skip to content

Slow message receiving/processing #4581

Answered by jonbartels
rjkroll asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rjkroll
Comment options

Answer selected by rjkroll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants