.NETGURU
Remoting performance binary over HTTP
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.performance.

Post a new message to this list...

Stuart Campbell
Hi,

(I previously posted to dotnet.framework.remoting but got
no replies.)

I have been doing some Remoting vs. Web Services tests for
the architecture of a new project. I have performed my
tests using both .NET v1.1 and .NET v2.0 Beta 1 and I have
had some confusing results in v2.0. Either I am not
configuring it properly or there is a bug in that it might
be using SOAP formatting even when configured to use
binary formatting.

The test is set up like this:
-----------------------------
ASP.NET Client App --> wellknown singlecall object hosted
in IIS --> SQL Server

Both client and server are configured using the
<system.runtime.remoting> section in web.config:

Channel: HTTP
Formatter: binary
-----------------------------

Here are the confusing results I got when returning a 1000
row dataset.

v1.1:
SOAP - 29.0 secs
Binary - 3.5 secs

v2.0 Beta 1:
SOAP - 29.0 secs
Binary - 29.0 secs !!!!

Are there any changes to remoting config in v2.0 or is
this a bug?
NOTE: I haven't checked to see that soap packets are
coming back...I'm just assuming because of the figures.

I'll include config below.

If anyone can shed some light on this I'd be very grateful.

TIA

Stuart

Client:
-------
    <system.runtime.remoting>
        <application>
            <client>
                <wellknown
type="MyNamespace.SampleBusinessComponent, Biz"
url="http://server:80/TestA2005-
Biz/SampleBusinessComponent.rem"/>
            </client>
            <channels>
                <channel ref="http">
                    <clientProviders>
                        <formatter
ref="binary"/>
                    </clientProviders>
                </channel>
            </channels>
        </application>
    </system.runtime.remoting>

Server:
-------
    <system.runtime.remoting>
        <application>
            <service>
                <wellknown
                    mode="SingleCall"
                
    objectUri="SampleBusinessComponent.rem"
                
    type="MyNamespace.SampleBusinessComponent, Biz"/>
            </service>
            <channels>
                <channel ref="http">
                    <serverProviders>
                        <formatter
ref="binary"/>
                    </serverProviders>
                </channel>
            </channels>
        </application>
    </system.runtime.remoting>

--------

Reply to this message...
 
    
msnews.microsoft.com
Hi Stuart,

I would suggest you to use Microsoft Application Center Test [ACT] tool.
and add the required performace counters.
This would give you the exact result.

Thanks
Raghavendra

"Stuart Campbell" <Click here to reveal e-mail address> wrote in message
news:ca3301c48a83$0e69a550$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Stuart Campbell
Thanks for your reply.
However, none of the .NET CLR Remoting performance
counters are of interest to me. I want to know why
under .NET 2.0 Beta 1, binary formatting is just as slow
as SOAP formatting.

Stuart
[Original message clipped]

Reply to this message...
 
    
Ice
this is interesting information. i'll have to test - just installing 2.0
beta right now.

i take it you compiled both solutions in the different frameworks and then
ran them?

ice
"Stuart Campbell" <Click here to reveal e-mail address> wrote in message
news:cff201c48aa9$66e29d10$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification