Web Performance Watch

How Do I Compare Thee? Linode vs Bluehost Web Host Performance Shootout

If you are evaluating or switching hosting companies for your Web site, don't just ask for an SLA guarantee, but do a site performance shootout before you cut the check. Recently I wrote a post on Beta Program, a site that I created to highlight how businesses can use Web technologies to run their operations better, for everything from using Web-based accounting software to building a better, faster website. The article, Mirror Mirror On The Wall, Who’s The Fastest Web Host Of Them All, demonstrated the performance gains I experienced when moving a website from Web hosting company Bluehost to Linode. For that article, I had focused on the overall user experience, concluding that the same site performance fluctuated between 1-2 seconds for Linode, compared to between 2-4 seconds for Bluehost.

A commentator asked "Vik– Just curious, when you ran your monitoring experiment comparing Linode to Bluehost, did you notice any trends in the performance details? Like significant differences in DNS lookup time, versus time to first byte, versus content components. Just wondering if the data reveals any specific “soft spots” with Bluehost?" I thought it would be useful to share my findings from this experiment on the Keynote Web performance blog. 

Methodology. I took a website that was built on the LAMP stack - Linux, Apache, MySQL, and PHP - and duplicated it on both Bluehost and Linode Web hosts. In both cases, I used the lowest plan that was available, and with Linode this gave me a Virtual Private Server (VPS). I made very minor modifications to the site to make it work right on the Linode environment, along the lines of changing the value of some variables that referred to the root URL. Then, I used Keynote's IE browser monitoring agent to run measurements every 5 minutes from the US-8, a group of 8 cities in the US. You could use other products as well, including the free WebPageTest service, which I used to create the video of the two sites.These were all high-speed, high-bandwidth connections, and I was able to ensure that I had a clean lab of performance monitoring agents to conduct this test. My assertions here are made after observing over 2000 datapoints per day on each website, from Mar 6 until today, for about 3 weeks. For all datapoints, I used Arithmetic Mean (though I could have used 95th percentile or median or geometric mean if I so chose, and if I remembered high school math better).

Visually Comparing Site Speed. Using WebPageTest, I first ran a site speed comparison. This measurement was taken from a server in Dulles, VA, and the video shows how long it takes for the two sites to load in the same browser. It's a great first step to help you understand the site visitor's experience. If you don't see the widget below, watch it on Youtube.

 

 

Measuring the User Experience Time. UX time is the time elapsed from when the browser started navigating to the page until the browser finished loading the page contents. This includes DNS lookup time (the time it takes for the browser to translate the URL you typed in to a host address), time to process all JavaScript on the page, to load the base HTML page, and all objects on the page such as images and JavaScript files. Here is how the two hosts stacked up over 3 weeks:

Indian_bento_site_speed

The site performance on Bluehost fluctuated between 2-3 seconds, and on LInode between 1.5-2 seconds. To answer the question on whether there were "soft spots" in Bluehost, I calculated the arithmetic mean on each of these performance metrics as well:

Indian_bento_metrics

As you can tell, the big gains are in the network and server infrastructure. For example, it took Bluehost 448ms, almost half a second, to return the first byte of the Web page, whereas for Linode it was 39ms. If you look at all the content downloaded, there isn't much of a difference between the hosting companies - Linode is only 4% faster (though, at almost 1.5s, there is room for improvement with speed optimization on the website content itself). 

Linode recently wrote about its network upgrades in an initiative called Linode Nextgen. It appears that their work is paying off, and if you host a website, you and your users would be well served by Linode.

Posted by Vik Chaudhary on March 29, 2013 at 02:35 PM in Site Load Time, Web Page Monitoring, Web Performance, Web Performance Testing, Web/Tech, Website Monitoring, Website Monitoring Software, Website Performance Monitoring | Permalink | Comments (2) | TrackBack (0)

| |

Super Disappointing

