Author |
Message
|
mqseries12 |
Posted: Mon Jul 28, 2008 5:40 am Post subject: JavaCompute or Compute node |
|
|
Newbie
Joined: 28 Jul 2008 Posts: 8
|
Hi,
Please someone tell whether Javacompute node (using Java) or Compute node(using ESQL) will be bale to give better throughput(mean faster processing of messages).
Thanks in advance |
|
Back to top |
|
 |
sridhsri |
Posted: Mon Jul 28, 2008 6:30 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
It used to be that ESQL performed about 10-15% faster than Java. Perhaps that gap has reduced now. My bet would that ESQL still performs a little faster than Java. |
|
Back to top |
|
 |
zpat |
Posted: Mon Jul 28, 2008 7:02 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Stick to ESQL for consistency in the broker. Think of Java as for "emergencies only". |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Jul 28, 2008 7:49 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
It really depends on what you're trying to do. As a basic rule of thumb, use ESQL for complex message manipulation, Java for general-purpose logic.
Also, do consider Mapping and XSLT and WTX as alternative transformation options.
If in doubt, use the language you have most skills in. |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Jul 28, 2008 8:14 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
AFAIK JCN's are faster in processing then eSQL...
Sometime back i had testing the performance of eSQl code vs custome node written in C and found a huge performance difference..
BUT entry n exit in JCN is costly affair and hence its not recommended to have 2-3 JCNs in one flow...
eSQL is easy and is broker language so stick to it for general transformation/routing logic...
I use JCN for XML operation like XPath etc etc _________________ Cheers |
|
Back to top |
|
 |
mqseries12 |
Posted: Mon Jul 28, 2008 10:26 pm Post subject: |
|
|
Newbie
Joined: 28 Jul 2008 Posts: 8
|
Thanks, can you please highlight 4-5 advantages using ESQL over javacompute node.
Thanks in advance |
|
Back to top |
|
 |
AkankshA |
Posted: Mon Jul 28, 2008 10:37 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Most important ...
eSQL is much easier tthe java {Not many people would support me on this though... }
eSQL is faster for the things which can be done in it e.g. formatting, transformation, routing etc etc
eSQL is broker's in built langague...
as zpat said.. use java when absolute necessary... else always stick to eSQL _________________ Cheers |
|
Back to top |
|
 |
|