Re: [Artemis] message flow with core bridges [SOLVED]
After some more debugging it looks like the reason the messages are sent
synchronously is because I had duplicate detection turned off.
The reason for me disabling duplicate detection is that I can already
detect duplicates in my application (and they can happen at application
level for other reason that artemis disconnections).
It would have been nice if this "feature" was documented somewhere...
On Thu, Nov 9, 2017 at 4:28 PM, Nicolae Mihalache <[hidden email]>
> I have setup with a core bridge configuration between two artemis servers.
> The latency between the servers is 12-13 ms (round trip).
> I have a producer that produces about 150 messages per second and my
> problem is that the bridge does not manage to keep up with the producer.
> The sender address is configured for paging and the paging directory keeps
> increasing in size.
> When I run a tcpdump I see that after each tcp send there is a response
> received so it looks to me that artemis sender waits for a confirmation
> from the receiver before sending the next message.
> I also see in the netstat that there is no tcp buffer on the sender, load
> average is also very small so I'm very confident that it's not a network
> bandwith or cpu load problem.
> I tried all kind of configs:
> in the connector configuration preAcknowledge=true
> in the bridge configuration setting a large value for
> none of them seems to have any effect.
> I'm using artemis core 1.5.4
> Any idea?