SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
Helping the Internet to scale since 1998
Paweł Kuśmierski, Senior Engineer, Lead
System Operations, Akamai Krakow
©2013 AKAMAI | FASTER FORWARD
TM
What’s Akamai?
 Founded at MIT in 1998 by prof. Tom Leighton and Danny Lewin
 Akamai has the world’s most distributed Internet platform (over 150.000 servers, deployed in 2000 locations in 92
countries)
 The Akamai Intelligent Platform is leading cloud platform delivering beteween 15% and 30% of the worldwide web traffic.
 Accelerating Daily Traffic of:
 10+ Tbps
 20+ million hits per second
 2+ trillion deliveries per day
 30+ petabytes/day
 10+ million concurrent streams
©2013 AKAMAI | FASTER FORWARD
TM
Who do we serve?
 The top 30 media & entertainment companies
 All 20 top global eCommerce sites
 7 of the top 10 world banks
 9 of the top 10 largest newspapers
 9 out of 10 top social media sites
 6 of the top 7 computer manufacturers
 All of the top anti-virus companies
©2013 AKAMAI | FASTER FORWARD
TM
What’s the idea?
• Consistent Hashing and Random Trees: Distributed Caching Protocols for Relieving Hot Spots on the World Wide Web
• ACMS: Akamai Configuration Management System
• Query (various publications, Scaling a Monitoring Infrastructure for the Akamai Network)
http://www.akamai.com/html/perspectives/techpubs.html
©2013 AKAMAI | FASTER FORWARD
TM
Why and how is Akamai helping the Internet to scale?
The Internet wasn’t designed for the ways in which we use it today.
• No single network dominates the Internet traffic with the largest
controlling less than 5% of the access traffic.
Trobule:
• Outages (cable cuts, de-peering)
• Congestion (packet loss)
• Lack of scalability
• Slow adaptability (IPv6 first proposed in 1998)
• Lack of security
©2013 AKAMAI | FASTER FORWARD
TM
10’000 feet view of Akamai
©2013 AKAMAI | FASTER FORWARD
TM
Akamai Cloud Optimization
The User Always Connects to a Nearby Akamai Server
Challenges with Cloud Adoption
Cloud servers reside in big data centers,
farther away from the end user…
...resulting in decreased performance and
security
End User
Cloud Datacenter
Akamai Edge Servers
©2013 AKAMAI | FASTER FORWARD
TM
End User
Problem 1
Route to datacenter
may perform poorly
Cloud Datacenter
X
X
Cloud Optimization: Route Selection
©2013 AKAMAI | FASTER FORWARD
TM
End User
Solution
Akamai SureRoute
to optimize route
Problem 1
Route to datacenter
may perform poorly
Akamai Edge Servers
X
Cloud Datacenter
Cloud Optimization: Route Selection
©2013 AKAMAI | FASTER FORWARD
TM
PacketLoss
50%
40%
30%
20%
10%
0%
Jan
25
Jan
27
Jan
29
Jan
31
Feb
02
Feb
04
Feb
06
Feb
08
Feb
10
Feb
12
Feb
14
Feb
16
Feb
18
Generic Internet
Akamai
Akamai SureRoute Makes a Big Difference
Packet loss into India after MidEast cable cut
©2013 AKAMAI | FASTER FORWARD
TM
End User
Solution
Akamai Communication
Protocol
Problem 2
Many round trips for
initial large download
Cloud Datacenter
Akamai Edge Servers
Cloud Optimization: Communication Protocol
©2013 AKAMAI | FASTER FORWARD
TM
Attacks on Akamai Customers
• Typical Attack Size: 3-10 Gbps
• Large Attack Size: 100-200 Gbps
• Attacks are originating from all
geographies and are moving between geographies during the attack
2009 2010 2011
0
100
200
300
400
500
600
NumberofAttacks
©2013 AKAMAI | FASTER FORWARD
TM
Denial of Service (DoS); 32%
SQL Injection (SQLi); 21%
Cross-Site Scripting (XSS); 9%
Brute Force; 4%
Cross-Site Request Forgery (CSRF); 4%
Process Automation; 4%
Known Vulnerability; 4%
Misconfiguration; 3%
Stolen Credentials; 1%
Banking Trojan; 1%
Predictable Resource Location; 1%
Content Spoofing; 1%
Abuse of Functionality; 1%
DNS Hijacking; 1%
Malware; 1%
Insufficient Authentication; 1%
OS Commanding; 1%
Unknown; 10%
Attack Methods
Source: TrustWave - 2010 - Web Hacking Incident Database
The Threat is Varied & Easier to Launch
74% of companies experienced one or more DDoS
attacks in the past year.
31% of these attacks resulted in service disruption.
New attack tools such as Low Orbit Ion Cannon
Users download the tool, insert the target URL or IP
and press GO!
©2013 AKAMAI | FASTER FORWARD
TM
(Cloud) Datacenters
End User
1
10
100
10000
Origin Traffic
1000
Akamai Traffic
10
100
10000
1000
Web Application With a Perimeter Defense
COVERED
1
©2013 AKAMAI | FASTER FORWARD
TM
Customer – PROTECTED
U.S. Government Customer 1
U.S. Government Customer 2
U.S. Government Customer 3
U.S. Government Customer 4
U.S. Government Customer 5
U.S. Government Customer 6
Peak Traffic
Times Above Normal Traffic
July 4
th
– 7
th
2009 DDoS Attack
400,000 Korean Bots Attack Key U.S. Government Web Sites
598x
369x
39x
19x
9x
6x
124 Gbps
32 Gbps
9 Gbps
9 Gbps
2 Gbps
1.9 Gbps
©2013 AKAMAI | FASTER FORWARD
TM
08:00 16:00 0:00 08:000:00 16:00
25
50
75
100
125
AttackSize—Gbps
July 5, 2009
16:00 Customer notified
20:00 Attack grows rapidly
23:00 Mitigation measures engaged
Spike 1
Spike 2
Spike 3
Unique IPs
21:00 Akamai identifies sources
23:50 Peak pageviews
July 4
th
– 7
th
2009 DDoS Attack
400,000 Korean Bots Attack Key U.S. Government Web Sites
©2013 AKAMAI | FASTER FORWARD
TM
Under the hood
©2013 AKAMAI | FASTER FORWARD
TM
• Syntax check
• File liveness checks
• Check number of objects changing
• Deploy to a subset
• Check for machine liveness (do we have a representative sample?)
• Check for relative change in machine liveness
• Check for service health
• Check relative changes in response codes %
• Check for self-suspension
Configuration change deployments
©2013 AKAMAI | FASTER FORWARD
TM
Ok, But how?
• Various web infrastructure services
• Over 150,000 machines
• Over 1 million distributed components
• Over 1000 autonomous systems
• 24/7/365 operation
• Failures, usage changes
• Massive, real-time monitoring
©2013 AKAMAI | FASTER FORWARD
TM
Query
• Distributed data collection
• Aggregation at several hundred points
• SQL-style interface
©2013 AKAMAI | FASTER FORWARD
TM
A Sample Query
SELECT
c.continent_name,
SUM(l.hits) hits
FROM
load_info l,
region_data r,
continent_data c
WHERE
l.georegion=r.id AND
r.continent=c.continent
GROUP BY
c.continent_name
ORDER BY
hits DESC;
c.continent_name hits
---------------- ---------
North America 4,620,551
Europe 3,392,102
South America 655,175
Asia 552,258
Africa 106,781
Oceania 39,905
Antarctica 135
©2013 AKAMAI | FASTER FORWARD
TM
Query at the Edge
• Each machine collects its own data
• Many processes may publish
• Snapshots every two minutes
©2013 AKAMAI | FASTER FORWARD
TM
Cluster proxies
• Collect data for the whole cluster
• Include themselves
©2013 AKAMAI | FASTER FORWARD
TM
Top-Level Aggregators
• Collect data for the whole network
• Snapshots every two minutes
• Static tables for data that doesn’t change much
©2013 AKAMAI | FASTER FORWARD
TM
SQL parsers
• Get tables from 1 TLA
• Only get the ones we need
• Answer queries based on them
©2013 AKAMAI | FASTER FORWARD
TM
Aggregator Sets
• Span different parts of the network
• Designated for different purposes
• Several replicated TLAs & SQLs
• Combined TLA/SQLs
• Shared hostnames
• Help meet reliability guarantees
• Help tolerate faults & keep localized
©2013 AKAMAI | FASTER FORWARD
TM
Scale
• Several hundred TLAs, SQLs, TLA/SQLs
• Thousands of queries per minute
• Tens of GB in the system
• Up to 16 GB per TLA (and growing fast)
• Internet usage
• Network growth
• Customer growth
• Data/customer
• More queries
• Age of data typically a few minutes
©2013 AKAMAI | FASTER FORWARD
TM
Result:
2-100X
compression
Result:
2-100X
compression
Result:
2-100X
compression
Download the Akamai Internet
Visualization app in the Apple store
©2013 AKAMAI | FASTER FORWARD
TM
Thanks!
Paweł Kuśmierski, pkusmier@akamai.com

