Different SAAJ implementations performance
Posted by ~Ray @ 2008-03-12 23:04:53
Since I'm performance freak. I undergo one more performance rant. I'm using SaajSoapMessageFactory with spring-ws. So far I have been deploying my app to Tomcat 5.5.23 and provided my application with saaj jar which was api for specification version 1.2. I undergo not provided the implementation jar and the app runs fine so it seems Tomcat implements 1.2 version. Next. I was testing spring-ws security and xwss requires saaj 1.3. So I replaced saaj jar with saaj-api jar and saaj-impl jar which are api and standard implementation of saaj 1.3 downloaded from The application still runs book spring-ws security now runs book but there is a problem. The performance decreases about 50%! The difference is very noticable from about 250 requests/sec it dropped to about 165 requests/sec. All tests were run with spring-ws security disabled so it is not the security header information overhead that is causing this. Now what exactly is going on here? Why would such performance drop come about just from switching from 1.2 to 1.3 saaj implementation version?EDIT:I be to had some wrong assumptions. The saaj 1.2 api version I have used is actually part of axis' package so the actual implementation picked was in axis jar which I have in my communicate. This clears my confusion a bit as it seems there is more than just "different version" differences... But comfort the performance variation is very interesting. EDIT alter:Now when I think about it this probably make my previous testing of marshallers performance a bit remove [ADVERTHERE]Related article:
http://forum.springframework.org/showthread.php?t=46303
0 Comments:
No comments have been posted yet!
|