CokebottleThe performance community has grown quite a bit over the past few years. Web Performance meetup groups now can be found in almost every large metro in the U.S. and around the world. The Velocity conference continues to grow with another venue added this year. And vendors have been providing better technology to help site owners monitor and improve performance. The result: many of the top websites we visit regularly deliver a pretty solid user experience.

It’s heartening to see that web performance seemingly matters to web businesses, and that the value of high performance has become understood.

 

And then the Super Bowl happens.

Each year’s edition of the big game represents a huge opportunity for advertisers to capitalize on their significant investment in air time by engaging consumers beyond the television—on their laptops, tablets and smartphones. Advertisers know that this produces huge surges in traffic, and without proper planning, can create a very poor customer experience.

This year, we closely monitored the advertisers across all 3 screens to see how well they prepared to engage with consumers. Here are the results, and some observations which should serve as reminders of how web performance considerations are just as important today as they were 5 years ago:

Keynote_Web_Perf_Chart_SuperBowl2013

Century21screen1. Mobile performance is tragically misunderstood

Over in our sister blog Mobility, we’ve talked about the differences between traditional desktop Web performance, and mobile performance. What seems clear is that most companies still do not understand how forcing the desktop experience down onto a smartphone impacts the end user experience. With no other Super Bowl advertiser is this more clear than Century 21 Real Estate. Their promotional site was not optimized for the smartphone, sending a staggering 94 objects to the browser. Because our smartphone testing agents connect to wireless carrier networks, the average response time during the game was over 54 seconds, compared to the 2.97 second average measured by our Internet Explorer agents. Such a huge difference illustrates how important it is to treat the mobile experience uniquely—even for tablet users.

On the other end of the spectrum, Axe presented a nicely optimized site for smartphone browsers. Coming in it nearly 7 seconds, Axe maintained a low page weight of 270KB. In contrast, one image on the Century 21 page was over 1,000KB. Axe also decided to provide their tablet visitors with the optimized smartphone site, instead of the fuller featured desktop site—emphasizing their focus on a high performing experience.  

2. 40 million viewers… you should probably run some web load tests

While the 49ers repeated failures on defense and special teams were shocking to many fans, the most surprising crash was that of the Coke website.

Coke

You can see how the site availability deteriorates rapidly once the ads aired.

Fans of the iconic brand took to Twitter to vent their frustrations:

Coketweet

Coke reported that its campaign was a success by many measures. However, their public statements also reveal how significantly the brand probably under-estimated capacity for the website component of the campaign. Keynote worked with other Super Bowl advertisers to test their sites in advance of the game by generating real traffic from the Internet—a practice known as Web Load Testing. Those advertisers planned for 1.5 – 3.0 million site visitors. Coke’s estimate was less than 1 million. Doing a bit of ‘Monday morning quarterbacking’ here, this low estimate likely explains much of why Coke’s sites performed so poorly during the Super Bowl.

By contrast, the online retailers (having weathered many a Cyber Monday) such as Best Buy performed flawlessly with 100% availability. Best Buy also delivered some of the fastest response times across all 3 screens.

3. The (good) old rules still apply

It was surprising to find that many the advertising sites did not make use of CDNs and common optimization techniques. It’s clear many site owners can benefit from taking a fresh look at their pages. So revisit those web performance best practices and take an inventory of how well your site is delivering end user experience.

 

Posted by Aaron Rudger on February 11, 2013 at 11:24 PM in Current Affairs, Site Load Time, Web Load Test, Web Performance | Permalink | Comments (0) | TrackBack (0)

| |

Cyber Monday Breaks Records, But Could It Have Been Even Better?

Oh, what a difference a day makes!

By many accounts, Cyber Monday was another record setting day for online retailers. Some estimates have suggested that total sales reached nearly $2 billion! At the handmade & vintage goods marketplace Etsy, more sellers completed deals on Cyber Monday than at any time in their 7-year history. And IBM analytics reported that 18% of all site traffic came from mobile devices.

