Re: .NET WindowForm Application Performance Issue
- From: SharpCoderMP <csharp_mp@xxxxxxxxxxxxxxxx>
- Date: Fri, 09 Sep 2005 16:27:30 +0200
to me it looks like network issue. putting thing simle way:
1 to 2 seconds for a ping is quite a long time if you need fast db access with significant amount of data transfer. if one small packet needed so much time, then more and bigger packets will take a bit more time. if you compare this to localhost situation (db is locally) then difference will be significant.
Techstudent wrote:
Thanks Bob and Helge for your responses.
Info about the application:
This windows application is segregated into presentation layer and Datalayer. the calls to the database(Oracle 9i database) is directly using ADO.NET(Provider:Oracle provider for .NET).The database is in a remote location , the call goes through two routers to get to the database. we did isolate the issue to internal network. when we ping the database the response times are around 1 to 2 seconds. the application gets slower based on the network traffic. we are using one T1 Line.
the netwrok guys telling that they can't do any thing to improve the performance of the network unless they get another line to increase the bandwindth.
In my application i do bulk insert or update to reduce round trips to the database.
I am not using any remoting or webservices and i am not sure how these will help me work around the network issue.
The highest priority is the performance of the application.
Note: If i connect to the local database the application performs very well.
I appreciate your suggestions
Thanks
"Bob Grommes" wrote:
You would have to tell us something about how the application is currently architected (multi tier mapped objects of some kind, or web services, or straight ADO.NET, what DB, using native drivers or not, etc) and what the network situation is. Offhand if I had to guess I would say that you have a network issue and/or the application is just not well designed and the extra network overhead is bringing this out.
I recently was part of a two man team that put together a fairly elaborate WinForms app and I found it quite snappy even though for testing purposes I was connecting to a remote DB, over the Internet, via a VPN. The customer was connecting the same way for testing and approval and there was never a complaint about performance from them, either. So the good news is, it *can* be done.
One's mileage can and will vary depending on all sorts of variables so in this situation you really need to do some profiling to find out where the bottlenecks actually are.
--Bob
Techstudent wrote:
I have windows form application on clients computer communicating with Database which is in a remote location in same network. We see considerable performance degradation due to this setup. If the client access the databaser locally the performace is lot better.
Does any one have any suggestions to architect the application to gain the performance.
Note:This windows application is used by mutliple users with in the network and application is installed on the users computer.
Thanks
.
- Follow-Ups:
- Re: .NET WindowForm Application Performance Issue
- From: Anil Kumar Bedide
- Re: .NET WindowForm Application Performance Issue
- References:
- .NET WindowForm Application Performance Issue
- From: Techstudent
- Re: .NET WindowForm Application Performance Issue
- From: Bob Grommes
- Re: .NET WindowForm Application Performance Issue
- From: Techstudent
- .NET WindowForm Application Performance Issue
- Prev by Date: How do I copy NONSERIALIZED fields and properties of an object?
- Next by Date: Re: Massive Concurrency / Multiple ThreadPools
- Previous by thread: Re: .NET WindowForm Application Performance Issue
- Next by thread: Re: .NET WindowForm Application Performance Issue
- Index(es):
Relevant Pages
|