473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

.NET Remoting Performance/Throughput

We're developing an client/server application where the client exports well
known services using remoting (using the TCP default formatter) and the
clients (usually there is only 1) attaches to these remoted classes and
dequeues data from a threadsafe queue. Functionally it works great, but the
amount of actual throughput we can get seems CPU limited. That is sending
large amounts of data such as serializable classes containing 5000 - 40000
element arrays of ushorts seems to bring both the client and the server to
their knees. Our experiments using the TCP/IP classes are a bit more
promising and seem to show that TCP/IP has a lot more thoughput. Is Remoting
really that inefficient in it's data transmission, and if so, is there
anything I can do about it (or do I have to use TCP/IP directly)?

Thanks!
Nov 16 '05 #1
2 2482
To broader your view .. Refer to these to articles
this..
http://www.codeproject.com/cs/webser...motingdime.asp
this .....
http://msdn.microsoft.com/library/de...tnetarch16.asp
and this
http://msdn.microsoft.com/library/de...tnetarch14.asp

Nirosh.

"Dave Griffin" <Dave Gr*****@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
We're developing an client/server application where the client exports well known services using remoting (using the TCP default formatter) and the
clients (usually there is only 1) attaches to these remoted classes and
dequeues data from a threadsafe queue. Functionally it works great, but the amount of actual throughput we can get seems CPU limited. That is sending
large amounts of data such as serializable classes containing 5000 - 40000
element arrays of ushorts seems to bring both the client and the server to
their knees. Our experiments using the TCP/IP classes are a bit more
promising and seem to show that TCP/IP has a lot more thoughput. Is Remoting really that inefficient in it's data transmission, and if so, is there
anything I can do about it (or do I have to use TCP/IP directly)?

Thanks!

Nov 16 '05 #2
I've read the articles and I found them helpful. It makes me think that maybe
it's the default serialization of my classes that may be to blame. From
reading the articles I wonder if classes with my own serialization methods
might work better. I'm also not sure if using structures instead would be
better since I'm not clear about whether using classes results in references
being sent across rather than actual data.

"Champika Nirosh" wrote:
To broader your view .. Refer to these to articles
this..
http://www.codeproject.com/cs/webser...motingdime.asp
this .....
http://msdn.microsoft.com/library/de...tnetarch16.asp
and this
http://msdn.microsoft.com/library/de...tnetarch14.asp

Nirosh.

"Dave Griffin" <Dave Gr*****@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
We're developing an client/server application where the client exports

well
known services using remoting (using the TCP default formatter) and the
clients (usually there is only 1) attaches to these remoted classes and
dequeues data from a threadsafe queue. Functionally it works great, but

the
amount of actual throughput we can get seems CPU limited. That is sending
large amounts of data such as serializable classes containing 5000 - 40000
element arrays of ushorts seems to bring both the client and the server to
their knees. Our experiments using the TCP/IP classes are a bit more
promising and seem to show that TCP/IP has a lot more thoughput. Is

Remoting
really that inefficient in it's data transmission, and if so, is there
anything I can do about it (or do I have to use TCP/IP directly)?

Thanks!


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: DraguVaso | last post by:
Hi, I need to write a VB.NET-application (Windows Forms) that may have a part of it (re-)implemented as a Webpage for the customers. I think it can be usefull to create a business Layer with...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
6
by: RichieRich | last post by:
Any comments on .NET Remotinv vs. Web Services? Which would you choose? Thanks.
2
by: Ryan | last post by:
My apologies if this is not the forum to post questions regarding .NET Remoting, but I figured WebServices would be the most appropriate forum of the bunch. We're currently completely re-arching...
1
by: frank.preiss | last post by:
Hi, I'm looking for help monitoring the communication of a client/server application. We are using the .Net default serialization/ deserialization with the binary formatter using .Net 2.0. I...
0
by: ianwr | last post by:
Hi, I was wondering if anyone could shed any light on performance problems we are having with sql 2005. We have 3 boxes which are all 64bit itanium boxes (4 CPU) connected to a 145 spindle SAN...
5
by: sleddd | last post by:
Can anyone explain why socket performance (throughput) varies depending on the amount of data send and recv are called with? For example: try creating a local client/server (running on the same...
12
by: Ilyas | last post by:
Hi all I have an application which brings back 1000 records from a sql server database. Under the local asp.net development server provided with Visual Studio 2008, it takes about 1.8 seconds ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.