Profile
Enabling tools that record bottlenecks (the points where the system gets slow) while it runs.
Example
Profiling shows a page takes 2 seconds and 1.8 of them go to a single database query.
Test yourself: Profile
Measure and optimize
Which of these tools measures, instead of improving?
The profile measures: it tells you a query takes 800 ms. The index and denormalization are what you do next to bring it down to 20 ms.
0/1
â–¶ PlayLessons that use it
Cache
What's asked often, close at hand
Evicting and spreading the cache
The cache fills up
Scaling
Bigger or more machines
SQL or NoSQL
Picking the right database
Measure and optimize
Measure first
ACID and BASE
Two promises about data
CQRS
Write on one side, read on the other
OAuth 2.0 and OpenID Connect
Grant access without giving the password
Designing Netflix
1 billion videos watched a day
