Welcome!

Microservices Expo Authors: Pat Romanski, Liz McMillan, Elizabeth White, Mehdi Daoudi, Flint Brenton

Related Topics: Microservices Expo, Java IoT, Machine Learning , Agile Computing, @CloudExpo, @BigDataExpo

Microservices Expo: Article

Part 3 | Five Steps to Improve E-Commerce Performance for Increased Sales

Network Performance

This is the third episode of the mini-series on e-commerce performance management. Our client TescaraHats (name changed for commercial reasons), a European market leader in manufacturing customized hats, did not achieve the expected sales increase with its new e-commerce site. It offered its customers the ability to customize and order hats online instead of visiting its brick and mortar locations, but customers seemed disinterested. TescaraHats learned quickly that there is much more to an e-commerce platform than simply putting an e-commerce service online.

In previous posts we showed that increasing page rank is not the only way to boost sales and that checking and improving back-end performance of your e-commerce is also critical. In this episode we show why you should not keep network load and HTTP errors in check.

Avoid Unnecessary Network Load
Although broadband connection is now a commodity and many Internet users can stream HD videos online from rental services like Netflix, you should still keep the size and the download time of a web site in check. In order to maximize the usability of your site, you should ensure it loads quickly. This is true on mobile devices as well because mobile e-commerce (a.k.a. m-commerce) is said to be taking over the market share.

To begin, check how much time is spent on the network to complete each page. Longer network time, as seen in Figure 1, may indicate that you are pushing unnecessarily heavy content to the client, or the server is busy generating (on the fly) some non-HTML components of the page.

Figure 1: Avoid unnecessary network load: check operation time breakdown and number of hits

Next, make sure your site is properly cached. If a web browser needs to download the same content over and over, even if the page is not too heavy, the footprint of your whole site becomes a burden for returning visitors or those who spend more time on the site.

Figure 2: The speed of the web report tells you if your site is too heavy or the cache is not properly optimized

The report in Figure 1 shows an inflated hits per operation ratio, which may mean that the content is not properly cached. Figure 2 shows a report from the Speed of the Web service, which was used to analyze TescaraHats e-commerce site. The report aligns with findings reported in Figure 1: the caching is not properly configured. Figure 3 shows a similar report from the perspective of images served from TescaraHats site. Both reports indicate that there are too many resources, e.g., images and JavaScript files, served from the same domain.

Figure 3: Analyze the images which need to be downloaded with e-commerce pages to see if you can reduce their number or size, or both

Although the bandwidth of the network connection is usually not a problem these days, the web browsers can only open a limited number of parallel connections. When the page consists of too many items, the site is unable to download them all at once. Figure 4 illustrates the problem with a page sequence load step chart report.

Figure 4: Too many page components cannot be downloaded in parallel, they affect the complete page load time

To solve the network load problem you need to:

  • Make sure all static content is properly cached.
  • Make sure all JavaScript files are combined and compressed into (ideally) one; same goes for CSS files.
  • Try to serve images of higher quality to size ratio; if possible combine smaller images into one and use the CSS sprites technique.
  • Use content delivery networks (CDN) to serve your static content.

Keep Control of HTTP Errors
Sometimes users mistype the URL and end up with a 404 error page. Additionally, sometimes your software may fail and the user will see a HTTP 500 error page. Users have become accustomed to seeing some funny and useful versions of these error pages.

Web developers often forget to ensure that there are no back-end calls that end up with an error. In many cases users will not be aware that those errors even happened, but it does not mean that those errors have no impact on the users. In fact, the calls that end up with an HTTP error not only contribute to the higher network time, but may also indicate application performance problems.

Figure 5 presents a part of report from the Speed of the Web service that shows time lost on handling HTTP 500 errors at TescaraHats.

Figure 5: There are too many HTTP errors reported by your e-commerce site

If your APM tool shows there are HTTP errors: in most cases you need to talk to your developers.

Make Sure You Care About Your Users
When you are certain about your e-commerce back-end performance, decreased unnecessary network load and made sure there are no HTTP errors behind the scenes, it's time to focus on your users who will soon swarm to visit your site. Read the next episode of our series to learn how to make your customers happy.

More Stories By Sebastian Kruk

