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

Network question

I am finding that our site typically responds pretty well.

But sometimes I will be going to the logon page, which should load fast, and
I will have to wait about 20 seconds before it displays.

How would I go about finding out if the problem is network related (our
network normally is not normally in heavy use) or is the web server taking
time sending out the page or some other issue?

Thanks,

Tom
Aug 3 '06 #1
3 1110
Hi,

tshad wrote:
I am finding that our site typically responds pretty well.

But sometimes I will be going to the logon page, which should load fast, and
I will have to wait about 20 seconds before it displays.

How would I go about finding out if the problem is network related (our
network normally is not normally in heavy use) or is the web server taking
time sending out the page or some other issue?

Thanks,

Tom
I see different approaches:

1) Logging. At first, enable server-side logging to see when the request
arrives, when it is processed (add logging in your code), and when it is
sent back to the client. If everything is normal on the server, you can
try to use client-side logging, but it's a bit trickier. I do
client-side logging in two ways:
- Using a web service to create the messages on the client, send them to
the server and log them to the same log file as the server-side logging
- Using JavaScript to write client-side files (but that only works if
certain permissions are set).

For client-side file writing, see
http://www.galasoft-lb.ch/myjavascri...rer/index.html

2) Use a HTTP analyzer (for example the excellent Fiddler) to monitor
your traffic.

3) Test in different configurations, with different loads (number of
clients, number of requests) and try to find the smallest common
denominator...

Most probably a combination of 1,2,3 will bring you the answer...

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 3 '06 #2
"Laurent Bugnion" <ga*********@bluewin.chwrote in message
news:OQ**************@TK2MSFTNGP05.phx.gbl...
Hi,

tshad wrote:
>I am finding that our site typically responds pretty well.

But sometimes I will be going to the logon page, which should load fast,
and I will have to wait about 20 seconds before it displays.

How would I go about finding out if the problem is network related (our
network normally is not normally in heavy use) or is the web server
taking time sending out the page or some other issue?

Thanks,

Tom

I see different approaches:

1) Logging. At first, enable server-side logging to see when the request
arrives, when it is processed (add logging in your code), and when it is
sent back to the client. If everything is normal on the server, you can
try to use client-side logging, but it's a bit trickier. I do client-side
logging in two ways:
I am logging certain things to my Sql Server, but that might negate the
test.

How would I write logging to tell when a page arrives, processed and sent
back?
- Using a web service to create the messages on the client, send them to
the server and log them to the same log file as the server-side logging
- Using JavaScript to write client-side files (but that only works if
certain permissions are set).

For client-side file writing, see
http://www.galasoft-lb.ch/myjavascri...rer/index.html

2) Use a HTTP analyzer (for example the excellent Fiddler) to monitor your
traffic.
I am going to check this.

I assume that Fiddler is loaded onto the Web Server.

Am I able to administer and analyse the data from my workstation?

Thanks,

Tom
>
3) Test in different configurations, with different loads (number of
clients, number of requests) and try to find the smallest common
denominator...

Most probably a combination of 1,2,3 will bring you the answer...

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch

Aug 3 '06 #3
Hi,

tshad wrote:
I am logging certain things to my Sql Server, but that might negate the
test.

How would I write logging to tell when a page arrives, processed and sent
back?
Actually, I meant using the built-in ASP.NET logging possibilities
(sorry, it's actually called Tracing), which are giving you a lot already.

Enabling the Trace attribute in the Page directive allow to output a lot
of information to the console or even to the page itself, which can be
very helpful.

You can also enable tracing for the whole site using the <tracesection
in the web.config file.

Additionally, you can add trace messages from your code-behind using the
Page.Trace property and its Write method.
I am going to check this.

I assume that Fiddler is loaded onto the Web Server.
No, Fiddler is actually placed between the client and the server,
typically on one the same computer as one of the web clients. It
displays all HTTP traffic occuring between the web client and the web
server.
Am I able to administer and analyse the data from my workstation?

Thanks,

Tom
Yes.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 3 '06 #4

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

Similar topics

8
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork =...
36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
4
by: kevin.hall | last post by:
I've got a problem where I have to identify differences in network. The network may have different types of nodes and may only have a string of ring-like topology: Code: A--B--C--D--E or
1
by: Naveen Mukkelli | last post by:
Hi, I've got 3 Network Interface Cards(NIC) in my PC. Lets say NIC1, NIC2, NIC3. I have openend network connections in control panel and renamed them to Network 1, Network 2, Network 3. I'm...
5
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
14
by: frostalicious | last post by:
Used VB.NET (on my client PC) to convert VB6 executable to .NET executable. Placed the .exe file on a network drive on my server. From client, ran .NET Wizards "Trust an Assembly" to make the...
2
by: .Net Believer | last post by:
I using the routine below to copy file to a network drive for a regular backup process. Before calling this routine I using another function to check the presence of the LAN connection and the...
2
by: Dave | last post by:
Hi everyone, I've got a program which sends UDP data which works perfectly on my PC but not on my laptop. The problem experienced is that sometimes on the laptop packets that I send just...
6
by: Tony | last post by:
Hello! This is the scenarion that we want to implement. We have a computer called A which register itself on a superviser server about it's existence so other computer can get the...
6
by: Dom | last post by:
In my C++ and VB days, it was easy to put a program on a network drive, and allow each user to shortcut to it. Then, when needed, I could just update the program on the network drive, and each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...

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.