Welcome!

Cloud Security Authors: Mehdi Daoudi, John Walsh, Liz McMillan, Xenia von Wedel, Elizabeth White

Related Topics: @DevOpsSummit, Containers Expo Blog, Cloud Security

@DevOpsSummit: Article

Security (SSL) Has a Performance Tax | @DevOpsSummit @Catchpoint #DevOps #ContinuousTesting

Your weakest link on a page is a third party that is not ready to handle your load or performance requirement.

Security (SSL) Has a Performance Tax
By Mehdi Daoudi

While on a call with a customer last week, I was faced with the question of why the customer’s site had slowed down, even after they had switched to full SSL.

Well, to be honest, it’s pretty obvious; SSL is more expensive from a web performance perspective. However, it wasn’t until I saw this chart that I realized how bad it has gotten.

Response Times after SSL Intro

Every metric jumped, and jumped by a lot! The worrisome spikes here are obviously the render start, onload, and webpage response.

The problem is that when you introduce SSL, you are also forcing everything on your website (images, third parties, etc.) to also use SSL.

Some of these third parties are better than others at handling SSL. In this case, the customer relies on a marketing third party called Criteo, and unfortunately they failed the test.

Let’s take a look at how the domains associated with this third party impacted this etailer:

Criteo Performance Impact

The hostnames that were present before and after the SSL transition doubled in size! Again SSL is slower, but when you combine it with latency, it’s a performance nightmare for end users.

In this case:

From Los Angeles going to static.criteo.com I ended up in Amsterdam:

Traceroute to static.criteo.com (178.250.2.75), 64 hops max, 52 byte packets

  • 1 192.168.1.1 (192.168.1.1) 0.586 ms 0.401 ms 0.406 ms
  • 2 rrcs-xxxx.west.biz.rr.com (xxxx) 5.815 ms 13.928 ms 10.891 ms
  • 3 142.254.236.121 (142.254.236.121) 19.880 ms 22.241 ms 22.791 ms
  • 4 agg61.lsapcawv02h.socal.rr.com (24.30.169.101) 17.487 ms 15.217 ms 24.056 ms
  • 5 agg20.lsaicaev02r.socal.rr.com (72.129.19.10) 20.255 ms 19.686 ms 14.779 ms
  • 6 agg26.tustcaft01r.socal.rr.com (72.129.17.2) 28.060 ms 86.273 ms 32.855 ms
  • 7 bu-ether26.tustca4200w-bcr00.tbone.rr.com (66.109.3.232) 26.927 ms 45.653 ms 26.746 ms
  • 8 * lag-24.ear2.newyork1.level3.net (4.68.111.101) 26.402 ms 25.614 ms
  • 9 ae-225-3601.edge5.amsterdam1.level3.net (4.69.162.146) 171.798 ms 177.958 ms 170.846 ms
  • 10 criteo.edge5.amsterdam1.level3.net (212.72.41.226) 177.036 ms 173.708 ms 166.786 ms
  • 11 n7k01-inet-am5-eth4-1.eu.criteo.net (178.250.7.116) 207.144 ms 192.979 ms
  • 178.250.7.138 (178.250.7.138) 206.408 ms
  • 12 static.criteo.com (178.250.2.75) 175.349 ms 181.355 ms 169.982 ms

or to Paris:

Traceroute to static.criteo.com (178.250.0.75), 64 hops max, 52 byte packets

  • 1 192.168.1.1 (192.168.1.1) 0.569 ms 0.412 ms 0.357 ms
  • 2 rrcs-xxx.west.biz.rr.com (xxx) 2.728 ms 2.707 ms 9.438 ms
  • 3 142.254.236.121 (142.254.236.121) 18.537 ms 27.040 ms 24.838 ms
  • 4 agg61.lsapcawv02h.socal.rr.com (24.30.169.101) 58.938 ms 31.111 ms 34.907 ms
  • 5 agg20.lsaicaev02r.socal.rr.com (72.129.19.10) 29.830 ms 30.030 ms 20.014 ms
  • 6 agg26.tustcaft01r.socal.rr.com (72.129.17.2) 37.169 ms 28.472 ms 23.341 ms
  • 7 bu-ether26.tustca4200w-bcr00.tbone.rr.com (66.109.3.232) 21.238 ms 24.953 ms 22.439 ms
  • 8 * lag-24.ear2.newyork1.level3.net (4.68.111.101) 105.589 ms 20.029 ms
  • 9 ae-4-90.edge5.paris1.level3.net (4.69.168.200) 174.507 ms
  • ae-2-70.edge5.paris1.level3.net (4.69.168.72) 179.457 ms 169.571 ms
  • 10 ae-2-70.edge5.paris1.level3.net (4.69.168.72) 184.136 ms 169.041 ms
  • ae-1-60.edge5.paris1.level3.net (4.69.168.8) 166.249 ms
  • 11 criteo.edge5.paris1.level3.net (213.242.111.98) 181.880 ms 163.970 ms 170.280 ms
  • 12 178.250.7.240 (178.250.7.240) 159.588 ms
  • 178.250.7.242 (178.250.7.242) 169.325 ms
  • 178.250.7.240 (178.250.7.240) 165.443 ms
  • 13 static.criteo.com (178.250.0.75) 163.561 ms 192.055 ms 175.467 ms

