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/[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
