Click here to Skip to main content
15,886,963 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET Performance & JS/XML Pin
thund3rstruck12-Dec-08 19:48
thund3rstruck12-Dec-08 19:48 
AnswerRe: ASP.NET Performance & JS/XML Pin
Christian Graus12-Dec-08 20:13
protectorChristian Graus12-Dec-08 20:13 
GeneralRe: ASP.NET Performance & JS/XML Pin
Eytukan12-Dec-08 20:13
Eytukan12-Dec-08 20:13 
GeneralRe: ASP.NET Performance & JS/XML Pin
Christian Graus12-Dec-08 20:14
protectorChristian Graus12-Dec-08 20:14 
GeneralRe: ASP.NET Performance & JS/XML Pin
Eytukan12-Dec-08 20:20
Eytukan12-Dec-08 20:20 
GeneralRe: ASP.NET Performance & JS/XML Pin
thund3rstruck12-Dec-08 20:51
thund3rstruck12-Dec-08 20:51 
GeneralRe: ASP.NET Performance & JS/XML Pin
Christian Graus13-Dec-08 10:06
protectorChristian Graus13-Dec-08 10:06 
GeneralRe: ASP.NET Performance & JS/XML Pin
thund3rstruck13-Dec-08 15:59
thund3rstruck13-Dec-08 15:59 
[quote]Is your site bigger than CP ? Does it have more users than CP ? CP is written in ASP.NET, using server controls.[/quote]

No, these intranet sites are no where near as big codeproject and they max out around 4000 concurrent connections. My original question wasn't legitimate as I didn't understand how JavaScript partial postback (AJAX) works but after reading some more and talking to others I now understand that JavaScript can query, parse, etc xml from a remote resource (usually generated by a script url) and the xml that's transferred to the browser is send as a result of the database logic in your query script.

I'm at a loss here in determining why our sites are performing so poorly. As I stated before, I have reduced the scope of my stress testing to a single TreeView that's populated from a SQL Query and even with nothing but a treeview on the page I still get TTFB values of approx 6000ms and TTLB of 30000ms. If I replace the ASP.NET tree with a DHTML tree, I get a TTLB that's reduced by a few seconds but even that is unacceptably slow. So for a single page, regardless of the load (and I've tested up to 50 concurrent threads) it takes almost 6 seconds to send the first byte to the users browser and 30 more seconds to send the last byte.

To this point I have enabled caching, reduced the page size, enabled http compression, disabled viewstate and session state, and ensured the pages are batch compiled. I suppose that last thing to do is to run some analysis on the SQL queries used to populate the treeView, perhaps they're the problem (but I'm using NHibernate as the data layer, which is supposed to already be optimized).

Thanks guys, I'm going to continue this testing (I'm using the old Microsoft Web Application Stress Tool; is there a more modern, free stress testing tool?) and I'll update this thread if I get this page to respond in the way our business rules dictate (no longer than 3 seconds to TTFB and no longer than 6 seconds to TTLB).

Thanks
Questionhow to work with Treeview Pin
Nanda_MR12-Dec-08 17:40
Nanda_MR12-Dec-08 17:40 
AnswerRe: how to work with Treeview Pin
codingrocks12-Dec-08 17:43
codingrocks12-Dec-08 17:43 
GeneralRe: how to work with Treeview Pin
Nanda_MR12-Dec-08 18:00
Nanda_MR12-Dec-08 18:00 
GeneralRe: how to work with Treeview Pin
codingrocks12-Dec-08 18:11
codingrocks12-Dec-08 18:11 
GeneralRe: how to work with Treeview Pin
Nanda_MR12-Dec-08 19:11
Nanda_MR12-Dec-08 19:11 
GeneralRe: how to work with Treeview Pin
Christian Graus12-Dec-08 19:24
protectorChristian Graus12-Dec-08 19:24 
Questionasp:TextBox backgroundColor change also affects borderStyle? Pin
Cyrilix12-Dec-08 8:35
Cyrilix12-Dec-08 8:35 
AnswerRe: asp:TextBox backgroundColor change also affects borderStyle? Pin
Uwe Keim12-Dec-08 9:56
sitebuilderUwe Keim12-Dec-08 9:56 
GeneralRe: asp:TextBox backgroundColor change also affects borderStyle? Pin
Cyrilix12-Dec-08 20:40
Cyrilix12-Dec-08 20:40 
QuestionRead xml from SSL server [modified] Pin
Phrone12-Dec-08 8:24
Phrone12-Dec-08 8:24 
AnswerRe: Read xml from SSL server Pin
Uwe Keim12-Dec-08 9:57
sitebuilderUwe Keim12-Dec-08 9:57 
GeneralRe: Read xml from SSL server Pin
Phrone12-Dec-08 10:01
Phrone12-Dec-08 10:01 
QuestionObjectDataSource bounded DropDownList in GridView Pin
b43r_3oo312-Dec-08 5:49
b43r_3oo312-Dec-08 5:49 
QuestionEnabling view state Pin
chandra vempati12-Dec-08 5:24
chandra vempati12-Dec-08 5:24 
AnswerRe: Enabling view state Pin
Christian Graus12-Dec-08 10:18
protectorChristian Graus12-Dec-08 10:18 
QuestionDataBound DropDownList Questions (2) Pin
ffowler12-Dec-08 4:02
ffowler12-Dec-08 4:02 
AnswerRe: DataBound DropDownList Questions (2) Pin
Brij12-Dec-08 4:16
mentorBrij12-Dec-08 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.