Going to static.criteo.net I either went to SFO or to NY

  • 1 192.168.1.1 (192.168.1.1) 0.563 ms 0.357 ms 0.334 ms
  • 2 rrcs-xxx.west.biz.rr.com (xxx) 12.283 ms 9.262 ms 5.900 ms
  • 3 142.254.236.121 (142.254.236.121) 14.034 ms 29.089 ms 18.924 ms
  • 4 agg61.lsapcawv02h.socal.rr.com (24.30.169.101) 27.351 ms 23.018 ms 23.657 ms
  • 5 agg20.lsaicaev02r.socal.rr.com (72.129.19.10) 22.151 ms 23.728 ms 25.857 ms
  • 6 agg26.tustcaft01r.socal.rr.com (72.129.17.2) 44.198 ms 29.502 ms 39.897 ms
  • 7 bu-ether16.tustca4200w-bcr00.tbone.rr.com (66.109.6.64) 32.621 ms 24.070 ms 23.089 ms
  • 8 * * *
  • 9 ae-1-5.bar1.sanfrancisco1.level3.net (4.69.140.149) 34.351 ms 38.145 ms 39.065 ms
  • 10 ae-1-5.bar1.sanfrancisco1.level3.net (4.69.140.149) 39.776 ms 39.770 ms 40.181 ms
  • 11 criteo.bar1.sanfrancisco1.level3.net (4.53.132.34) 40.056 ms 49.411 ms 35.027 ms
  • 12 * 74.119.116.175 (74.119.116.175) 32.932 ms *
  • 13 * * *
  • 14 * static.criteo.net (74.119.117.74) 47.464 ms *

Because I use Google DNS and OpenDNS, I told myself that maybe that’s what was causing this weird routing.

But, then I traced from five of our nodes in the US:

Denver TWTC
Tracing route to static.criteo.com [178.250.0.75] over a maximum of 30 hops:

  • 1   <1 ms   <1 ms   <1 ms 10.109.40.1
  • 2    1 ms   <1 ms    1 ms 74-202-23-213.static.twtelecom.net[74.202.23.213]
  • 3    1 ms    7 ms    1 ms den1-pr2-xe-2-1-0-0.us.twtelecom.net[66.192.245.198]
  • 4    *       *       *    Timed Out
  • 5  120 ms  121 ms  120 ms ae-4-90.edge5.paris1.level3.net[4.69.168.200]
  • 6  120 ms  125 ms  123 ms ae-4-90.edge5.paris1.level3.net[4.69.168.200]
  • 7  123 ms  124 ms  127 ms criteo.edge5.paris1.level3.net[213.242.111.98]
  • 8  120 ms  120 ms  120 ms 178.250.7.240
  • 9  120 ms  120 ms  119 ms static.criteo.com[178.250.0.75]

SF Level3
Tracing route to static.criteo.com [178.250.2.75] over a maximum of 30 hops:

  • 1   <1 ms   <1 ms   <1 ms 10.113.30.1
  • 2    6 ms   <1 ms   <1 ms lag-ae7-255.ear2.losangeles1.level3.net[4.31.61.117]
  • 3  165 ms  166 ms  219 ms ae-226-3602.edge5.amsterdam1.level3.net[4.69.162.150]
  • 4  167 ms  162 ms  163 ms criteo.edge5.amsterdam1.level3.net[212.72.41.226]
  • 5  141 ms  141 ms  141 ms n7k01-inet-am5-eth4-1.eu.criteo.net[178.250.7.116]
  • 6  141 ms  141 ms  141 ms static.criteo.com[178.250.2.75]

Miami CenturyLink
Tracing route to static.criteo.com [178.250.2.75] over a maximum of 30 hops:

  • 1   <1 ms   <1 ms   <1 ms 10.115.20.1
  • 2   <1 ms   <1 ms   <1 ms mia-edge-03.inet.qwest.net[63.237.255.221]
  • 3    6 ms    2 ms    3 ms nap-brdr-01.inet.qwest.net[67.14.29.102]
  • 4    1 ms   <1 ms   <1 ms mai-b1-link.telia.net[80.239.195.141]
  • 5   26 ms   26 ms   26 ms ash-bb3-link.telia.net[62.115.141.74]
  • 6  101 ms  142 ms  102 ms ldn-bb3-link.telia.net[80.91.246.69]
  • 7  110 ms  110 ms  128 ms adm-bb3-link.telia.net[213.155.136.105]
  • 8  106 ms  106 ms  106 ms adm-b2-link.telia.net[62.115.141.51]
  • 9  117 ms  121 ms  120 ms 62.115.8.190
  • 10  107 ms  107 ms  107 ms n7k02-inet-am5-eth4-1.eu.criteo.net[178.250.7.119]
  • 11  107 ms  107 ms  107 ms static.criteo.com[178.250.2.75]

