|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Performance improvement - XMLNS vs XMLNSC |
« View previous topic :: View next topic » |
Author |
Message
|
AJStar |
Posted: Thu Dec 13, 2007 9:52 pm Post subject: Performance improvement - XMLNS vs XMLNSC |
|
|
 Acolyte
Joined: 27 Jun 2007 Posts: 64
|
I am trying to move from XMLNS parser to XMLNSC parser in order to improve the performance, but I don't see any major difference.
Please see results below.
Using XMLNS:
Total messages 501
total bytes in all messages 1141779
average message size 2279
Total number of seconds with at least one message 14
lastTime 52732 firstTime 52719 secs 13
Average message rate except first and last intervals 36.08
Peak message rate 41
Using XMLNSC:
Total messages 501
total bytes in all messages 1120737
average message size 2237
Total number of seconds with at least one message 15
lastTime 52237 firstTime 52223 secs 14
Average message rate except first and last intervals 32.86
Peak message rate 42
What is the advantage that XMLNSC offer over XMLNS?
Regards
AJ |
|
Back to top |
|
 |
kimbert |
Posted: Fri Dec 14, 2007 4:47 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
- XMLNSC creates fewer syntax elements in the message tree, so it uses less heap
- In v6.1, XMLNSC is approximately twice as fast as XMLNS
- In v6.1, XMLNSC can do proper ( standards-compliant) schema validation
- In v.6.1 XMLNSC is the 'preferred parser' for XML messages. That means that it will get the biggest share of development resources in the future. So it will get more capable and faster, as compared with XMLNS.
If you are using v6.0, and if your message flow is not dominated by parsing costs, then you will not see a huge leap in performance when you switch to XMLNSC. But when you upgrade to v6.1 or later, you will automatically reap the benefits. |
|
Back to top |
|
 |
AJStar |
Posted: Sun Dec 16, 2007 8:26 pm Post subject: |
|
|
 Acolyte
Joined: 27 Jun 2007 Posts: 64
|
Thanks Kimbert.
Regards
AJ |
|
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
|
|
|
|