[openamq-dev] Topic Vs Direct Exchanges

Martin Sustrik sustrik at imatix.com
Tue Mar 4 17:09:39 CET 2008


Malinga,

The design of topic exchange is such that its performance should be 
exactly equal to the performance of direct exchange. However, the 
performance is achieved on the expense of memory usage. So basically, if 
you'll switch to topic exchange, latency stays the same but memory 
footprint increases.

You can try using headers exchange if you would like to trade some 
latency for lower memory usage.

Martin

Malinga wrote:
> Hi,
>
>  For our application we are currently using direct exchange but for 
> our next version of the application we might want to use topic based 
> exchange since we need topic hierarchies and complex message matchings.
>
>  We think there might be a performance drop in topic based exchange in 
> contrast to direct. Is there any noticeable performance drop or is it 
> very little ?. Can you give me figures if you have ?
>
> -Malinga
>
> ------------------------------------------------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search. 
> <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
>   



More information about the openamq-dev mailing list