Introduction
Welcome
(00:47)
What you should know
(01:29)
1. Tools of the Trade
Always profile first
(01:17)
General tips
(01:28)
strace
(03:19)
Stressing
(03:43)
2. Caching
Overview
(05:10)
Bloom filter
(02:15)
3. Cheating
When approximation is good enough
(01:11)
Cheating example
(03:01)
4. Distributing Work
Amdahl's Law
(02:49)
Example: Threads
(04:11)
Beyond single machine
(07:09)
5. Writing Servers
The C10K problem
(01:14)
asyncio
(04:40)
Choosing transportation
(03:32)
Choosing serialization format
(03:13)
Compression
(03:38)
6. Server Frameworks
How to choose a framework
(02:56)
HTTP servers
(03:31)
TCP servers
(04:11)
Load balancers
(05:38)
Serving static content
(03:01)
7. Process
Why do we need process?
(02:35)
Monitoring
(04:26)
Alerting
(02:35)
Conclusion
Next steps
(00:52)
Ex_Files_Optimizing_Python_Services.zip
(9.0 MB)