Contenu connexe

En vedette

JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...
JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...
JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...PROIDEA
 
JDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz Sieraczkiewicz
JDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz SieraczkiewiczJDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz Sieraczkiewicz
JDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz SieraczkiewiczPROIDEA
 
Atmosphere 2014: RE:SPONSIBILITY - Matt Harasymczuk
Atmosphere 2014: RE:SPONSIBILITY - Matt HarasymczukAtmosphere 2014: RE:SPONSIBILITY - Matt Harasymczuk
Atmosphere 2014: RE:SPONSIBILITY - Matt HarasymczukPROIDEA
 
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav TulachJDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav TulachPROIDEA
 
CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...
CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...
CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...PROIDEA
 
Atmosphere 2014: Scaling and securing node.js apps - Maciej Lasyk
Atmosphere 2014: Scaling and securing node.js apps - Maciej LasykAtmosphere 2014: Scaling and securing node.js apps - Maciej Lasyk
Atmosphere 2014: Scaling and securing node.js apps - Maciej LasykPROIDEA
 
JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...
JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...
JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...PROIDEA
 
PLNOG15 :Contagious SDN - consequences of dealing with it, Paweł Korzec
PLNOG15 :Contagious SDN - consequences of dealing with it, Paweł KorzecPLNOG15 :Contagious SDN - consequences of dealing with it, Paweł Korzec
PLNOG15 :Contagious SDN - consequences of dealing with it, Paweł KorzecPROIDEA
 