This is great news for e-commerce companies. But for many, Cyber Monday was not the smooth sales day we observed in our retail indices for Web and mobile performance over the Thanksgiving/Black Friday weekend.

The average Total User Experience Time for home pages in our Top Retailers index was 2.98 seconds, 7% slower than the previous day. As the amount of traffic surged in the afternoon and evening hours, many sites began to struggle. In the graph below, we’ve overlaid the real time sales volume that IBM tracked throughout the day against the hourly average of Total User Time for the home pages in our index.

Topretailer+IBMchart

Although the number of retailers represented in the index is relatively low, there does appear to be a correlation between increased load (sales volume) and performance. We’ve observed a similar correlation in the past.

Overall site availability was high, however, some retailers experienced significant issues. Third party content failures appeared in many measurements, and back-end problems appeared in others. The Saks Fifth Avenue website was unable to successfully complete transactions for nearly 2 hours from 1:39pm ET to 3:26pm ET.

Their Twitter feed confirmed the site’s difficulties:

Sakstweet

Keynote tracks the performance of 22 different retail transactions which allows us to monitor the user experience of someone visiting a site, searching for a product and then adding it to the shopping cart. The data from these transactions inclusive of Cyber Monday will be available next week.

Our Mobile Commerce index also observed that mobile website performance slowed across the board for home pages accessed on smartphones. At a couple points during the day, average page load time exceeded 18 seconds, 2X the previous week’s average and well below user expectations.

Mobilecommindexfull

Mobile sales nearly doubled this year to 13% of all receipts online. But given the functionality issues our recent study of several major retailer mobile sites revealed, and the slow response times of the sites in our index, mobile commerce still has a long way to go. This may be why bounce rate for mobile is 20% higher than the desktop bounce rate (39.42% vs. 32.77%).

Overall, retailers performed well this Cyber Monday—especially for their desktop customers. Record setting traffic and sales volume is the ultimate testament to the preparation and execution of web operations professionals across the retail industry. But of course the holiday shopping season has only just begun!

Posted by Aaron Rudger on November 28, 2012 at 04:53 PM in Application Performance Testing, Current Affairs, Site Load Time, Web Performance, Website Monitoring | Permalink | Comments (0) | TrackBack (0)

| |

Retailers Zip Through Black Friday

U.S. online retailers once again set record sales for the long Thanksgiving weekend and we’re already receiving reports that today—Cyber Monday—is setting up to be massive as well. Looking at the performance of major e-commerce sites reveals that most sites were well prepared for the heavy traffic and transactions of the past four days.

The average Total User Experience Time across the Keynote Top Retailers index was 2.77 seconds and Time to Interactive Page coming in at 2.27 seconds. Average Time to First Paint—the point at which a new user first sees content in their browser—clocked in at 789 milliseconds.

Topretailerchart

While retailers across the board should improve their initial impression with first-time customers (250 milliseconds is recommended best practice), most home pages were complete or perceptibly usable within the recommended tolerance of 3 seconds.

A few retailers, however, did experience some performance issues. Keynote’s Retail Apparel transaction index showed that starting at 8:05 a.m. PT on Black Friday until 8:40 a.m., the Foot Locker site struggled with internal server errors. Transactions during this period could not be successfully completed. You may have been able to get to the home page, but performing an item search or adding it to the shopping cart would not have worked.

Footlockererror
But while Foot Locker’s site may not have been completely prepared for the onslaught of Black Friday traffic, most of the other 47 sites in the Top Retailers index experienced no major outages during the weekend. The number of Black Friday shoppers grew 18% over last year and the preparations of online retailers appear to have paid off—to the tune of a more than $1 billion!