SF VZN

Tracing route to static.criteo.com [178.250.2.75] over a maximum of 30 hops:

  • 1    1 ms    1 ms    1 ms 10.117.20.1
  • 2    2 ms    1 ms    2 ms 120.gigabitethernet3-0.gw2.sjc7.alter.net[63.65.128.45]
  • 3    3 ms   13 ms   10 ms bundle-ether14.gw3.sjc7.alter.net[140.222.235.53]
  • 4    4 ms    3 ms    4 ms teliasonera-gw.customer.alter.net[152.179.48.214]
  • 5   70 ms  113 ms   69 ms ash-bb4-link.telia.net[213.155.130.212]
  • 6  259 ms  140 ms  141 ms ldn-bb2-link.telia.net[213.248.65.97]
  • 7  151 ms  151 ms  145 ms adm-bb4-link.telia.net[213.155.136.79]
  • 8  159 ms  165 ms  151 ms adm-b2-link.telia.net[62.115.141.11]
  • 9  147 ms  149 ms  144 ms 62.115.8.190
  • 10  169 ms  147 ms  143 ms 178.250.7.158
  • 11  144 ms  143 ms  143 ms static.criteo.com[178.250.2.75]

DC Cogent

Tracing route to static.criteo.com [178.250.2.75] over a maximum of 30 hops:

  • 1   <1 ms   <1 ms   <1 ms 10.111.10.1
  • 2   <1 ms   <1 ms   <1 ms gi0-2-1-18.216.rcr21.iad01.atlas.cogentco.com[38.122.67.73]
  • 3   <1 ms   <1 ms   <1 ms be2955.rcr21.iad02.atlas.cogentco.com[154.54.30.190]
  • 4    1 ms    1 ms    2 ms be2658.ccr41.dca01.atlas.cogentco.com[154.54.47.137]
  • 5    8 ms    7 ms    7 ms be2806.ccr41.jfk02.atlas.cogentco.com[154.54.40.105]
  • 6   76 ms   76 ms   76 ms be2317.ccr41.lon13.atlas.cogentco.com[154.54.30.186]
  • 7   86 ms  107 ms   86 ms be12194.ccr41.ams03.atlas.cogentco.com[154.54.56.94]
  • 8   86 ms   86 ms   86 ms be2499.rcr21.b031955-0.ams03.atlas.cogentco.com[130.117.1.150]
  • 9   87 ms   87 ms   87 ms 149.14.34.114
  • 10   84 ms   84 ms   84 ms n7k01-inet-am5-eth4-1.eu.criteo.net[178.250.7.116]
  • 11   86 ms   86 ms   86 ms static.criteo.com[178.250.2.75]

The challenge here is not only SSL, but the combination of SSL and geographically induced latency that makes things even worse.

It’s also important to compare Hostname A with Hostname B. In this case, I compared www.google-analytics.com vs. static.criteo.com during the switch over to Full SSL. Again, it’s normal that the SSL request should take a bit longer. Obviously, Google has some advantages: massive internet presence, geo load balancing, amazing consistent performance (notice the flat line vs. the jittery blue line), anycast network, people dedicated to monitoring and an environment where performance is part of the core DNA of every employee, even the air we used to breath there contained performance ions!

Performance Criteo vs. Google

As we often said, your weakest link on a page is a third party that is not ready to handle your load or performance requirement. Switching to all SSL is a great feature from a security perspective, but at the cost of performance. Please make sure you keep an eye on your third parties when you switch to SSL.

What’s worrying me the most is what will happen when we move to HTTP 2.0, where it’s all secure. I know the benefits of HTTP/2, but I am very concerned by how all these third parties are going to impact websites when they switch.

Mehdi

The post Security (SSL) has a Performance Tax appeared first on Catchpoint's Blog.

More Stories By Mehdi Daoudi

Catchpoint radically transforms the way businesses manage, monitor, and test the performance of online applications. Truly understand and improve user experience with clear visibility into complex, distributed online systems.

Founded in 2008 by four DoubleClick / Google executives with a passion for speed, reliability and overall better online experiences, Catchpoint has now become the most innovative provider of web performance testing and monitoring solutions. We are a team with expertise in designing, building, operating, scaling and monitoring highly transactional Internet services used by thousands of companies and impacting the experience of millions of users. Catchpoint is funded by top-tier venture capital firm, Battery Ventures, which has invested in category leaders such as Akamai, Omniture (Adobe Systems), Optimizely, Tealium, BazaarVoice, Marketo and many more.

@ThingsExpo Stories
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
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...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution. In his session at @ThingsExpo, Akvelon expert and IoT industry leader Sergey Grebnov provided an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.