Showing posts with label Recommend Resource. Show all posts
Showing posts with label Recommend Resource. Show all posts

Friday, February 24, 2012

How to test your web loading times

Wired has an interesting article on how to measure web page load times. As they rightly say, the ability to measure load times for a web page is both very important and also very difficult to determine. I would like to explore some of these factors and to add a few considerations of my own that don't always get included under the topic of web site performance.

Build it and they may come

If people have a choice of whether or not to visit your new web site, they may decide the wait is simply too long. Standing in line at the grocery store we may roll our eyes when the cashier takes too long, but try the same situation on-line and the person "in line" simply hits the back arrow and finds a more responsive site. So, load times are in some ways as important as the quality of the content. The easier it would be for a visitor to find the same content or service elsewhere, the faster your site has to load.

As bad as it may seem that you are losing people to other sites due to slow load times, the problem becomes even worse if those people are finding your site via a Google search. Google measures all their user activity to determine what Google search users like and don't like. Things they like go up and things they don't like go down. When it comes to measuring search results, a click from the search results is seen as a valid indicator of value. But, when a user quickly returns to the search results to try the next link, Google sees that as evidence that the site at the end of the link was not valuable. And, as you might have concluded, the subsequent searches will list your site lower on the search results.


Don't evaluate a site under optimal conditions

One of the most common mistakes I've seen with inexperienced development teams is that the web site owner reviews the site on the developer's computer. It's a natural thing to do because the site has not been optimized or the web server may not have been prepared -- and all of these reasons are quite valid -- but if you don't look at the site under some sort of realistic conditions while developing the site, you may end up with a slow site that cannot be easily fixed. And before you announce your publicly, you certainly must test it out under a wide range of conditions.

I was involved in a situation where an office I was consultant to put up it's very first web page for an online learning program -- this was a long time ago -- and they did not check their new web site under normal conditions. They loved their new site because it looked so much better than all the other web sites. They had wall-to-wall intricately designed graphics. Today that accomplished in a reasonable way, but back in the web 1.0 days, there was no way to get such images into a design without very slow load times. And that's what they had but didn't know it. So they went to announce their new online learning program by purchasing a $50k+ full-page advertisement in the New York Times Sunday edition. Saturday night I got call saying the site was down and could I look at it. It didn't take long to see that the site was running but that the graphics were choking the system. What would have happened if large numbers of Times readers tried to access it on Sunday is yet another issue. It turns out they thought it was broken because the manager went to show his wife the new site and it would not come up. That was the first time the site had been reviewed on a computer other than that of the graphic designer's laptop. I was able to optimize the images and get it down to merely slow, but the lesson I saw that night is one I've seen various versions of many times since.

Stress Tests

Even if a site loads well under realistic conditions, it's unlikely that you will have hundreds or thousands of simultaneous testers. A properly designed site can still come to a crawl if the server has limited capacity. Usually, it's a limitation of bandwidth that will slow the site first. Any decent server purchased within the last five years is going to have enough capacity to serve even the largest Internet connection. But as people divide their servers into multiple virtual servers, the capacity allocated to the web site might not be sufficient for heavy use. So one way to evaluate the capacity of the server and the Internet connection is to perform a stress test. The cheapest way is to get as many people as possible to use the site at the same time and then see what the levels of used resources are. Divide the number of people into the amount of resources to determine how many people could be served. This will give you a basic feel of how many users you might have, but there are so may variables that this number should be considered only an approximation. But it's not an easy calculation even if you do know how many resources a user typically uses. Users who return to your site multiple times may have your site's graphics in their browser cache. That means they take a lot of resources on the first visit but not on the subsequent visits because they are not downloading your banners and other graphics from your site. Users who come from some ISPs, such as AOL, may get images from their ISP's cache. In this case, it's not the first time a person visits but it may be the first time a person visits from a given ISP. All other users, even when it's their first visits, will be downloading your content from the ISP's cache and not from your site. Of course, this is good news for your site in terms of reducing strain, but, as you can see, calculating resources is never easy.

But, if you are on a fixed set of equipment and Internet connections, the most comprehensive review comes from using an external stress test firm. Such firms have servers located around the world and will attempt to reproduce varying levels of traffic from a number of geographically dispersed locations. They will also use different browsers to see if there are any browser-related bugs in your site's design.