'500+ REAL English Phrases' to Help you Improve your Speaking
'500+ REAL English Phrases' to Help you Improve your Speaking'500+ REAL English Phrases' to Help you Improve your Speaking
'500+ REAL English Phrases' to Help you Improve your SpeakingVAST ONLINE TRAFFIC™
 
PLNOG 13: Julian Lucek: Centralized Traffic Enginnering
PLNOG 13: Julian Lucek: Centralized Traffic EnginneringPLNOG 13: Julian Lucek: Centralized Traffic Enginnering
PLNOG 13: Julian Lucek: Centralized Traffic EnginneringPROIDEA
 
Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...
Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...
Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...PROIDEA
 
PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...
PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...
PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...PROIDEA
 
JDD2014: How to rebuild monolithic application to micro services architecture...
JDD2014: How to rebuild monolithic application to micro services architecture...JDD2014: How to rebuild monolithic application to micro services architecture...
JDD2014: How to rebuild monolithic application to micro services architecture...PROIDEA
 
GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...
GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...
GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...VAST ONLINE TRAFFIC™
 
CONFidence 2014: Kiss, Zagon, Sseller: Scaling security
CONFidence 2014: Kiss, Zagon, Sseller: Scaling securityCONFidence 2014: Kiss, Zagon, Sseller: Scaling security
CONFidence 2014: Kiss, Zagon, Sseller: Scaling securityPROIDEA
 

