Re: .NET Remoting is slow!! Alternatives??
From: Ashwin Philar (ashwinphilar_at_hotmail.com)
Date: 02/20/04
- Next message: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Previous message: Alex Brunner, ALL CONSULTING AG, Switzerland: "Re: How to fix Big Red Cross on the screen"
- In reply to: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Next in thread: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Reply: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Messages sorted by: [ date ] [ thread ]
Date: 20 Feb 2004 06:50:03 -0800
Thanks for your reply.
I had tried with just a simple client that calls a remote middle tier
object that accesses the SQL Server DB with my identity and returns a
single record.
It was taking 7 seconds on a 10Mbps line and a Win2K server.
I'm going to try this again and let you know how that went.
Thanks,
Ashwin
"Sherif ElMetainy" <elmeteny.NOSPAM@wayout.net.NOSPAM> wrote in message news:<#a2MIu29DHA.1504@TK2MSFTNGP12.phx.gbl>...
> Hello
>
> As Christian mentioned, Datasets are serialized as XML even if you choose
> binary.
> So the question is whether the bottle neck is the generation and parsing of
> the xml (CPU work) or is it the network problem (Bandwidth)?
> If it is a network problem, you can fix it by using data
> compression/decompression sink, this will require more CPU work, but will
> save a lot of network traffic.
>
> You can also yes TCP instead of IIS, and you can still use windows
> authentication. Example here
> http://msdn.microsoft.com/netframework/using/understanding/networking/remoting/default.aspx?pull=/library/en-us/dndotnet/html/remsspi.asp
>
> May be you can also modify your code, such that you cach some data in the
> client, for example a list of countries is not likely to change, so getting
> this data only once and cashing it in the client can be nice. This will
> minimize round trips to the server.
>
> Also try to make you data come on one call using out parameters, if you have
> 2 methods each returing an object and are always called right after each
> other, make one methods that returns the 2 objects, thus making only one
> trip to the server.
>
>
> Best regards
> Sherif
>
> "Ashwin Philar" <ashwinphilar@hotmail.com> wrote in message
> news:33fe2089.0402190728.461f21b9@posting.google.com...
> > Hi!! Everyone,
> >
> > This is what I want to do:
> >
> > 1) Users log on to domain
> > 2) All authentication is based on domain user identity
> >
> > This is what I am doing:
> >
> > 1) I can host my remote components only in IIS because of reasons
> > stated
> > above.
> > 2) I am using HTTP with Binary formatting
> > 3) Passing DataSets to clients
> >
> > This is my problem:
> >
> > 1) .NET Remoting is slow when DataSets are passed!!
> >
> > I have tried converting DataSets to serializable object arrays, but
> > still Remoting is slow!!
> >
> > I am building an Intranet application, how can I use a distributed
> > architecture?
> >
> > Please let me know if your experience contradicts mine and also let me
> > know if you have using alternatives, if any.
> >
> > Regards,
> > Ashwin Philar
- Next message: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Previous message: Alex Brunner, ALL CONSULTING AG, Switzerland: "Re: How to fix Big Red Cross on the screen"
- In reply to: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Next in thread: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Reply: Sherif ElMetainy: "Re: .NET Remoting is slow!! Alternatives??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|