Keynote’s monitoring of retail mobile sites also showed that most sites performed consistently through Black Friday. As with the desktop, these sites optimized for smartphones and tablets delivered comparable performance to non-peak periods. However as we had previously reported, the performance of most retail sites on smartphones across major U.S. cellular carriers was generally slow, relative to user expectations. Our Mobile Commerce Index results for the week will be published shortly in Internet Retailer with more detail.

We’ll wrap up our online retailer performance analysis for Cyber Monday tomorrow.

Posted by Aaron Rudger on November 26, 2012 at 01:19 PM in Current Affairs, Site Load Time, Web Performance | Permalink | Comments (0) | TrackBack (0)

| |

Speed and Tenacity: the Apple iPad Outage

We’ve heard a lot recently about the importance of speed and performance when it comes to online retail. The New York Times highlighted research from Microsoft claiming that 250 milliseconds—a mere eye blink—could make the difference between a repeat visitor and a lost customer. And a popular infographic touts that Amazon would stand to lose $1.6 billion in sales per year from a 1 second web page delay. Our friends at Walmart.com have also shared some awesome research linking web performance to conversion.

These statistics are welcome news for the web performance community. But sometimes they don’t apply. With Apple, a lot of rules don’t apply.

 

Apple-ipad


This past weekend, Apple sold a record 3 million new iPad 3 tablets. That’s pretty phenomenal. Yet, it came on the back of a pretty bad outage only 10 days before.Apple-store-scatter

On March 7, Apple announced the new iPad 3. For effectively the entire day, the Apple Store was unavailable. That meant no one could check out the new iPad, nor purchase iPhones, MacBooks or anything else.  

To Apple’s credit, the Apple store normally runs very quickly—averaging well less than 2 seconds for total User Experience Time and less a second for Time to First Paint. (The Apple Store is a member of the Keynote Retail Performance Index, measured with Keynote Transaction Perspective.)

We’ve written previously about the concept of tenacity. A website visitor’s tolerance for errors, or delays, is a major factor when balancing the cost and benefit of building capacity and engineering performance into Web applications. While Apple’s fanatic customer base is an extreme, it illustrates the point that there’s a continuum of performance expectations for users.

Apple-store-trendYour product/service is unique. And your customers are also unique. Keynote web load testing consultants dig into web analytics to model user behavior. They consider familiarity, tenacity, interaction speed and connection speed when developing virtual user profiles. It may be unrealistic for you to understand how different levels of performance impact your various customer types across all these variables. But if you can begin to understand them, you’ll be in a better position for setting ongoing performance goals and SLAs—especially around tolerances for outliers from your averages.

Posted by Aaron Rudger on March 21, 2012 at 03:02 PM in Current Affairs, Site Load Time, Transaction Monitoring, Website Performance Monitoring | Permalink | Comments (0) | TrackBack (0)

| |

Cyber-Awesome: Killer Performance Helps Drive Record Revenue

For years, Keynote has been monitoring the ‘net’s best websites and reporting on notable outages during the peak Black Friday and Cyber Monday online shopping period. Typically, we find that many online retail sites—both pure Internet and those with brick and mortar stores—experience some issues. But the trend has been towards better performance and higher availability. This year marks yet more progress toward the goal of a trouble-free and virtually instant shopping experience. And the numbers suggest the payoff for retailers has been huge: a record setting $1.25 billion in online sales for Cyber Monday, 2011.

The Keynote Top Retailers Index tracks 47 online shopping destinations. This year, the average website response time was 3.05 seconds. According to a study by IBM, online sales peaked at about mid-day, and spiked again later in the evening. Average response times across the Top Retailer Index reflected this pattern as peaking demand slowed sites. But the absolute impact even at its worst was only about 1 second of delay. That’s great performance across the industry as a whole.

December chart


Topretailer_avail_cyber_monday_2011Additionally, the availability of these websites remained extremely high throughout the period. Out of the 47 sites tracked, only 10 (21%) experienced any downtime at all and their average availability was around 99.0%.

