473,395 Members | 2,010 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,395 software developers and data experts.

increasing the RPS of any page

i have a .NET application developed in C# but after performance testing we
found that its RPS(request per second) is very low.
how can i improve this. we are not using Viewstate too
Nov 19 '05 #1
3 1307
We'll need a lot more information than that,
in order to be able to give you specific pointers.

For information on ASP.NET Performance and Scalability, see:

http://msdn.microsoft.com/library/de...l/scalenet.asp

Read the background information ( the 17 chapters )
and check your application's configuration code practices
against the "checklists" provided after the chapter listings.

Then, going through the "HowTos" should be of help.

There's no easy answers for your question.

You'll have to dig in, deep, to get all the
performance improvements you need.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"ashok" <as***@discussions.microsoft.com> wrote in message
news:25**********************************@microsof t.com...
i have a .NET application developed in C# but after performance testing we
found that its RPS(request per second) is very low.
how can i improve this. we are not using Viewstate too

Nov 19 '05 #2

Some questions for you :

1) On what hardware is the site running (you say appication, you do know
this is a newsgroups about websites right?) and must it share the box with
other sites/applications
2) What is the cause of the low performance? Many times it's the database
that gets too much work or there can be some kind of locking going on

The best way to solve performance issues is to rearchitect. This is most
of the time the slowest.
The fastest techniques are : caching on the server, caching on the client,
good database indices,...

Only If we know the cause of the problem we can solve it right?
Cheers,
Tom Pester
i have a .NET application developed in C# but after performance
testing we
found that its RPS(request per second) is very low.
how can i improve this. we are not using Viewstate to

Nov 19 '05 #3

I think a good approach is to:

- always bear in mind that your pages may get called 100 times per
second
- create a quick and easy to use testing app (that can simulate high
traffic)
- performance test as you develop, getting ridding of slow or cpu
hungry code as you work
- study database locking and indexing till you are a pro
- create and use consistent database access strategy (generally
tablock/tablockx for all web stuff can
accelerate db access significantly as lock acquisition time for web
apps is often higher than lock hold time)
- never use connected recordsets for long winded update jobs
- make sure connection pooling is on!
- try and avoid approaches that don't work with data in small chunks
(ie: DataReader yes, DataSet avoid like plague)
- asp.net trace timing feature is cool, use this to drill down into
inefficient methods
- remember that http requests are serialized for each session context
(issue if using frames)
- remember that response.write(your html) is probably much more
efficient than using ms html and web controls (which suck)

also bear in mind the big difference between slow through waiting (low
cpu) and slow through processing (high cpu)

Nov 19 '05 #4

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

Similar topics

22
by: Bryan Rickard | last post by:
I wrote a simple program in VB6 to copy all the files from a directory on a CD-ROM to my hard disk. There are about 10 files, each about 30MB. The program uses Get and Put to get data from the...
1
by: picard | last post by:
I have seen in various posts that there are tricks to increasing the largest continuous memory block available to an application on a windows machine. I want to prove this is possible using a...
5
by: Good Man | last post by:
Hi everyone I'm using the "MySQL Administrator" program to keep tabs on the health of a web system i am developing. I think it's nice to have quick (gui) feedback on the query cache, memory...
4
by: Rahul B | last post by:
Hi, I was getting the error: sqlcode: -911 sqlstate: 40001 , which is "The maximum number of lock requests has been reached for the database." So i increased the locklist size to 200 from the...
4
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
Visual Studio 2005, C# WinForms application: Here’s the question: How can I increase the standard 1 MB stack size of the UI thread in a C# WinForms application? Here’s why I ask: I’ve...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.