Article View: comp.lang.java.corba
Article #62Re: Sending large amount of data (in MB) to the server
From: Ashwani Kalra
Date: Wed, 12 Sep 2001 04:26
Date: Wed, 12 Sep 2001 04:26
40 lines
2590 bytes
2590 bytes
Niclas Eklund <Niclas.Eklund@NoSpam.uab.ericsson.se> wrote in message news:<3B9E2C1B.10AE48AB@NoSpam.uab.ericsson.se>... > Derek Viljoen wrote: > > Andrey Nechypurenko wrote: > > > CORBA Audio/Video Streaming Service could be of interest > > > in such a case. > > > > No need to get that complicated (although, its a creative thought, since > > multimedia is generally "fat" over the wire). Just use a sequence of > > octet's to send the data (assuming it's binary data). > > > > I've benchmarked this, as opposed to raw sockets, and the overhead was much > > less that I expected (especially on a good ORB implementation... like TAO > > or OmniORB... except we're talking about Java, aren't we?). But, even in > > Java, it's not that bad. Once the connection is made (which is the biggest > > overhead) individual invocations take a very small penalty in the grand > > scheme of things. > > Derek > > Hello! > > For more information you can read: > > http://www.cs.wustl.edu/~schmidt/PDF/av_chapter.pdf > > Chapter 4.3 contains the throughput result. > > You should also consult the FTAM/FTP spec (CosFileTransfer): > > http://www.omg.org/cgi-bin/doc?dtc/2000-11-05 > > BR > Nick Hi, Thank you all for this useful ideas and pointers. I will consider all suggestion before implementing this solution. I think sending data in chunks will be better idea using iterators no matter which technique I use. Ashwani
Technical Details
Message-ID:
<e33c2814.0109112026.260dd46b@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<e33c2814.0109052058.6f25d6f0@posting.google.com> <pmmgptotkei1lcj4dv043htm70nc1jlv82@4ax.com> <9nht5v$loq$1@news.mch.sbs.de> <3B9E116C.2EC87B3B@home.com> <3B9E2C1B.10AE48AB@NoSpam.uab.ericsson.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108bbb,6caeb6fa855ca2de X-Google-Attributes: gid108bbb,public X-Google-Thread: 109156,6caeb6fa855ca2de X-Google-Attributes: gid109156,public X-Google-ArrivalTime: 2001-09-11 21:26:31 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: ashwani_kalra@yahoo.com (Ashwani Kalra) Newsgroups: comp.lang.java.corba,borland.public.visibroker Subject: Re: Sending large amount of data (in MB) to the server Date: 11 Sep 2001 21:26:31 -0700 Organization: http://groups.google.com/ Lines: 40 Message-ID: <e33c2814.0109112026.260dd46b@posting.google.com> References: <e33c2814.0109052058.6f25d6f0@posting.google.com> <pmmgptotkei1lcj4dv043htm70nc1jlv82@4ax.com> <9nht5v$loq$1@news.mch.sbs.de> <3B9E116C.2EC87B3B@home.com> <3B9E2C1B.10AE48AB@NoSpam.uab.ericsson.se> NNTP-Posting-Host: 203.122.29.68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1000268791 9716 127.0.0.1 (12 Sep 2001 04:26:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Sep 2001 04:26:31 GMT