So how did online retailers get to this pinnacle? We see that customers are maturing the technology, processes and culture of their Web Operations around a passion for performance and deep preparation. One example of this is Keynote customer Karmaloop.com Karmaloopwho rang up their biggest day in company history and over 100% more sales than the same period last year. Though careful planning and web load testing, they were able prepare their site for the demands of such a dramatic increase in traffic and order transactions.

The improving trend in website performance throughout the increasingly demanding Black Friday and Cyber Monday period is encouraging. But it also means that if your site experiences failure or less than stellar performance, your competitor is in a much better position to attract and retain your abandoning customers. Congratulations to the online retail industry for hitting a remarkable milestone over the past six days. Keep pushing performance higher through December!

Posted by Aaron Rudger on November 29, 2011 at 08:39 PM in Application Performance Testing, Current Affairs, Load Testing, Site Load Time, Transaction Monitoring, Web Load Test, Web Page Monitoring, Web Performance, Web Performance Testing, Website Availability Monitoring, Website Monitoring, Website Performance Monitoring | Permalink | Comments (0) | TrackBack (0)

| |

After the Storm: Of Aftershocks and Hurricanes

Hurricane Irene Reaches New York City What a week for the people of the Eastern Seaboard. Earthquake, then hurricane within a matter of days. Both events dominated the local and national news cycles, and struck in the very same geography. It appears that resulting damage was relatively low despite the historic magnitude of the quake, and the sheer scale of hurricane Irene. Interestingly, the impact of both events on the Internet and usage of the Web was dramatically different.

As we reported last week in our Mobility blog, the 5.8 magnitude Virginia earthquake demonstrated what studies have suggested in regards to the way people use the Web for accessing breaking news and information: they reach for their smartphones. Within hours of the quake, the Washington Post experienced outages and a huge spike in response time due to overwhelming demand across the major wireless carriers in the region, as well as its fixed-web property.
 
By contrast, the Washington Post, and other major news and weather websites did not experience the same degradation in performance when Hurricane Irene hit. This graph shows the availability of a prominent news network's mobile site throughout the week.
time series mobile availability week of Aug 22

We thought maybe the major weather sites would also show signs of stress as the hurricane approached. Here you can see the response time of one weather site throughout the event that shows a steady ramp over the week to its peak on Saturday, but no dramatic spike. (Post-event power outages in the region are reported to have since diminished Internet access.)

time series fixed weather site performance week of Aug 22

So why didn’t people grab their smartphones to continuously check on the advance of the hurricane? Many probably did. But the quake was a complete surprise, catching people outside of their homes in their schools, offices and shops. Warnings of Irene’s disaster potential were well reported. So although Irene has wrought an estimated $3-billion in damage—10 times more than the losses estimated from the Virginia earthquake—its impact on news and weather sites was minor in comparison.

Of Aftershocks and Hurricanes

What a week for the people of the Eastern Seaboard—earthquake, then hurricane within a matter of days. Both events dominated the local and national news cycles, and struck in the very same geography. It appears that resulting damage was relatively low despite the historic magnitude of the quake, and the sheer scale of hurricane Irene. Interestingly, the impact of both events on the Internet and usage of the Web was dramatically different.

As we reported last week in our Mobility blog, the 5.8 magnitude Virginia earthquake demonstrated what studies have suggested in regards to the way people use the Web for accessing breaking news and information: they reach for their smartphones. Within hours of the quake, the Washington Post experienced outages and a huge spike in response time due to overwhelming demand across the major wireless carriers in the region, as well as its fixed-web property.

By contrast, the Washington Post, and other major news and weather websites did not experience the same degradation in performance when Hurricane Irene hit.

We thought maybe the major weather sites would also show signs of stress as the hurricane approached. Here you can see the response time of one weather site throughout the event that shows a steady ramp over the week to its peak on Saturday, but no dramatic spike. (Post-event power outages in the region have since diminished Internet access.)

