You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Martin Skowronski <m....@synedra.com> on 2007/11/13 14:47:27 UTC
Slow SWA transfer
Hello,
my web service based on the example http://wso2.org/library/1675 is kind of
slow. My test binary has a size of 50 MB. scp needs only 2 seconds for the whole
file - the web service needs approximately 9 seconds.
Thanks
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Slow SWA transfer
Posted by Martin Skowronski <m....@synedra.com>.
Martin Skowronski wrote:
> Hello,
> my web service based on the example http://wso2.org/library/1675 is kind of
> slow. My test binary has a size of 50 MB. scp needs only 2 seconds for the whole
> file - the web service needs approximately 9 seconds.
250 MB are transferred in 43 seconds.
I found a post on the mailing list from 2006
http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200605.mbox/%3Cd84ebd2d0605130053n4446bbccp109559ec6e66d265@mail.gmail.com%3E
Is this problem based on the chunk size?
org.apache.commons.httpclient.ChunkedOutputStream:
------------------------ 8< ------------------------
/**
* Wraps a stream and chunks the output. The default buffer size of 2048 was
chosen because
* the chunk overhead is less than 0.5%
* @param stream
* @throws IOException
*/
public ChunkedOutputStream(OutputStream stream) throws IOException {
this(stream, 2048);
}
------------------------ 8< ------------------------
regards
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org