Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 18, 2013 09:32 AM by gtscdsi
Jan 08, 2013 10:01 AM|LINK
My scenario is like this:
In my client application, I am using WCF to get data from the database. When the user makes some changes to some of the data items (like changing a value in a particular dropdown or in a particular textbox), then the WCF service transports the changed data
to a custom library located at server side, which will do some processing on the changed data and then return some values to display at the client side. This custom library is also abstracted out in the WCF facade.
But the problem is that the custom library contains some complex processing, and it is taking too long by the time the user gets to see the values returned by the library. The end users want the responsiveness to be somewhat like what happens in a calculated
cell in an excel sheet, when some input cell values are changed.
How to re-architect my solution to speed up the values returned by the custom library? The library has to be at server side only, because it can be changed dynamically. I am looking at various options, such as ajax. But even using ajax, how do I speed up
the access? Are there any patterns that I can apply to make repsonsiveness faster?
Looking up to my Gurus for enlightenment!
Jan 18, 2013 09:32 AM|LINK
As you mentioned, the performance bottleneck occurs at custom library complex processing. It will be better to resolve the performance issue from the root cause. Also, you can consider WCF tunning or NLB to resolve the issue.
However, if you like, there are excellent WCF performance articals for you reference :
A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies,
WCF Request Throttling and Server Scalability,
Using WCF with NLB, http://kennyw.com/work/indigo/134