Posted by Aaron Rudger on August 30, 2011 at 12:03 PM in Current Affairs, Site Load Time, Web Page Monitoring, Web Performance, Website Availability Monitoring, Website Performance Monitoring | Permalink | Comments (0) | TrackBack (0)

| |

Script and Monitor SOAP APIs inside Your Private Cloud

By Ian Withrow

SOAP APIs, or Web Services, frequently form the backbone of private enterprise to enterprise communication.  Companies use these APIs to integrate value chains, share information, and integrate applications that depend on partners. While RESTful APIs may be taking the technology world by storm, SOAP still has an established place in private enterprise communications. Even as organizations migrate from dedicated physical resources to private and public clouds, SOAP APIs are likely to continue to play a role for now. As a result, web applications often depend on the information delivered by a SOAP API. As such if the API is slow then so too shall the application be. Thus it makes sense for businesses serious about performance to monitor their partner APIs, whether they are SOAP or otherwise.

In this post I will show you how to easily create an advanced SOAP script using the new enhanced functionality available in KITE 4.1, topics covered here include:

  • Step 1: Create a basic web services script
  • Step 2: Techniques for iterative development
  • Step 3: Advanced script editing
  • Putting your script to work with a Keynote monitoring agent

Note that I discuss how to script RESTful APIs in another post.

Step 1: Create a basic web services script

Public SOAP APIs are rare these days, most are private and require authorization.  For the purposes of this demonstration I will utilize the free, public Holiday Web Service API which supplies holiday dates for a small selection of countries.

To get started you’ll need KITE 4.1 or newer. If you don’t have KITE a copy can be obtained for free here. Launch KITE, and in the top left corner there should be a button that looks like a big red record button. Click the bottom half of this button which opens a drop down menu and then select ‘Create Web Service Script’ as shown below.

1- Record

You will be asked to select a service type, go ahead and select SOAP.

2 - Select Type

After clicking ok a Wizard will pop-up on your screen. This wizard will automatically generate an advanced script for you that will make a properly formatted SOAP request, parse the results into a log, and capture errors. First, load the WSDL file for your API. Next you select the function you want to call; in this case I want a list of supported countries. A sharp eye might to detect what seems to be a duplicate list of functions. In fact there are multiple versions of SOAP and you will see duplicates when the WSDL specifies the same method for multiple versions. For Keynote monitoring purposes they work the same.

3 - Wizard
 

When you are ready, click ok and you’ll see a new action added for you in the Script Viewer. 

4 - Script Viewer

The best practice suggests that at this time you should rename the action something logical by clicking on [Action] and editing the Script Property shown below. 

5 - rename action

Now we are ready to view our completed script, you can do this by clicking on ‘SOAP Script’ on the left, note that this too can be renamed. When you do you’ll get a new window, called Advanced Scripting. Please note if you have a lot of windows open in your KITE instance you may need to close or resize some to get the expansive view that I have below. We’ll explore the different elements of this script later but for now the key portion is shown below from row 36 to 53, this is the SOAP query that you’ve just created.  You can now double check and edit it manually using JavaScript. Note that the RequestXML variable contains just the SOAP envelope body if you are comparing it to a reference example.  If you needed to add login and authentication information this is the section of the code to do so, either be adding an additional KNWeb.AddHeader command or by including it in the RequestXML string.

6- advanced script

Once done, you click the ‘run’ button as normal to test out the script and see what results you get.  If everything works you’ll get a screen like the below shaded in green.

7 - success

For comparison here is what failure looks like, in this case I deliberately messed up the envelope by deleting a tag.

8- failure

Step 2: Iterative Development

In addition to the Wizard we’ve added three great tools for iterative development, which we’ll examine in turn within this section:

  1. Advanced script log
  2. HTTP request/response header payload viewer
  3. Using saved variables in subsequent actions

Advanced Script Log

