473,725 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disk I/O and ASPX Page Processing

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
Nov 18 '05 #1
1 1558
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" <GM**@NoSpam.co m> wrote in message
news:eS******** ******@tk2msftn gp13.phx.gbl...
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

Nov 18 '05 #2

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

Similar topics

0
2291
by: Santa | last post by:
I am using Fritz Onion's "Asynchronous Pages" approach as mentioned in the article http://msdn.microsoft.com/msdnmag/issues/03/06/Threading/default.aspx to increase the performance of my ASPX page.I am using the Custom thread pool as given in the article's sample. Implementation: =============== In AsyncPage.aspx I inhereted AsyncPage class instead of System.Web.UI.Page. SyncPage.aspx is like any other Web page which inherits
6
3144
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something like http://myserver/mypage.aspx. From there it gets blurry, because I just can't figure out how to do the rest. Does anybody have a sample page for me that I can take a look at? Just a simple one that takes whatever biztalk sends and saves it...
6
7797
by: Kentamanos | last post by:
Please don't ask me why I'm doing this (trust me, it makes sense in my system), but I'd like to basically redirect requests for a certain extension (thus a handler) to an ASPX page behind the scenes. I've created a handler and set it up to handle the extension in question. In my ProcessRequest, I'd like to basically figure out which ASPX page to "forward" the request to. I've tried all sorts of methods (Server.Transfer and Server.Execute for...
0
1513
by: Santa | last post by:
I am using Fritz Onion's "Asynchronous Pages" approach as mentioned in the article http://msdn.microsoft.com/msdnmag/issues/03/06/Threading/default.aspx to increase the performance of my ASPX page.I am using the Custom thread pool as given in the article's sample. Implementation: =============== In AsyncPage.aspx I inhereted AsyncPage class instead of System.Web.UI.Page. SyncPage.aspx is like any other Web page which inherits
2
2175
by: Janusz Jezowicz | last post by:
Hello! I would like to have one page on the server, which would be a target processing page for a number of other aspx pages. E.g Processing page \portal_page.aspx Target pages
4
2441
by: TWEB | last post by:
I think I may have an IIS / ASP.Net Configuration issue that I need some guidance with resolving. Here's the problem: a) I have a .stm file. b) I referenc a .aspx file on this .stm file using a server-side-include directive: <!-- include virtual="../../foobar.aspx"--> c)When the .stm file is rendered: The .aspx file is included, but it doesn't look like the ASP.NET engine is processing the page, because I see the raw
13
4520
by: Matt | last post by:
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0? Thanks, Matt
0
1100
by: Gabriel Lozano-Morán | last post by:
Here is my problem description: We have a Java Portal from there a user can click on a certain aspx page. There is some kind of authentication mechanism that can be compared to a challenge-response authentication where a Java Servlet asks me for something with a HTTP Post and I have to respond to that request and in return the Java Servlet will retrieve the page again but this time using a HTTP Get. The problem is that when I answer with...
4
1729
by: moondaddy | last post by:
I have a .net 1.1 winforms app that calls an aspx page which I need to debug. I also need to start the debugging process from the winform because the winform first calls a web service which passed secure data to the web server and is cached for 10 seconds and returns a guid. when the winform loads, it passes in this guid as a param to find the data being cached. It then uses this data for various processing. Therefore, I can't simply...
0
8889
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9116
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8099
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.