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 improvement - XMLNS vs XMLNSC

Post new topic  Reply to topic
 Performance improvement - XMLNS vs XMLNSC « View previous topic :: View next topic » 
Author Message
AJStar
PostPosted: Thu Dec 13, 2007 9:52 pm    Post subject: Performance improvement - XMLNS vs XMLNSC Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Fri Dec 14, 2007 4:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
AJStar
PostPosted: Sun Dec 16, 2007 8:26 pm    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

Thanks Kimbert.

Regards
AJ
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 improvement - XMLNS vs XMLNSC
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.