dcom vs com+ vs remoting

dotnet framework


  • 1. Performance differences Remoting with http and binary
    I use .Net Framework 1.1 with Remoting channel= http and formatter=binary. The remoting server components are hosted as webservice in IIS. The client application is a WinForms application for file upload and download I have serveral performance differences, why ? The quantity of data is say 1 GB downloaded and uploaded in smaller blocks (< 30 MB) On my Network (Slow Server): Upload and download performance is nearly identical for 1 GB it needs 20 minutes On the the customer network (Notebooks and Desktops are connected on the same network socket): When the client (Desktop or Notebook) uploads 1 GB of data it needs 10 minutes. When a client (Notebook) downloads 1 GB it needs 20 minutes When a client (Desktop) downloads 1 GB it needs 60 minutes The problem is the bad performance of the desktop machines. The hardware of the desktops is faster than the notebooks. Answers to any of this questions is delighted Which Network-Settings affect the performance for this remoting configuration ? How can different services on notebook and desktop affect the performance ? Can any remoting settings for the client influence the performance ? How does this remoting configuration access the network ? Any other idea or experience ? Thanks Max
  • 2. Exposing a remoting service as a Web Service
    Hello, I am looking into the different ways one can expose a Remoting service. I am mostly interested in how can I expose one remoting service as a Web Service. We already have some services exposed as remoting services for our intranet applications, we do not use IIS just straight TCP. What is the best way to expose some or our services as Web Services? Should we consider writting 'proxies' that would map our remoting services as web services? I have just started reading about WCF, seems like this migth be the way to go. My understanding is that once my contract is defined, I just choose the transport.... Thank you for your comments and ideas. Martin
  • 3. what's the best way to pass XML document as a remoting argument?
    Hi, I'm looking for the most efficient way to pass an XML document into a remoting call. I know that I can return an XMLDocument from a remoting call, but passing one as an argument causes errors. If I pass the XML as a string, I believe that all tags will get URL-encoded, making the document much bigger. I supposed that I could base64 encode it. Is there a way to just pass it as straight binary data? thanks, Keith Langer
  • 4. Romting vs Web Service in vs2005
    I'd like to get some ideas of the best way to accomplish the following in vs2005: Win1 - a windows application Web1 through WebX- many website applications I'd like to talk from Web1-WebX to Win1 and also back through, at this thinking, a web service. I need Win1 to communicate to only a specific Web application at a time. I don't need the websites to talk to each other, though. For example: Web1 messages to Win1 "Name: Joe" Web2 messages to Win1 "Name: Mary" Web3 messages to Win1 "Name: Bigfoot" Win1 responds to each of these websites individually, not like a broadcast message. I think .Net Remoting might be a better way to go than a WebService, but I'm not sure. I really don't know that much about Remoting, so if someone is suggesting that, can they also point me to a good tutorial or book? Thanks, Dave

dcom vs com+ vs remoting

Postby BK Kim » Fri, 06 Feb 2004 10:40:19 GMT


I am doing a research on dcom, com+ and remoting.

We are about to develop a web application consisting 3 tiers ( web server,
application server, db server )

We are going to develop front end in asp.net and ms sql in the back end.

The middle tier mostly will be grabbing data from the db and give the result
to the front end.

I'd like to know what would be the better way to do this.

Should I use only one object in the middle tier that communicate to all the
threads requested from the web server? ( i'd like to know the pres and
cons )

I heard that dcom is better than com+ in particular situation so I'd like to
know in what situation remoting would be the best fit in the middle tier and

Thanx in advance

Re: dcom vs com+ vs remoting

Postby Thomas Tomiczek [MVP] » Fri, 06 Feb 2004 16:57:21 GMT

Use neither, but drop the DAL into the webserver.


Yes, if you do not care about performance.


