MTOM attachments vs String in a low bandwidth

2009-09-30 Thread Vitaly Litvak
Hi. We are testing our application on a channel with a low bandwidth. For the testing we've developed a simple service, which loads some data from a text file and then returns it through two web methods: 1) simply returns file as a string. 2) returns a DataSource object, which we suppose to

Re: MTOM attachments vs String in a low bandwidth

2009-09-30 Thread Vitaly Litvak
Why did you expect an improvement in the first place? We expect improvement because it appears on the local network. As in specified results the time spent to receive 100 times an 45 kb file is much smaller when we use attachments. We want to improve performance locally first. Because same

Re: MTOM attachments vs String in a low bandwidth

2009-09-30 Thread Vitaly Litvak
Thanks a lot. It seems that's fully answers my question. We will use MTOM attachments in such case. 2009/9/30 Daniel Kulp dk...@apache.org It does sound like you are becoming bandwidth or latency bound on the remote connections. My gut feeling is that on the local network, you are

Re: Problem with GZIP and mtom attachments

2009-09-17 Thread Vitaly Litvak
Thanks for your answer. I've submitted a bug https://issues.apache.org/jira/browse/CXF-2440 here with my small test case attached. After some testing I noticed that it reproduces only on client side. On the server side everything works fine (the file is downloaded, unpacked and read