En vedette (16)

JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...
JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...
JDD2015: Don’t Panic – Hitchhiker’s guide to the JVM monitoring - Wojciech Oc...
 
JDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz Sieraczkiewicz
JDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz SieraczkiewiczJDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz Sieraczkiewicz
JDD2015: Trudne Rozmowy [WORKSHOP] - Mariusz Sieraczkiewicz
 
Atmosphere 2014: RE:SPONSIBILITY - Matt Harasymczuk
Atmosphere 2014: RE:SPONSIBILITY - Matt HarasymczukAtmosphere 2014: RE:SPONSIBILITY - Matt Harasymczuk
Atmosphere 2014: RE:SPONSIBILITY - Matt Harasymczuk
 
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav TulachJDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
 
CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...
CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...
CONFidence 2014: Alexander Timorin: SCADA deep inside: protocols and security...
 
Atmosphere 2014: Scaling and securing node.js apps - Maciej Lasyk
Atmosphere 2014: Scaling and securing node.js apps - Maciej LasykAtmosphere 2014: Scaling and securing node.js apps - Maciej Lasyk
Atmosphere 2014: Scaling and securing node.js apps - Maciej Lasyk
 
JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...
JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...
JDD2015: DDD w praktyce, czyli jak wdrażamy i uczymy się DDD w Allegro - Krzy...
 
PLNOG15 :Contagious SDN - consequences of dealing with it, Paweł Korzec
PLNOG15 :Contagious SDN - consequences of dealing with it, Paweł KorzecPLNOG15 :Contagious SDN - consequences of dealing with it, Paweł Korzec
PLNOG15 :Contagious SDN - consequences of dealing with it, Paweł Korzec
 
'500+ REAL English Phrases' to Help you Improve your Speaking
'500+ REAL English Phrases' to Help you Improve your Speaking'500+ REAL English Phrases' to Help you Improve your Speaking
'500+ REAL English Phrases' to Help you Improve your Speaking
 
PLNOG 13: Julian Lucek: Centralized Traffic Enginnering
PLNOG 13: Julian Lucek: Centralized Traffic EnginneringPLNOG 13: Julian Lucek: Centralized Traffic Enginnering
PLNOG 13: Julian Lucek: Centralized Traffic Enginnering
 
Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...
Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...
Atmosphere Conference 2015: Building And Releasing A Massively Multiplayer On...
 
PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...
PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...
PLNOG15: IP services architecture with TDM quality in MPLS/IP networks - Mare...
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
JDD2014: How to rebuild monolithic application to micro services architecture...
JDD2014: How to rebuild monolithic application to micro services architecture...JDD2014: How to rebuild monolithic application to micro services architecture...
JDD2014: How to rebuild monolithic application to micro services architecture...
 
GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...
GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...
GET RID OF GAMBLING ADDICTION - Overcome One Of The Most Difficult Addictions...
 
CONFidence 2014: Kiss, Zagon, Sseller: Scaling security
CONFidence 2014: Kiss, Zagon, Sseller: Scaling securityCONFidence 2014: Kiss, Zagon, Sseller: Scaling security
CONFidence 2014: Kiss, Zagon, Sseller: Scaling security
 

Similaire à Atmosphere 2014: Helping the Internet to scale since 1998 - Paweł Kuśmierski

Akamai in a hyperconnected world
Akamai in a hyperconnected worldAkamai in a hyperconnected world
Akamai in a hyperconnected worldmagda3695
 