After you run a script, the Advanced Script Log will be automatically updated and added to your screen as shown below. The log displays the request made as well as any error response details received. If the response was a successful, then the results are store into variables. For example, country code GBSCT is saved in the variable:

[GetCountriesAvailableResponse.GetCountriesAvailableResult.diffgr:diffgram.NewDataSet.Countries.Code]

I’ll show you more on how to use this in a second.

9 - advanced script log

HTTP Request/Response Header Payload Viewer

Sometimes I find it helps to see the exact request and response payloads. Now there is an easy way to do this. In the Transaction Performance Details window, which is typically right below the Advanced Script Log, right click the step or object that you are interested in and select View HTTP Payload from the context menu.

10 - http payload

Back on top you’ll get the below screen which shows you the exact headers and payloads, up to a character limit.

11- payload viewer

Using Variables in Subsequent Steps

Retrieving the list of supported countries is nice, but next let’s try to get some real information like a list of holiday’s for one of those countries. In this way our script can behave much like a real program on whose behalf we are monitoring performance. We know, from the parsing of the WSDL, that there is a GetHolidaysAvailable function. Let’s add a step using that method together with a saved variable from our first step. This would require the country code shown in the previous section from the Advanced Script Log: GBSCT.

Next we need to add a new step. This is done, as normal in KITE, by right clicking the script name in the Script Viewer window and selecting a new SOAP action as shown below.

12 - add action 2

We are at the Web Services Wizard again. This time we click on the ‘GetHolidaysAvailable’ function and a second popup is displayed asking us for input parameters. In this screen we will use the saved parameter as the input variable as shown below. Be sure to include the brackets then proceed as before by clicking ok.

13 - wizard part 2

Now when we check the results of our new script we see that the code generated is retrieving our saved variable.  This could also be done manually, as sharp readers will no doubt guess, but this way saves a lot of time and effort.

14 - set saved var

We can now run this two-step script and check the HTTP Payload of the second object to confirm we got the results we expected, in this case by double checking the countryCode.  As we’ll explore in in the next section, it is possible to extend the script to add your own custom validation logic on elements like this and throw errors depending on the results.

15 - confirm

The script is now done so we can save and upload it to Keynote for deployment to a monitoring agent.

Step 3: Advanced Script Editing

As I alluded to earlier, it’s entirely possible to manually rewrite the script created by the wizard and even modify the template itself. First though let me explain the organization of the built-in script template. Each script, both REST and SOAP, is organized into three logical sections as shown below. The red section is the parser which takes the results and saves them in variables. By default the script will usually only save one version of a variable, i.e. if you have multiple countryCode’s it will save only one, the last. This is fine in most cases, however there may be times when you want to enhance this behavior and that can be done here. The blue section is where the actual query is built, this code block will obviously be pretty different between REST and SOAP but the organization is the same. Finally, the purple section is where error handling is done. The built in error handling can catch HTTP as well as API errors; however you may wish to extend this functionality further. As mentioned previously, all of this is done in JavaScript.

16 - advanced editing

Let’s say you find yourself frequently updating the built in script functionality and want to make a global change. This can be done by modifying the files named wsdl.template and rest.template. These files are found in your application data folder under …/Keynote/Record/Config/. So for example in Windows 7 this would be username/AppData/Roaming/Keynote/Recorder/Config/. I encourage you to back up the originals before experimenting with this though.

Putting Your Script to Work with a Keynote Monitoring Agent

Now that you have created a brand new SOAP script you’ll need to setup some agents to run it. Since most SOAP APIs involve private application to application communication, Keynote’s Cloud Application Perspective (CApP) product is the ideal tool for the job. CApP is your very own Keynote agent which you can deploy in your own private or public cloud and even within an important business partner’s network. In this way you can monitor the SOAP API from where it is actually queried in order to get an accurate picture of performance.

 

