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

C#/Java Souce Code For ASP.NET Bandwidth/Speed Test Page Needed

You've all seen them. Hoards of sites (predominantly ISP's) offering to test
your bandwidth to the four corners of the globe, all trying to show that they
are faster and you should switch to using them.

Well, I now have a need to implement something similiar within my ASP.NET
applications so that I can troubleshoot slow performance problems between our
clients and our servers. An ActiveX control or Java Applet that the client
can download to their browser and that communicates with the server-side code
to test throughput between their desktop and our data center.

I've found PHP code, Linux-based tools, commercial product suites, but no
source code for C#.NET.

Can anyone point me in the right direction? TIA.
Mar 5 '07 #1
5 9957
I've found PHP code, Linux-based tools, commercial product suites, but no
source code for C#.NET.
Are you finding it difficult to convert PHP to C#, Linux to Windows?
btw, which products have you evaluated?
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
Mar 5 '07 #2
Are you finding it difficult to convert PHP to C#, Linux to Windows?
btw, which products have you evaluated?
No. I'm not finding it difficult to convert PHP to C#, because I'm not doing
it. And I have no experience with Linux so I'm not going there either.

And I can't believe that measuring a clients throughput to your web server,
something that is common across the web, is so difficult that I have to pay
for somebody elses product.

I am surprised at the lack of MS support for such a thing. I would think
with the proliferation of ASP.NET web applications, that questions concerning
the performance of a particular app would arise more often.

It doesn't matter that your web-farm is under-utilised, that you're using
20% of a 10Mb dedicated line, that your SQL Server 2005 backend cluster sits
idle most of the time. If the customer calls you and says that your
application is slow, you have to do something about it.

Hence the need for a speedtest page within the app.

Mar 6 '07 #3
"Andrew Hayes" <An*********@discussions.microsoft.comwrote in message
news:D2**********************************@microsof t.com...
....
It doesn't matter that your web-farm is under-utilised, that you're using
20% of a 10Mb dedicated line, that your SQL Server 2005 backend cluster
sits
idle most of the time. If the customer calls you and says that your
application is slow, you have to do something about it.

Hence the need for a speedtest page within the app.
Generally, a speedtest page wouldn't show whether or not your application is
slow. At most, it would show maximum available bandwidth at the moment the
test is run.

If bandwidth is your most important performance issue, then you're in great
shape! Most of us have more problems with slow code or slow database access,
or something like that.

John
Mar 6 '07 #4
Slow code and slow DB access are not issues since we knew we could have
5,000+ users accessing the system simultaneously, hence the dedicated line
but still we have a couple of customers who call us and complain that when
they are using the system the response times are slow (this is, clicking on a
button that performs a function is taking 10-30 seconds instead of the normal
1-3).

I'm pretty sure, after stress testing the system with WAS and ACT, running
relevant perfmon counters for a month, and logs from our data center that
show we're only using about 20% of the link on average (peaking to 70% at
month start/end), that the slowdown isn't at our end, but there's just no
pleasing some people. It's like we're guilty until proven innocent.

Now, it could be that our ISP is the bottleneck, and I would like to know
that so we can change if need be. Or it could be that the customers network
is lagging. Or the users PC is busy doing something and IE is not getting the
processor time it needs.

Unfortunately, accurately measuring TTFB and TTLB can only be done from the
client, hence the reason I want a page within the app that the user can go to
when they are experiencing some form of "slowdown", that will test bandwidth,
throughput, response times, etc. and send the report to us and the user.

Mar 6 '07 #5
As an example, where can I find the source code for a page like this?

http://tech.msn.com/speedtest.aspx

Obviously I don't care for the area code portion since our servers are
outside the US, and I don't think I can include the connection type since
most users wouldn't know what their company Internet connection really was.

If push comes to shove I'll just write my own from scratch, but try not to
make the usual mistakes such as overlooking TCP/IP packet control, timer
accuracy and precision of results.

Mar 7 '07 #6

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

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
73
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities...
2
by: Dave Brueck | last post by:
Below is some information I collected from a *small* project in which I wrote a Python version of a Java application. I share this info only as a data point (rather than trying to say this data...
114
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
30
by: Mike Cox | last post by:
Hi. I recently ran a benchmark against two simple programs, one written in Java and the other in C++. The both accomplish the same thing, outputting "Hello World" on my screen. The C++ program...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.