Akamai in a hyperconnected world
Akamai in a hyperconnected worldAkamai in a hyperconnected world
Akamai in a hyperconnected worldmagda3695
 
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...PROIDEA
 
Akamai: From Theory to Practice
Akamai: From Theory to PracticeAkamai: From Theory to Practice
Akamai: From Theory to PracticeLiz Bradley
 
Tom uk soti_final_without video.4.21.15
Tom uk soti_final_without video.4.21.15Tom uk soti_final_without video.4.21.15
Tom uk soti_final_without video.4.21.15Liz Bradley
 
Great Expectations - Dr. Tom Leighton, Akamai
Great Expectations - Dr. Tom Leighton, AkamaiGreat Expectations - Dr. Tom Leighton, Akamai
Great Expectations - Dr. Tom Leighton, AkamaiAkamai Technologies
 
Holiday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakHoliday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakG3 Communications
 
Clone your Network with OpenNebula
Clone your Network with OpenNebulaClone your Network with OpenNebula
Clone your Network with OpenNebulaNETWAYS
 
OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...
OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...
OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...OpenNebula Project
 
Content Growth by Kams Yueng
Content Growth by Kams YuengContent Growth by Kams Yueng
Content Growth by Kams YuengMyNOG
 
DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...
DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...
DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...IDATE DigiWorld
 
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)Colin Bendell
 
State of the Internet: Mirai, IOT and History of Botnets
State of the Internet: Mirai, IOT and History of BotnetsState of the Internet: Mirai, IOT and History of Botnets
State of the Internet: Mirai, IOT and History of BotnetsRahul Neel Mani
 
Hans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & AttacksHans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & AttacksMedia Perspectives
 
Barriers to content production & distribution in Africa
Barriers to content production & distribution in AfricaBarriers to content production & distribution in Africa
Barriers to content production & distribution in AfricaInternet Society
 
#IT fest 2013 - Big Data in a Hyper-Connected World
#IT fest 2013 - Big Data in a Hyper-Connected World#IT fest 2013 - Big Data in a Hyper-Connected World
#IT fest 2013 - Big Data in a Hyper-Connected World#IT fest
 
Closing the Loop on Web Application Vulnerabilities - John Dilley, Akamai
Closing the Loop on Web Application Vulnerabilities - John Dilley, AkamaiClosing the Loop on Web Application Vulnerabilities - John Dilley, Akamai
Closing the Loop on Web Application Vulnerabilities - John Dilley, AkamaiAkamai Technologies
 
Akamai Korea - Tech Day (2015/03/11) DNS
Akamai Korea - Tech Day (2015/03/11) DNSAkamai Korea - Tech Day (2015/03/11) DNS
Akamai Korea - Tech Day (2015/03/11) DNSSangJin Kang
 

Similaire à Atmosphere 2014: Helping the Internet to scale since 1998 - Paweł Kuśmierski (20)

Akamai in a hyperconnected world
Akamai in a hyperconnected worldAkamai in a hyperconnected world
Akamai in a hyperconnected world
 
Akamai in a hyperconnected world
Akamai in a hyperconnected worldAkamai in a hyperconnected world
Akamai in a hyperconnected world
 
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
 
Akamai: From Theory to Practice
Akamai: From Theory to PracticeAkamai: From Theory to Practice
Akamai: From Theory to Practice
 
Tom uk soti_final_without video.4.21.15
Tom uk soti_final_without video.4.21.15Tom uk soti_final_without video.4.21.15
Tom uk soti_final_without video.4.21.15
 
Great Expectations - Dr. Tom Leighton, Akamai
Great Expectations - Dr. Tom Leighton, AkamaiGreat Expectations - Dr. Tom Leighton, Akamai
Great Expectations - Dr. Tom Leighton, Akamai
 