The solution I like most is host the web site on a hosted platform where more capacity can be added instantly. Some providers allow a web site to burst up to a higher level of capacity than paid level. If the site consistently goes about the paid level, then the hosting provider will expect you to upgrade to the next service level. While this is a great solution, don't let this option make you lazy. A slow site may not choke the Internet connection of the hosting firm, but your users will still leave the site if is slow. No one is increasing their speed on their side.

Evaluate and Adjust

Many times the parts of the site that will be of most interest to users will be obvious and at other times a site may generate traffic to pages or parts of the site that were not envisioned to be of great interest. Because Google search results flattens a web site's hierarchy of content levels, you may find that a page three levels down in your site is more popular than the pages above it. There can be multiple reasons for this. Perhaps the higher level pages were not clear as how to find the content users really wanted and visitors use Google to find content on your site. But in other cases, your site may simply being supporting needs you did not realize your audience had -- or you found an audience that you didn't expect to be interested. If the cause is user confusion, fix the text and menu options. Web site statistics can be used to see the "path" users take as they click through the site. Look for results that don't make sense. If a large number of people are going to a page and not continuing on as would be expected, perhaps this indicates a problem. Consider bringing up the content or putting a link to it on the home page.

You should also ask yourself if the usage patterns you are seeing indicate a different form of interest than what the site was originally built to address. If so, adjust your site to meet these new needs -- assuming the new audience is of interest to your organization, of course. One of the lessons that's important to learn is that the goal is not just to make a site load faster; rather, it's to get the user to the desired content as quickly as possible.

Monday, December 5, 2011

What are the Top Five Apps to Help Prevent Distractions?


If you work from home, you know how little distractions that take fifteen minutes out of your day can really add up. These can come in the form getting lost surfing the web, playing a quick game of Angry Birds, or listening to your favorite radio show, which are all detrimental whether you're trying to meet a deadline in the office or complete your dissertation. While these are all important aspects of daily living, finding the time to manage your schedule so you can get things done can be hard without the proper guidance. Check out these top five anti-distraction apps that will help you stay on track while you work from home.

1.
Stay Focusd

Have you ever told yourself you would take a five-minute break to watch a video on YouTube but still find yourself glued to the monitor watching cat videos an hour later?
Stay Focusd addresses this issue by providing you with an easy-to-use blacklist for sites that you find too distracting. You can set the maximum allowed time you want to be able to use these distractive sites in a 24-hour period and after that time expires, the extension will no longer let you browse those sites. It is easy to set up and is seamlessly designed for Google Chrome.

2.
Focus Booster

The pomodoro technique has long been thought of as an easy means to give yourself a small break while getting more work done throughout the day. The general idea is to give yourself 55 minutes of work time and five minutes of break time so that you stay focused on the task at hand. Focus Booster is an Adobe Air application that runs on your desktop. You can customize the time to give yourself as much as 15 minutes of break time. Focus Booster also comes in the form of a web app called Focus Booster Live if you don't want to download anything to your desktop.

3.
Read It Later

If browsing RSS feeds causes you to lose a lot of time during your day, then
Read It Later is the perfect companion to minimizing distractions. If you find a page you want to save until later, you can install one of the many extensions for Firefox, Chrome, or Safari and click a small button to add the page to your Read It Later account. When you have time to read everything you saved throughout the day, simply open the page. Read It Later also offers iOS and Android apps and cleans up unnecessary clutter so you only see the content you want to see.

4.
Mr. Number

One of the most annoying things about smartphones is that they can be distracting when you need to get work done. If you want to prevent being distracted by someone constantly calling you or sending you texts, Mr. Number can help. You can block any phone number for any period of time. Mr. Number is available for Android smartphones.

5.
Shush! Ringtone Restorer

One of worst things about silencing your phone to avoid distractions is forgetting to turn it back on when it is needed. Shush! solves this problem by allowing you to silence your phone for a specific period of time. Simply use the volume rocker to silence the phone and a window will pop up asking how long you would like to keep the phone silenced. Once that time period has passed, the phone will return to its previous volume level. Shush! is available for Android phones.

Of course, minimizing the distractions you suffer while using your computer depends on your own willpower. Apps like Stay Focusd include methods to keep you from circumventing their settings such as having to type an entire paragraph of text error free, but sticking to your guns and using these tools as a supplement rather than a crutch is always the best way to get things done in a timely manner.

Elaine Hirsch

Monday, August 23, 2010

Open Source Tools for Education

The Guide to Computer Training has an interesting list of open source programs well suited for educational uses. While there are many such lists, this one covers pretty much the most important applications directly related to educational use.

