469,306 Members | 1,903 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

serving XML

A site I regularly work on has, in its web root, a static XML file. This
XML happens to be an ADO persisted recordset with 0 rows, all of ~3 KB in
size. (Clients can open it, insert records, and then push the appended
recordset back to the server for an UpdateBatch, but that's not important to
this question.)

Everything works, however, during an analysis of the site's IIS logs, I
noticed that requests for this static XML have, on occasion, taken as long
26 seconds to be processed! The thing that's mind-numbing is that we have
an ASP script that gets requested 2-3 times more often, that, when called
with a certain parameter (that causes it to return last error details stored
in the session) has never taken more than a sub-second to process, no matter
how busy the server is!

This has led me to wonder if this XML is truly as static as I'd assume, so
my question is, does an xmlns attribute cause an implicit request, thus
imposing a dependency on a foreign site? Specifically, does
"xmlns:rs='urn:schemas-microsoft-com:rowset'" cause an http request to
schemas.microsoft.com?

Given that requests for ASP scripts are completing concurrently while a
request for this static file is being "processed", what could cause this
tiny little download to lag so badly?

I'm considering changing the file to an ASP, that sets content type and then
response.writes the XML from a string buffer, but I can't imagine how that
could be more efficient. (The server O/S is 2K3/IIS6.)

tia,
Mark
Oct 16 '05 #1
0 999

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Margaret MacDonald | last post: by
2 posts views Thread by Thomas W | last post: by
3 posts views Thread by -[ CaMeL ]- a55m0nk | last post: by
3 posts views Thread by Jack | last post: by
21 posts views Thread by Nicholas Sherlock | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.