DESAYUNO DE TRABAJO AKAMAI
DESAYUNO DE TRABAJO AKAMAIDESAYUNO DE TRABAJO AKAMAI
DESAYUNO DE TRABAJO AKAMAI
 
Holiday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakHoliday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For Peak
 
Clone your Network with OpenNebula
Clone your Network with OpenNebulaClone your Network with OpenNebula
Clone your Network with OpenNebula
 
OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...
OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...
OpenNebulaConf 2013 - Keynote: Clone your Network with OpenNebula by Thomas H...
 
Content Growth by Kams Yueng
Content Growth by Kams YuengContent Growth by Kams Yueng
Content Growth by Kams Yueng
 
DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...
DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...
DWS15 - TV & Video Forum - Challenges to delivering a successful future for o...
 
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
 
State of the Internet: Mirai, IOT and History of Botnets
State of the Internet: Mirai, IOT and History of BotnetsState of the Internet: Mirai, IOT and History of Botnets
State of the Internet: Mirai, IOT and History of Botnets
 
Hans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & AttacksHans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & Attacks
 
Barriers to content production & distribution in Africa
Barriers to content production & distribution in AfricaBarriers to content production & distribution in Africa
Barriers to content production & distribution in Africa
 
#IT fest 2013 - Big Data in a Hyper-Connected World
#IT fest 2013 - Big Data in a Hyper-Connected World#IT fest 2013 - Big Data in a Hyper-Connected World
#IT fest 2013 - Big Data in a Hyper-Connected World
 
Smart grid oct10 sso
Smart grid oct10 ssoSmart grid oct10 sso
Smart grid oct10 sso
 
Closing the Loop on Web Application Vulnerabilities - John Dilley, Akamai
Closing the Loop on Web Application Vulnerabilities - John Dilley, AkamaiClosing the Loop on Web Application Vulnerabilities - John Dilley, Akamai
Closing the Loop on Web Application Vulnerabilities - John Dilley, Akamai
 
Akamai Korea - Tech Day (2015/03/11) DNS
Akamai Korea - Tech Day (2015/03/11) DNSAkamai Korea - Tech Day (2015/03/11) DNS
Akamai Korea - Tech Day (2015/03/11) DNS
 

Dernier

AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfSkillCertProExams
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIINhPhngng3
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lodhisaajjda
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar TrainingKylaCullinane
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatmentnswingard
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsaqsarehman5055
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoKayode Fayemi
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Delhi Call girls
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Baileyhlharris
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Chameera Dedduwage
 

Dernier (20)

AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 

