Hi Folks,
When running some clustering performance tests with message tracing turned on, I noticed that there was significant performance degradation. This did not have anything to do with clustering. The reason was that a typical test would do 100,000 request-response iterations.

We were using a database based trace persister, and once the messages table grew extremely large, the performance significantly degraded. In order to rectify this, I've introduced a memory based trace persister which utilizes a circular buffer. This buffer holds only a few hundred messages at a time. Also, the SOAPEnvelope object is kept in the buffer, instead of completely building the envelope and keeping it as a java.lang.String, like it was done earlier. The envelope will be built only when somebody tries to view the actual messages.

The users can switch between the database based persistence & memory based persistence using an Axis2 parameter. The default used in WSAS will be the memory based one.

Thanks
Azeez

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to