The site also has a useful listing of schools that offer IT degrees of various types. While it may not be difficult to find schools with IT degrees -- probably most universities have a computer science department -- it is not always easy to find only the schools that offer a specific specialty. There is also a review section. Over time, the review section will hopefully become more useful as students and former students report on their experiences.

T

Tuesday, May 25, 2010

Don't Eat the Cookies



Google has a useful set of tools for blocking cookies -- the type your web browser generates and not the nice ones you eat. First of all, let's set straight what a cookie is. It's a small text file created by your browser at the behest of the site you have visited -- or of a third-party's site somehow related to a site you've visited.

Cookies are not programs, viruses, or Trojan horses. The intention of a cookie is to save user or activity information so that the site may "recognize" you and hopefully make your experience on their site better. The downside is that cookies can create privacy issues. This is especially true with the cookies set by advertisers. In general, you want to allow cookies from the sites you visit but probably not from third-party sites, such as DoubleClick. The link at the top of the page tells you how you may stop third-party cookies plus the ones that DoubleClick set. I had not realized that DoubleClick had gotten around the third-party cookie blocking systems, but it has. The add-ons and instructions on this Google page -- the owners of DoubleClick -- gives you all the information you need to know.

T

Tuesday, March 9, 2010

Replacing Computer Fans


I recently had an overheating problem that caused the computer to crash after a few minutes. The solution from the computer vendor was for me to purchase a $75 dollar power supply. The power supply was fine; it was the fan that was the problem. I looked online and found a number of places that sold just the fan. I opened the power supply case -- be care because the capacitors can still store electricity after the unit has been unplugged. I was happy to find that the fan was plugged into the case for power. I did some measuring of the fan's size and looked at the number of pins. With that information, I found a replacement fan for $4.00 plus $2.95 shipping. One of the parts vendors I found was directron.com. There are many other sites, but I like their system for quickly finding the right fan.

T



Tuesday, January 12, 2010

Securing Your Internet Browser

The US Computer Emergency Response Team has a slightly old but nonetheless valuable document on how to secure one's Internet browser. Given the high level of risk associated with browsing the Internet, this form of security might be the single most important step you can take to keep your computer safe.

Browsers are serious applications. They just don't show you a picture of some remove web page, they are interacting with the web site's server in a variety of ways and they have the power to interact with your computer in ways similar to that of your operating system. In fact, some computer magazines have called the browser the new operating system. Great power brings great danger. The more a program can do for you the more it do against you.

The question of which browser is the most secure is frequently debated. Google Chrome now makes that claim because it has a system for isolating the activity of the web pages from the operating system. This isolation, called "sand boxing" is a system used by a number of applications, such as Java. It helps but is no guarantee of security. IE, frequently described as the least secure, can be made secure if the recommendations of CERT are followed. The problem with these solutions is that the end result is a browser that may not be able to do many of the activities expected of it. The best solution, in my opinion, is to make the default settings in IE strong and add sites you know well to the "trusted" list. These sites can do more because the browser allows them to access features that an untrusted site would not be allowed to use. If you go to a wide variety of new web sites each day, you might want to use Chrome, but if you only go to a handful of the same sites each day, a locked-down version of IE might be the best solution.

Even if you dislike IE, you should still read the instructions for making it more secure. Love or hate IE, the reality is that there are number of sites that only function with it. There are times that you have no option but to use IE.

Of course, the best form of security is common sense. The brain is still the best form of security software.

T

Friday, October 2, 2009

Thursday, August 13, 2009

The Back of the Class is front row

There are many podcasts related to education but a new one, The Back of the Class, takes an refreshingly different approach to educational issues. Shows, such as the one on why the skills of a comedian are useful for teachers, addresses a common problem from what I assume must be the first association of comedic skills with instructional technique. And no, "the teacher must be joking" does not count. :-)

T

Sunday, May 31, 2009

Alternative To for knowing your options


One of the great difficulties with working on the cheap is that the software your school uses or would like to use is beyond your budget. While there are many places to find which Mac or Linux based program can replace a Windows program, there are not many sites that provide lists of alternative programs on the same OS. Alternativeto.net does just that.
Alternativeto.net lets you click on a program you use or might want to use to see what other programs do the same thing. The site is still quite basic, but given the lack of alternatives, this site is a lot better than nothing.
If anyone knows of better sites, please put them into the comments area.

T