Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Disk I/O and ASPX Page Processing

Reply
Thread Tools

Disk I/O and ASPX Page Processing

 
 
Guadala Harry
Guest
Posts: n/a
 
      09-23-2004
Suppose two different servers (two different physical machines - no
clustering or farming going on here) on the same network:
1: Web Server (2003/IIS6)
2: SQL Server
.... and an ASP.NET Web application running of course on the Web Server.

The Web application serves up a product catalog (Catalog.ASPX); all the
data that appears on Catalog.ASPX page is retrieved at runtime from the SQL
Server database. Users can click a button in the catalog to request details
about any item in the catalog - and that detailed info is retrieved from the
SQL Server.

My question(s): In the above scenario, when is there disk I/O on the Web
Server? More specifically...
Is it true that, for a new Session, on the very first request of
Catalog.ASPX, the Web Server would *necessarily* read the ASPX page from
disk and then any code-behind logic processed?

What about on a postback? Suppose a user is viewing the catalog and clicks a
button that causes a postback - during which logic in the code-behind of
Catalog.ASPX causes additional info to be retrieved from the SQL Server and
sent down to the browser. During this Postback would there *necessarily* be
any disk I/O on the Web server to handle that request?

Would output caching Catalog.ASPX have the ability to completely eliminate
all disk I/O on the Web server for processing postbacks of Catalog.ASPX
within a Session?

Please note I'm not asking at all about disk I/O on the SQL Server in the
above scenario.

Thanks!

-GH


 
Reply With Quote
 
 
 
 
Martin Dechev
Guest
Posts: n/a
 
      09-24-2004
Hi,

Even if we suppose that everything is cached and served from the cache,
there will be still disk I/O operations - reading/writing the virtual memory
(the paging file).

Appart from this consideration, on each request for any of the pages (if
these are not served from the cache) the parser will need to read the file
from the disk (I'm not sure the .aspx files are cached by the runtime, but
even if they are, it will need to check whether the file has changed). So,
yes, there will be some disk I/O operations.

Greetings
Martin
"Guadala Harry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Suppose two different servers (two different physical machines - no
> clustering or farming going on here) on the same network:
> 1: Web Server (2003/IIS6)
> 2: SQL Server
> ... and an ASP.NET Web application running of course on the Web Server.
>
> The Web application serves up a product catalog (Catalog.ASPX); all the
> data that appears on Catalog.ASPX page is retrieved at runtime from the

SQL
> Server database. Users can click a button in the catalog to request

details
> about any item in the catalog - and that detailed info is retrieved from

the
> SQL Server.
>
> My question(s): In the above scenario, when is there disk I/O on the Web
> Server? More specifically...
> Is it true that, for a new Session, on the very first request of
> Catalog.ASPX, the Web Server would *necessarily* read the ASPX page from
> disk and then any code-behind logic processed?
>
> What about on a postback? Suppose a user is viewing the catalog and clicks

a
> button that causes a postback - during which logic in the code-behind of
> Catalog.ASPX causes additional info to be retrieved from the SQL Server

and
> sent down to the browser. During this Postback would there *necessarily*

be
> any disk I/O on the Web server to handle that request?
>
> Would output caching Catalog.ASPX have the ability to completely eliminate
> all disk I/O on the Web server for processing postbacks of Catalog.ASPX
> within a Session?
>
> Please note I'm not asking at all about disk I/O on the SQL Server in the
> above scenario.
>
> Thanks!
>
> -GH
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enbedding aspx page into another aspx page and post back Naga_01 Software 0 06-06-2006 05:51 AM
Loading an aspx page in a fram from another aspx page =?Utf-8?B?Uk1M?= ASP .Net 1 09-16-2005 01:21 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
How to Pass values between from a popup page aspx & a normal page aspx Marco Antonio Montalvo Durán ASP .Net 2 01-23-2004 09:35 PM
How do I post data from aspx page to another aspx page. Sriram Mallajyosula ASP .Net 1 11-05-2003 04:48 PM



Advertisments