Atmosphere 2014: Helping the Internet to scale since 1998 - Paweł Kuśmierski

  • 1. Helping the Internet to scale since 1998 Paweł Kuśmierski, Senior Engineer, Lead System Operations, Akamai Krakow
  • 2. ©2013 AKAMAI | FASTER FORWARD TM What’s Akamai?  Founded at MIT in 1998 by prof. Tom Leighton and Danny Lewin  Akamai has the world’s most distributed Internet platform (over 150.000 servers, deployed in 2000 locations in 92 countries)  The Akamai Intelligent Platform is leading cloud platform delivering beteween 15% and 30% of the worldwide web traffic.  Accelerating Daily Traffic of:  10+ Tbps  20+ million hits per second  2+ trillion deliveries per day  30+ petabytes/day  10+ million concurrent streams
  • 3. ©2013 AKAMAI | FASTER FORWARD TM Who do we serve?  The top 30 media & entertainment companies  All 20 top global eCommerce sites  7 of the top 10 world banks  9 of the top 10 largest newspapers  9 out of 10 top social media sites  6 of the top 7 computer manufacturers  All of the top anti-virus companies
  • 4. ©2013 AKAMAI | FASTER FORWARD TM What’s the idea? • Consistent Hashing and Random Trees: Distributed Caching Protocols for Relieving Hot Spots on the World Wide Web • ACMS: Akamai Configuration Management System • Query (various publications, Scaling a Monitoring Infrastructure for the Akamai Network) http://www.akamai.com/html/perspectives/techpubs.html
  • 5. ©2013 AKAMAI | FASTER FORWARD TM Why and how is Akamai helping the Internet to scale? The Internet wasn’t designed for the ways in which we use it today. • No single network dominates the Internet traffic with the largest controlling less than 5% of the access traffic. Trobule: • Outages (cable cuts, de-peering) • Congestion (packet loss) • Lack of scalability • Slow adaptability (IPv6 first proposed in 1998) • Lack of security
  • 6. ©2013 AKAMAI | FASTER FORWARD TM 10’000 feet view of Akamai
  • 7. ©2013 AKAMAI | FASTER FORWARD TM Akamai Cloud Optimization The User Always Connects to a Nearby Akamai Server Challenges with Cloud Adoption Cloud servers reside in big data centers, farther away from the end user… ...resulting in decreased performance and security End User Cloud Datacenter Akamai Edge Servers
  • 8. ©2013 AKAMAI | FASTER FORWARD TM End User Problem 1 Route to datacenter may perform poorly Cloud Datacenter X X Cloud Optimization: Route Selection
  • 9. ©2013 AKAMAI | FASTER FORWARD TM End User Solution Akamai SureRoute to optimize route Problem 1 Route to datacenter may perform poorly Akamai Edge Servers X Cloud Datacenter Cloud Optimization: Route Selection
  • 10. ©2013 AKAMAI | FASTER FORWARD TM PacketLoss 50% 40% 30% 20% 10% 0% Jan 25 Jan 27 Jan 29 Jan 31 Feb 02 Feb 04 Feb 06 Feb 08 Feb 10 Feb 12 Feb 14 Feb 16 Feb 18 Generic Internet Akamai Akamai SureRoute Makes a Big Difference Packet loss into India after MidEast cable cut
  • 11. ©2013 AKAMAI | FASTER FORWARD TM End User Solution Akamai Communication Protocol Problem 2 Many round trips for initial large download Cloud Datacenter Akamai Edge Servers Cloud Optimization: Communication Protocol
  • 12. ©2013 AKAMAI | FASTER FORWARD TM Attacks on Akamai Customers • Typical Attack Size: 3-10 Gbps • Large Attack Size: 100-200 Gbps • Attacks are originating from all geographies and are moving between geographies during the attack 2009 2010 2011 0 100 200 300 400 500 600 NumberofAttacks
  • 13. ©2013 AKAMAI | FASTER FORWARD TM Denial of Service (DoS); 32% SQL Injection (SQLi); 21% Cross-Site Scripting (XSS); 9% Brute Force; 4% Cross-Site Request Forgery (CSRF); 4% Process Automation; 4% Known Vulnerability; 4% Misconfiguration; 3% Stolen Credentials; 1% Banking Trojan; 1% Predictable Resource Location; 1% Content Spoofing; 1% Abuse of Functionality; 1% DNS Hijacking; 1% Malware; 1% Insufficient Authentication; 1% OS Commanding; 1% Unknown; 10% Attack Methods Source: TrustWave - 2010 - Web Hacking Incident Database The Threat is Varied & Easier to Launch 74% of companies experienced one or more DDoS attacks in the past year. 31% of these attacks resulted in service disruption. New attack tools such as Low Orbit Ion Cannon Users download the tool, insert the target URL or IP and press GO!
  • 14. ©2013 AKAMAI | FASTER FORWARD TM (Cloud) Datacenters End User 1 10 100 10000 Origin Traffic 1000 Akamai Traffic 10 100 10000 1000 Web Application With a Perimeter Defense COVERED 1
  • 15. ©2013 AKAMAI | FASTER FORWARD TM Customer – PROTECTED U.S. Government Customer 1 U.S. Government Customer 2 U.S. Government Customer 3 U.S. Government Customer 4 U.S. Government Customer 5 U.S. Government Customer 6 Peak Traffic Times Above Normal Traffic July 4 th – 7 th 2009 DDoS Attack 400,000 Korean Bots Attack Key U.S. Government Web Sites 598x 369x 39x 19x 9x 6x 124 Gbps 32 Gbps 9 Gbps 9 Gbps 2 Gbps 1.9 Gbps
  • 16. ©2013 AKAMAI | FASTER FORWARD TM 08:00 16:00 0:00 08:000:00 16:00 25 50 75 100 125 AttackSize—Gbps July 5, 2009 16:00 Customer notified 20:00 Attack grows rapidly 23:00 Mitigation measures engaged Spike 1 Spike 2 Spike 3 Unique IPs 21:00 Akamai identifies sources 23:50 Peak pageviews July 4 th – 7 th 2009 DDoS Attack 400,000 Korean Bots Attack Key U.S. Government Web Sites
  • 17. ©2013 AKAMAI | FASTER FORWARD TM Under the hood
  • 18. ©2013 AKAMAI | FASTER FORWARD TM • Syntax check • File liveness checks • Check number of objects changing • Deploy to a subset • Check for machine liveness (do we have a representative sample?) • Check for relative change in machine liveness • Check for service health • Check relative changes in response codes % • Check for self-suspension Configuration change deployments
  • 19. ©2013 AKAMAI | FASTER FORWARD TM Ok, But how? • Various web infrastructure services • Over 150,000 machines • Over 1 million distributed components • Over 1000 autonomous systems • 24/7/365 operation • Failures, usage changes • Massive, real-time monitoring
  • 20. ©2013 AKAMAI | FASTER FORWARD TM Query • Distributed data collection • Aggregation at several hundred points • SQL-style interface
  • 21. ©2013 AKAMAI | FASTER FORWARD TM A Sample Query SELECT c.continent_name, SUM(l.hits) hits FROM load_info l, region_data r, continent_data c WHERE l.georegion=r.id AND r.continent=c.continent GROUP BY c.continent_name ORDER BY hits DESC; c.continent_name hits ---------------- --------- North America 4,620,551 Europe 3,392,102 South America 655,175 Asia 552,258 Africa 106,781 Oceania 39,905 Antarctica 135
  • 22. ©2013 AKAMAI | FASTER FORWARD TM Query at the Edge • Each machine collects its own data • Many processes may publish • Snapshots every two minutes
  • 23. ©2013 AKAMAI | FASTER FORWARD TM Cluster proxies • Collect data for the whole cluster • Include themselves
  • 24. ©2013 AKAMAI | FASTER FORWARD TM Top-Level Aggregators • Collect data for the whole network • Snapshots every two minutes • Static tables for data that doesn’t change much
  • 25. ©2013 AKAMAI | FASTER FORWARD TM SQL parsers • Get tables from 1 TLA • Only get the ones we need • Answer queries based on them
  • 26. ©2013 AKAMAI | FASTER FORWARD TM Aggregator Sets • Span different parts of the network • Designated for different purposes • Several replicated TLAs & SQLs • Combined TLA/SQLs • Shared hostnames • Help meet reliability guarantees • Help tolerate faults & keep localized
  • 27. ©2013 AKAMAI | FASTER FORWARD TM Scale • Several hundred TLAs, SQLs, TLA/SQLs • Thousands of queries per minute • Tens of GB in the system • Up to 16 GB per TLA (and growing fast) • Internet usage • Network growth • Customer growth • Data/customer • More queries • Age of data typically a few minutes
  • 28. ©2013 AKAMAI | FASTER FORWARD TM Result: 2-100X compression Result: 2-100X compression Result: 2-100X compression Download the Akamai Internet Visualization app in the Apple store
  • 29. ©2013 AKAMAI | FASTER FORWARD TM Thanks! Paweł Kuśmierski, pkusmier@akamai.com