Re: Camel SEDA Queues performance query

2014-02-04 Thread Christian Müller
Can you put together a little example which we can use to review/test? May
mock out your rest endpoint with a processor which simple sleep's for a few
ms before it respond.

Best,

Christian
-

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Mon, Feb 3, 2014 at 11:26 PM, gilboy  wrote:

> Hi
>
> I have a route which returns messages from a DB call. It processes the
> messages and then places them on 2 different SEDA Queues. I have 2
> additional routes which consumes the messages of the said queues and
> processes them. These 3 routes run very quickly( < 10ms).
>
> However, I have a 4th route which transmits message to an external Rest
> Endpoint. I use a sticky loadbalancer with 10 seda queues to reduce the
> time
> to transmit the message. If the external Rest Endpoint performance begins
> to
> degrade the 3 routes mentioned in previous paragraph begin to degrade also.
>
> I am trying to understand why the poor performing external Rest Endpoint is
> resulting in poor performance in the 3 routes(1-3).
>
> I am wondering is it possible that the seda queues which are used in the
> loadbalancer for the transmission to the REST endpoint is sharing the same
> threadpool with the 3 routes above.
>
> Thanks in advance
> Joe
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-SEDA-Queues-performance-query-tp5746750.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


Camel SEDA Queues performance query

2014-02-03 Thread gilboy
Hi

I have a route which returns messages from a DB call. It processes the
messages and then places them on 2 different SEDA Queues. I have 2
additional routes which consumes the messages of the said queues and
processes them. These 3 routes run very quickly( < 10ms). 

However, I have a 4th route which transmits message to an external Rest
Endpoint. I use a sticky loadbalancer with 10 seda queues to reduce the time
to transmit the message. If the external Rest Endpoint performance begins to
degrade the 3 routes mentioned in previous paragraph begin to degrade also.

I am trying to understand why the poor performing external Rest Endpoint is
resulting in poor performance in the 3 routes(1-3).

I am wondering is it possible that the seda queues which are used in the
loadbalancer for the transmission to the REST endpoint is sharing the same
threadpool with the 3 routes above.

Thanks in advance
Joe




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-SEDA-Queues-performance-query-tp5746750.html
Sent from the Camel - Users mailing list archive at Nabble.com.