🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.corba
Article #65

Re: Sending large amount of data (in MB) to the server

#65
From: Stephen Crawley
Date: Fri, 07 Sep 2001 15:44
33 lines
2474 bytes
dspublic-REMOVE THIS AND HYPENS- <dspublic-remove_this_and_hypens-@houston.rr.com> writes:

> Don't do it.  How large is large in MB.  What is the size of the
> object and how many.  
> Can you change your design to allow a drill down. and break the data
> up into pieces.  

The best way to send a large amount of data via CORBA is to design
your data transfer IDL using an "iterator" pattern so that the
data is not passed as one enormous message.

> Speaking from personal experience, the larger the result set the
> poorer the performance and your end users will not like it.

Sending large amounts of data that is not (all) going to be used
is bad design.
  
> I don't think that corba was designed to send large amounts (in
> Megabytes) of data across the wire.  

On the contrary, CORBA can do this pretty well if you:

  1)  choose a decent ORB,
  2)  design your IDL correctly, and
  3)  avoid excessive data copying on the client and server sides.

> There are other tools/available
> for this.

True.  But CORBA can come within a few percent of these tools.
At least that's what the ORB vendors claim.

-- Steve
Technical Details
Message-ID: <dck7zbvwcw.fsf@soluble.dstc.edu.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!harbinger.cc.monash.edu.au!bunyip.cc.uq.edu.au!not-for-mail
References: <e33c2814.0109052058.6f25d6f0@posting.google.com> <pmmgptotkei1lcj4dv043htm70nc1jlv82@4ax.com>

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-07 08:44:57 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!harbinger.cc.monash.edu.au!bunyip.cc.uq.edu.au!not-for-mail
From: Stephen Crawley <crawley@dstc.edu.au>
Newsgroups: comp.lang.java.corba,borland.public.visibroker
Subject: Re: Sending large amount of data (in MB) to the server
Date: 08 Sep 2001 01:44:47 +1000
Organization: Distributed Systems Technology CRC
Lines: 33
Message-ID: <dck7zbvwcw.fsf@soluble.dstc.edu.au>
References: <e33c2814.0109052058.6f25d6f0@posting.google.com> <pmmgptotkei1lcj4dv043htm70nc1jlv82@4ax.com>
NNTP-Posting-Host: eeyore.dstc.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: bunyip.cc.uq.edu.au 999877494 32229 130.102.176.3 (7 Sep 2001 15:44:54 GMT)
X-Complaints-To: news@uq.edu.au
NNTP-Posting-Date: 7 Sep 2001 15:44:54 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)
Cache-Post-Path: eeyore.dstc.edu.au!unknown@soluble.dstc.edu.au
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)