secrets to building and delivering amazing apps at scale · 2019. 9. 12. · faster apps on any...
TRANSCRIPT
Secrets to Building and Delivering Amazing Apps at Scale
Desmond Tam – Senior Enterprise Architect Lead
@desmondtam
linkedin.com/in/desmondt
https://developer.akamai.com
What is an app?
What is an app?
browser server
What is an app?
browser
server
ios
android
ios
android
What is an app?
browser api
media
datastore
ios
android
What is an app?
browser api
media
datastore
dns
ios
android
What is an app?
browser api
media
datastore
dns
TCP/UDP
ios
android
What is an app?
browser api
media
datastore
http
TCP
ios
android
What is an app?
browser api
media
datastore
http
TCP/UDP
Secrets to Building and Delivering Amazing Apps
at Scale
Three-layer architecture
Frontend Backend Network
tcp/udp tcp/udp
Frontend
Beautiful Interface Capture your audience…
Accessible improves UX for everybody
Fast & Responsive performance == user experience
Network Awareness Automatically adapt to any network conditions
Secure It is a wild west out there
Backend
Distributed Architecture Performance and fault tolerance
Auto-Scaling because sometimes throw more hardware at it is a valid solution
Performant fast backends make for faster frontends
Continuous Monitoring if something happens but it wasn’t logged, did it happen?
yes… yes it did.
DevOps Automation react to changing conditions automatically, in real-time
Network
Distributed DNS every connection to a hostname starts with a DNS lookup
Protocol Optimization we’re not stuck with http/1.1 and tcp anymore
Latency Optimization Roundtrip distance matters a lot
Because the laws of physics apply…
Latency: The Enemy of Distribution
Seattle New York Bangalore
Sydney
San Francisco 17ms latency
228ms latency 77ms latency
* Load times of the average Website on a LTE mobile connection
155ms latency
Faster Apps on any device, anywhere
Solving the Latency Problem
Seattle New York Bangalore
Sydney
San Francisco 17ms latency
228ms latency 77ms latency
155ms latency
3 seconds
9 seconds
17 seconds
26 seconds
Faster Apps on any device, anywhere
Solving the Latency Problem
Seattle New York Bangalore
Sydney
San Francisco 17ms latency
228ms latency 77ms latency
155ms latency
3 seconds
9 seconds
17 seconds
26 seconds
1.5 seconds
1.5 seconds
1.5 seconds
1.5 seconds 9ms latency
9ms latency
9ms latency
9ms latency
Edge Compute Smart servers one hop away
Secrets to Building and Delivering Amazing Apps at Scale
Frontend
‐ Beautiful Interface
‐ Accessible
‐ Fast & Responsive
‐ Network Aware
‐ Secure
Network
‐ Distributed DNS
‐ Protocol Optimization
‐ Latency Optimization
‐ Edge Compute
Backend
‐ Distributed Architecture
‐ Auto-Scaling
‐ Performant
‐ Continuous Monitoring
‐ DevOps Automation
Akamai Developer @akamaidev
Thank you
developer.akamai.com
http://bit.ly/2M5vgyR
@jjaviergarza