ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Performance

Post new topic  Reply to topic
 Performance « View previous topic :: View next topic » 
Author Message
titus
PostPosted: Mon Oct 21, 2002 6:14 am    Post subject: Performance Reply with quote

Novice

Joined: 14 Oct 2002
Posts: 23

I am having a fixed length message format.
From the following options which one is best for performance
1) Creating a MRM an load MRM parser for parsing the message
2) Treat the message as Blob . Inside compute do a subString to get this fields.

Experts opinions are accepted

Thanks in advance
titus:)
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Oct 21, 2002 8:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Why not try each method with a few thousand test messages and see which works fastest?

My money is on the BLOB.
Back to top
View user's profile Send private message
Tibor
PostPosted: Mon Oct 21, 2002 12:35 pm    Post subject: Re: Performance Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

titus wrote:
I am having a fixed length message format.
From the following options which one is best for performance
1) Creating a MRM an load MRM parser for parsing the message
2) Treat the message as Blob . Inside compute do a subString to get this fields.


- BLOB to BLOB wo/conversion is the fastest
- BLOB to XML, MRM, etc is fine, but you are losing the flexibility
- BLOB to non-BLOB may be slower then an MRM to MRM, when you are working with a complex structure, especially on repeating compound elements.

Tibor
Back to top
View user's profile Send private message
titus
PostPosted: Mon Oct 21, 2002 1:44 pm    Post subject: Reply with quote

Novice

Joined: 14 Oct 2002
Posts: 23

Thanks for ur reply Tibor.
Could you please explain first scenario
"BLOB to BLOB wo/conversion is the fastest ".

This what i am doing .Input node i made it as a Blob message structure and in compute node i am getting same Blob message and cast into a String variable. Then i am using this string variable for substring operation. Is this is a right approach?
Back to top
View user's profile Send private message
Tibor
PostPosted: Tue Oct 22, 2002 6:46 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

titus wrote:
...Input node i made it as a Blob message structure and in compute node i am getting same Blob message and cast into a String variable. Then i am using this string variable for substring operation. Is this is a right approach?


It depends. If your ESQL code is simple this may be fast. But I don't see the difference between the structure of input and output messages. When your task is only a cut-and-paste, you ever leave CASTing.

Tibor
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Performance
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.