|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Performance Question |
« View previous topic :: View next topic » |
Author |
Message
|
pfaulkner |
Posted: Thu Feb 20, 2003 2:28 pm Post subject: Performance Question |
|
|
Master
Joined: 18 Mar 2002 Posts: 241 Location: Colorado, USA
|
I have a message flow that accepts messages in BLOB and then parses them in 2 parts.
1. Every message has a header, I extract this from the BLOB
- SUBSTRING(InputBody.BLOB FROM 1 FOR 200).
2. Every message has a data part. I also extract this from the BLOB
- SUBSTRING(InputBody.BLOB FROM 201).
This part of the message is later parsed and converted to COBOL (from XML)
When the messages are relatively small (1000 bytes or so) I don't see any performance issues. Infact there is very little difference between going through SI and going direct MQ without any parsing.
I have another message that is 32000 bytes but I only needed to parse the first 200 bytes of it to convert to various XML tags, the remainder of the message I need to send back in another TAG but as BLOB.
So I took my Data Part of the message and extracted the first 200 bytes of it and used RCD and Compute to parse into XML. I also used SUBSTRING to extract the last 31800 bytes and stored in Environment so I could simply add to my parsed XML structure later.
Now I see my performace go from 0.3 seconds without using SI to over 4 seconds when I do this.
I am only parsing small amounts of data from my original 32k message so why the performace hit???
Any help would be greatly appreciated. |
|
Back to top |
|
 |
kirani |
Posted: Thu Feb 20, 2003 3:01 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
There must be something in your message flow or with the setup, which is causing this. Could you please explain the design of your message flow? Do you have trace enabled on your Message flow or execution group? It would be helpful If you could post the details of your environment, like m/c configuration and WMQI version. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
pfaulkner |
Posted: Thu Feb 20, 2003 4:20 pm Post subject: |
|
|
Master
Joined: 18 Mar 2002 Posts: 241 Location: Colorado, USA
|
Hi,
WMQI 2.1 CSD2 Broker running on AIX.
thanks, I did have Trace running still. Thought I turned it off but doesn't look like it.
Anyway, getting .4 seconds response now
thanks |
|
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
|
|
|
|