|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Which is faster for validation, ESQL compute or Java compute |
« View previous topic :: View next topic » |
Author |
Message
|
a.murphy |
Posted: Tue Jul 16, 2013 5:05 am Post subject: Which is faster for validation, ESQL compute or Java compute |
|
|
Newbie
Joined: 15 Jul 2013 Posts: 5
|
So my client want me to validate all messages coming from the MB and from the WCS, headers and body.
What this means is that potentially I can have alot data in the body which is being output by the WCS and they want me to validate each variable, line by line. They then want me to compile a list of of all the errors and then throw that, instead of throwing at the first error.
So my question is, which is faster to compile a list of validations errors, an ESQL compute node or a Java compute node?
Thanks
M |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 16, 2013 5:33 am Post subject: Re: Which is faster for validation, ESQL compute or Java com |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
a.murphy wrote: |
So my question is, which is faster to compile a list of validations errors, an ESQL compute node or a Java compute node? |
My question is which version of WMB? Java support improves as you move through from older versions to newer, so Java in 6.1.0.3 runs slower than Java in 8.0.0.2.
But "slower" does not mean "slow".
A more important point in that 8.0.0.2 badly written ESQL will perform worse than well written Java, and well written ESQL will better than badly written Java. I'd be more concerned with the code than any marginal difference between the execution of 2 1st class WMB languages. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Jul 16, 2013 5:39 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
If using references, ESQL Compute is slightly faster than JCN. In a small test run on 7.0.0.2 in 2010, on 1 million records, side-by-side with three lines of validation (1m x 3 = 3m validations), ESQL Compute finished about 3 seconds faster than JCN. In other words, the difference is negligible, but ESQL outperforms JCN. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|