Development
http://www.spacex.com/media-gallery/detail/149431/9391
Slide 8
Keep Things Simple
Slide 9
Limit Project Scope
Slide 10
New Problem or New Technology
Slide 11
“A l m o s t a l l t h e c a s e s w h e r e I ' v e h e a r d o f a
system that was built as a microservice system
from scratch, it has ended up in serious trouble.”
– Martin Fowler, ThoughtWorks CTO
Slide 12
Clear Decoupling
Slide 13
Admin Panel
API
Website
Slide 14
Use
Boring
Mature Technology
Slide 15
Load Testing
Slide 16
Don’t wait until the end
Slide 17
It’s A LOT harder than people let on
Slide 18
•
Use real metrics and logged user behaviour
•
Use a wide variety of metrics, not just traffic
•
Post-test validate the metrics at source
Slide 19
Assume user behaviour will change
Slide 20
Stress Test
Slide 21
Web Performance Testing
Slide 22
Remember: it’s not just for you!
Slide 23
Caching
Slide 24
Client
CDN
Application
Database
Slide 25
Write-through caches
Slide 26
Start small… low TTLs
Slide 27
Front-end –
static assets & redirects
Slide 28
Higher hit ratios = less traffic hitting our servers
Slide 29
Feature Toggles
Slide 30
Ideal
Fallback
Off
On
Slide 31
On
Ideal
Fallback
Off
Slide 32
•
Built into your application
•
Content Delivery Network
•
A/B testing tool
•
Gather actual
real
metrics & usage patterns
•
Revisit your load tests and re-assess
•
Re-run load tests for future releases
•
Ship some safe releases
•
Ship small releases, often
Slide 57
Since Launch
https://unsplash.com/photos/MEW1f-yu2KI