Posted by Ian Withrow on August 17, 2011 at 11:57 PM in Application Performance Testing, Site Load Time, Testing Web Applications, Transaction Monitoring, Web Page Monitoring, Web Performance, Web Performance Testing | Permalink | Comments (0) | TrackBack (0)

Technorati Tags: API, APM, application performance management, availability, Cloud, Cloud Application Perspective, Keynote, monitoring, performance, Private Cloud, Public Cloud, REST, RESTful, SOAP, Web API, web performance, Web Services

| |

Reason we load test

This afternoon while I'm at #VelocityConf, I saw this tweet (edited): “In 2008 avg web page was ~300K, 50 objects. Today 679K & 85 objects < Great answer for...Why you should load test." When a site is under load, the page size and number of objects is usually not the problem. We solved this delimna 10 years ago, and it's called a content delivery network. Anyone can deliver static content. The problem is application stability under load. Indeed, the cloud promises this but isn't a solution for good architecture and the hard work designing a system without singular bottlenecks. The real reason we load test is to determine how well the application scales under a realistic load, modeled correctly. How do you resolve the bottlenecks? Do you understand your system's queuing behavior? These are the real questions that load testing answers.

Posted by Donald E. Foss on June 14, 2011 at 01:51 PM in Load Testing, Site Load Time | Permalink | Comments (0) | TrackBack (0)

| |

Print vs. Digital - Which is faster?

Nick Bilton wrote about a recent experiement he did, here it is in his own words:

"I opened up my iPad, clicked on the little Wired icon and purchased the magazine’s latest digital issue. After I agreed to fork over $4, it began downloading. For the next phase of the experiment, I grabbed my car keys, left my apartment and drove about 12 blocks to a local magazine store in Brooklyn,  where I also purchased the latest issue of Wired magazine, this time in print.

I didn’t run any red lights, or speed, or park illegally during my shopping expedition. Yet when I returned home with the glossy paper product in hand, the digital iPad version still hadn’t finished downloading to my iPad. Anybody who reads Wired would call this an Epic Fail."

Print vs digital I'll admit I love print - can't beat the tactile sensation - but it's advantages vs. digital don't stack up in its favor.  I guess it never dawned on me that access, as in instant gratification, would be one of the things going for print over digital. 

The good folks at Conde Nast who publish Wired are smart folks and they've done a lot of things right.  But when it comes to one of the most important reasons why people like digital, well, they've still got work to do.

[Graphic from NYT.com]


Posted by Anshu Agarwal on February 07, 2011 at 05:10 PM in Site Load Time | Permalink | Comments (1) | TrackBack (0)

| |

Next »

Search

Connect With Keynote

  • Subscribe to RSS
  • Follow us on Twitter
  • View us on YouTube
  • Signup for our Newsletter
  • Other Keynote Blogs:
    • Keynote Web Privacy

    • Keynote Mobility

    • Performance Watch - Le
     blog

    • Cloud Testing und Performance Monitoring

Keynote Web Performance Watch Blog

A forum for discussion and commentary on technology, trends and touchpoints of interest to the Web Performance community.

Recent Posts

  • A 10-Point Checklist To Ensure Site Uptime When Switching Web Hosts
  • Understanding the Impact of Web Attacks - the User Perspective
  • How Do I Compare Thee? Linode vs Bluehost Web Host Performance Shootout
  • Super Disappointing
  • Cyber Monday Breaks Records, But Could It Have Been Even Better?
  • Retailers Zip Through Black Friday
  • Firefox & User Experience Metrics, Now in KITE
  • From Network Performance to User Experience
  • Is an Outage Sometimes Your Best Strategy?
  • Filtering Out Web Performance Monitoring Traffic From Google Analytics

About This Blog

  • • About
  • • View Archives
Copyright © 1995-2012 Keynote Systems, Inc. All rights reserved.


  • • Terms of Service
  • • Privacy Policy
  • • Site Map
  • • Support