Thomas Tomiczek
THONA Software & Consulting Ltd.
(Microsoft MVP C#/.NET)
(CTO PowerNodes Ltd.)

Still waiting for ObjectSpaces? Try the EntityBroker today - more versatile,
more powerfull.
And something in use NOW. for the projects you have to deliver - NOW.


Re: dcom vs com+ vs remoting

Postby Allen Anderson » Sat, 07 Feb 2004 02:17:20 GMT

Avoid dcom like the plague (which it is).  However, the decision
between com+ and remoting is a more difficult one as com+ will
probably give you better performance and remoting will be easier to
implement/maintain (which can be a real issue if you intend to heavily
cluster your web and business logic tiers).  Also you need to decide
if you are good with a mixed solution of .net and legacy approaches if
you go com+.  Overall though there are a lot of things to take into
consideration when making this decision.

Allen Anderson
mailto: allen@put my website url here.com

On Wed, 4 Feb 2004 17:40:19 -0800, "BK Kim" < XXXX@XXXXX.COM >

Re: dcom vs com+ vs remoting

Postby Ice » Sun, 08 Feb 2004 01:17:27 GMT

why do you say com+ (which is remoting over dcom) will give better



Re: dcom vs com+ vs remoting

Postby Allen Anderson » Sun, 08 Feb 2004 04:50:56 GMT

Well, beyond the fact that I've used both and com+ seems to be able to
scale much faster and higher than remoting (I've used both quite a
bit), I'm not otherwise aware of how they share infrastructure at all.
Maybe you know something I don't in this?

Allen Anderson
mailto: allen@put my website url here.com

Re: dcom vs com+ vs remoting

Postby Ice » Tue, 10 Feb 2004 22:58:31 GMT

ell maybe we are talking about 2 different things.
obviously there is communication between client and server and this can
impacted by your host.
what i'm saying is that if you com+ and create application proxies, then
communication is still DCOM wrapped with Remoting hence why all your
expections are remoting exceptions - all the rules apply.
COM+ as a host can incur performance penalties if not configured correctly,
otherwise its roughly the same as using a Windows Service.

I am curious however about your scalability point. Can you elaborate on
this a bit?


"Allen Anderson" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...

Similar Threads:

1.COM+ vs .Net Remoting vs...

Good day!

I don't remember where I saw caomparision of COM+ and .NET remoting and 
guidelines for these techonologies usage. If anyone can help me to find these 
links - please, do it.
But now I have on eproblem:
THere are client application which must be written on C++, server 
application written on .NET, and with capability to use COM plugins, plus 
there is have to be realizaed capability to use application server without 
metwork access (direct usage of core part, business logic).
Moreover in near future may be decided to move all server to the cluster 
with self-written load balancing system.

Now I have the following ideas:
Client on C++ using TCP/IP connects with server.
There is windows service on the server (written on .NET) which serves 
queries from client and redirects all these queries for processing to COM+ 
component (server). This COM+ compenent accesses DB, process data etc.

And here is a question: what is better than COM+?
What are the advantages of COM+, of .NET Remoting in this case?
What other (or this modified) approaches could me used?
WHat I must to use to easily create clustered application?

And, one more question: Is it possible to work with COM+ from unmanaged code?
It seems, yes, but my senile brain don't want to remember right answer.

A lot of Thanks

2..NET Remoting vs. DCOM

Hi All,
I have a .NET serviced component as an Application Server between the
web server(asp.net) and the database.
There is a COM component registered on the web server for legacy
operations and as a part of that it makes DCOM calls to the
Application Server.
I have a requirement where my aspx.cs needs to call the Application
Server and I was wondering if I should use Remoting to achieve this or
simply forward the call to my registered component (which would use
DCOM). My requirement would fall into the category of SAO, SingleCall.
Are there any perf nos. comparing DCOM & .Net Remoting.


3.Remoting Vs. DCOM

If I don't need to worry about security, but performance is a big
issue, should I use Remoting or EnterpriseServices with DCOM to connect
my clients to my server?
Besides performance, what other advantages/disadvantages are there for
each of them, and what about Indigo?
Thanks ahead


4.Enterprice Services (via DCOM) vs IIS (via Remoting) for high volume apps

5.Com+ vs IIS vs StandAlone

As im sure most of you are aware of you can not host .Net services without 
IIS. This where my question comes in on what is the best practice on objects 
that you know will have to scale. With my understanding of .Net, if you host 
the process directly from a service, then every hit to the object is going 
to create a new object.. So if your getting 100,000 hits per minute (i know 
this is high but im using it as an example) then there will be 100,000 
objects created and destroyed. I assuming if i didn't work like this then it 
would be like apartment threading and only one call could happen at a time 
and there would be blocking. A lot of these objects will be in memory at the 
same time. Is my understanding of how things work lax or is this really is 
what going to happen? I would assume this would scale really poorly. This 
example could be a web service or say something you exposed with WCF.

My understanding of how IIS works is very limited. I'm sure that IIS has 
some time of redudancy threading to help the situation above. Am i right or 
am i wrong? So if you host under IIS would it scale any better?

Last comes com+. Which has facilities like object pooling & connection 
pooling and ect that i would think would allow these services to scale the 
best. Am i wrong?

So i guess the overall question is what is the differences between how each 
of these solutions would scale?  Which solution would be the best? Would 
there big a big difference

For simplicity lets leave server farms and clustering out of this.

Any help would be appreciated.


6. Windows-service remoting - IPC vs. COM

7. Remoting vs. COM GetObject()

8. remoting vs com

Return to dotnet framework


Who is online

Users browsing this forum: No registered users and 75 guest