camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: SEDA implementation
Date Thu, 08 Apr 2010 04:27:36 GMT

Yeah that SEDA paper is famous

Its however written many years ago, when Java was not as evolved as today.
Back in those days C++ was faster than Java. And today the story is different.

Camel SEDA uses the JDK concurrency API and is thus not using home grown code.
It only gets faster with each new version of Java.

Also in Camel you only use SEDA "stages" when you send to a SEDA
endpoint. Which means that its NOT used for every single node in the
route graph.
Which means you have a good balance between stages and "route logic".

On Thu, Apr 8, 2010 at 2:14 AM, vcheruvu <> wrote:
> Hi,
> I came across site about SEDA implementation,
>  . Does camel SEDA component
> follow this model? If it does, author stated that "It is also worth noting
> that a number of recent research papers have demonstrated that the SEDA
> prototype (in Java) performs poorly compared to threaded or event-based
> systems implemented in C....... Also, SEDA imposes a high context switch
> overhead in certain cases, depending on the number of threads and stages
> used, and the processing granularity within each stage. " Is this still a
> concern with SEDA implementation in Camel?
> Kind regards,
> -Vid-
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message