load

What do most users consider acceptable load times on a website?

I am interested in opinions on what is acceptable from a user standpoint in web page loads. I talking about home fronts mostly as I am aware of the "it depends" factor related to what the user is doing. Is there a target number that big sites like CNN or espn strive for? Also, what factor does perception play in load times? Letti...

What is the most accurate method of estimating peak bandwidth requirement for a web application?

I am working on a client proposal and they will need to upgrade their network infrastructure to support hosting an ASP.NET application. Essentially, I need to estimate peak usage for a system with a known quantity of users (currently 250). A simple answer like "you'll need a dedicated T1 line" would probably suffice, but I'd like to have...

Load external JS from bookmarklet?

How can I load an external Javascript file using a bookmarklet? This would overcome the URL length limitations of IE and generally keep things cleaner. ...

Calling a ASP Page thru it Class

Like in Windows Forms: Dim myForm as New AForm(Constr-arg1, Constr-arg2) myForm.Show ... is there a similar way to Load a Page in ASP.Net. I would like to overload the Page Constructor and instantiate the correct Page Contructor depending on the situation. ...

How to set CPU load on a Red Hat Linux box?

I have a RHEL box that I need to put under a moderate and variable amount of CPU load (50%-75%). What is the best way to go about this? Is there a program that can do this that I am not aware of? I am happy to write some C code to make this happen, I just don't know what system calls will help. ...

PHP Load Testing framework

Anyone know of an opensource PHP Load Testing Framework similar to the Grinder " "http://grinder.sourceforge.net/". ...

Most efficient way to close a load() page using the X sign in jquery

I'm new to Jquery and I'm trying to use a div container to load a URL, however, I want to give a user an option to close it with an X sign on the top right corner like in Amazon.com. What's the best way to accomplish this? Here's what I have and seems clumsy to figure out where the top right corner is and place the image X: $("#url_lin...

Best tool to Stress Test a dynamic website?

We're looking for a cheapish, easy-to-use stress testing tool to record a user's flow through our website and then hammer it with that script until it falls over. Our requirements are: 1) Certain URL's need to be called with a Session Id that is returned in previous calls. So there must be some way of generating dynamic URL's based on d...

How would I go about figuring out the maximum load my server(s) can handle?

In Joel's article for Inc. entitled How Hard Could It Be?: The Unproven Path, he wrote: ...it turns out that Jeff and his programmers were so good that they built a site that could serve 80,000 visitors a day (roughly 755,000 page views) How would I go about figuring out the maximum load my server(s) can handle? ...

Load HTML frames in a specific order without back button problems?

I have a web page that uses a frameset. Due to scripting and object dependencies, I need to load the frames in a specific order. I have used this example as a template: The JavaScript Source: Navigation: Frames Load Order This loads an empty page in place of the page I need to load last, then replaces it with the correct page after th...

Putting a value on the load of a windows system

I've written an image processing script in php which is run as a cron scheduled task (in OSX). To avoid overloading the system, the script checks the system load (using 'uptime') and only runs when load is below a predefined threshold. I've now ported this over to Windows (2003 Server) and am looking for a similar command line function ...

How do I load arbitrary data from a url PHP?

This question is simple. What function would I use in a PHP script to load data from a URL into a string? ...

What's the way to implement Save / Load functionality?

I'm trying to implement a Load / Save function for a winforms applications. I've got following components : A Tree View Couple of List Views Couple of Textboxes Couple of objects (which holds a big dictionarylist) I want to implement a way to save all of this into a file, and resume/load it later on. What's the best way to do this?...

Fade in each element - one after another.

Hey all, I am trying to find a way to load a JSON page to display my content, which I currently have. But I am trying to fade in each element one after another? Is anyone familiar with a way to do that? Fade in each element with a slight delay? Thanks, Ryan ...

generate CPU load in Java

I am conducting some throughput testing. My application has to read from JMS do some processing write to JMS My goal here is to simulate #2, 'some processing'. That is, introduce a delay and occupy the CPU for a given time (e.g. 500ms) before forwarding the event. The naive approach would be to Thread.sleep(500). This would introduc...

Checking flash file loading with javascript

Hello, Is there a way to check how much a flash file is (down)loaded to the page before it is shown? Our team cant put loading indicator inside the flash file because the swf file is uploaded by our client. Is there some kind of property on xmlhttprequest that we can use to indicate how much has been downloaded? Or any other suggestion t...

To parse an XML file in java whose path is to be got dynamically

Hi, I have a class Test in C:/proj/test_xml/Test.java. Given parser.parse("test.xml"); I need a way to parse test.xml whether it is in current directory, proj or in C:/ Also, the solution should not make use of java.io Thanks ...

How to save and load a text mode game

I went in late in a project of gamedev of a simple text game in C++.I studied the project and I think I know how to do everything but i get stuck on a thing:how to save and load the game as proposed.I don't want to have the thing done for me,only you show me a way to do it. ...

C# Writing to the output stream

This code will always make my aspx page load twice. And this has nothing to do with AutoEventWireup. Response.Clear(); Response.ContentType = "application/pdf"; Response.AppendHeader("Content-Disposition", "inline;filename=data.pdf"); Response.BufferOutput = true; byte[] response = GetDocument(doclocation); Response.AddHeader("Content-L...

Tracking file load progress in Python

A lot of modules I use import entire files into memory or trickle a file's contents in while they process it. I'm wondering if there's any way to track this sort of loading progress? Possibly a wrapper class that takes a callback? ...