Sebastian Kruk is a Technical Product Strategist, Center of Excellence, at Compuware APM Business Unit.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@MicroservicesExpo Stories
With the rise of DevOps, containers are at the brink of becoming a pervasive technology in Enterprise IT to accelerate application delivery for the business. When it comes to adopting containers in the enterprise, security is the highest adoption barrier. Is your organization ready to address the security risks with containers for your DevOps environment? In his session at @DevOpsSummit at 21st Cloud Expo, Chris Van Tuin, Chief Technologist, NA West at Red Hat, will discuss: The top security r...
DevOps at Cloud Expo – being held October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real r...
The “Digital Era” is forcing us to engage with new methods to build, operate and maintain applications. This transformation also implies an evolution to more and more intelligent applications to better engage with the customers, while creating significant market differentiators. In both cases, the cloud has become a key enabler to embrace this digital revolution. So, moving to the cloud is no longer the question; the new questions are HOW and WHEN. To make this equation even more complex, most ...
The last two years has seen discussions about cloud computing evolve from the public / private / hybrid split to the reality that most enterprises will be creating a complex, multi-cloud strategy. Companies are wary of committing all of their resources to a single cloud, and instead are choosing to spread the risk – and the benefits – of cloud computing across multiple providers and internal infrastructures, as they follow their business needs. Will this approach be successful? How large is the ...
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
Many organizations adopt DevOps to reduce cycle times and deliver software faster; some take on DevOps to drive higher quality and better end-user experience; others look to DevOps for a clearer line-of-sight to customers to drive better business impacts. In truth, these three foundations go together. In this power panel at @DevOpsSummit 21st Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, industry experts will discuss how leading organizations build application success from all...
You know you need the cloud, but you’re hesitant to simply dump everything at Amazon since you know that not all workloads are suitable for cloud. You know that you want the kind of ease of use and scalability that you get with public cloud, but your applications are architected in a way that makes the public cloud a non-starter. You’re looking at private cloud solutions based on hyperconverged infrastructure, but you’re concerned with the limits inherent in those technologies.
‘Trend’ is a pretty common business term, but its definition tends to vary by industry. In performance monitoring, trend, or trend shift, is a key metric that is used to indicate change. Change is inevitable. Today’s websites must frequently update and change to keep up with competition and attract new users, but such changes can have a negative impact on the user experience if not managed properly. The dynamic nature of the Internet makes it necessary to constantly monitor different metrics. O...
Today companies are looking to achieve cloud-first digital agility to reduce time-to-market, optimize utilization of resources, and rapidly deliver disruptive business solutions. However, leveraging the benefits of cloud deployments can be complicated for companies with extensive legacy computing environments. In his session at 21st Cloud Expo, Craig Sproule, founder and CEO of Metavine, will outline the challenges enterprises face in migrating legacy solutions to the cloud. He will also prese...
Enterprises are moving to the cloud faster than most of us in security expected. CIOs are going from 0 to 100 in cloud adoption and leaving security teams in the dust. Once cloud is part of an enterprise stack, it’s unclear who has responsibility for the protection of applications, services, and data. When cloud breaches occur, whether active compromise or a publicly accessible database, the blame must fall on both service providers and users. In his session at 21st Cloud Expo, Ben Johnson, C...
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
As DevOps methodologies expand their reach across the enterprise, organizations face the daunting challenge of adapting related cloud strategies to ensure optimal alignment, from managing complexity to ensuring proper governance. How can culture, automation, legacy apps and even budget be reexamined to enable this ongoing shift within the modern software factory?
The nature of the technology business is forward-thinking. It focuses on the future and what’s coming next. Innovations and creativity in our world of software development strive to improve the status quo and increase customer satisfaction through speed and increased connectivity. Yet, while it's exciting to see enterprises embrace new ways of thinking and advance their processes with cutting edge technology, it rarely happens rapidly or even simultaneously across all industries.
These days, APIs have become an integral part of the digital transformation journey for all enterprises. Every digital innovation story is connected to APIs . But have you ever pondered over to know what are the source of these APIs? Let me explain - APIs sources can be varied, internal or external, solving different purposes, but mostly categorized into the following two categories. Data lakes is a term used to represent disconnected but relevant data that are used by various business units wit...
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"NetApp's vision is how we help organizations manage data - delivering the right data in the right place, in the right time, to the people who need it, and doing it agnostic to what the platform is," explained Josh Atwell, Developer Advocate for NetApp, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
One of the biggest challenges with adopting a DevOps mentality is: new applications are easily adapted to cloud-native, microservice-based, or containerized architectures - they can be built for them - but old applications need complex refactoring. On the other hand, these new technologies can require relearning or adapting new, oftentimes more complex, methodologies and tools to be ready for production. In his general session at @DevOpsSummit at 20th Cloud Expo, Chris Brown, Solutions Marketi...
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
Most of the time there is a lot of work involved to move to the cloud, and most of that isn't really related to AWS or Azure or Google Cloud. Before we talk about public cloud vendors and DevOps tools, there are usually several technical and non-technical challenges that are connected to it and that every company needs to solve to move to the cloud. In his session at 21st Cloud Expo, Stefano Bellasio, CEO and founder of Cloud Academy Inc., will discuss what the tools, disciplines, and cultural...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lav...