Call Me Never
Building apps that don't wake you up
David Dossot
5 million visits a day...
... And counting.
Readiness
Welcome to the Internet
GET /admin.php
GET /catalog/compare/?action=DELETE_FROM_COMPARE_RESULT&IBLOCK_ID=3
Host: -- DROP DATABASE users;
Degradation
Decouple with queues and topics
Degradation
Short circuit blocking-IOs
Recovery
Self heal from transient failures
Recovery
Self heal from transient failures
Strengthening
Code defensively and log abundantly
try {
// risky stuff
} catch {
// useful log
}
Strengthening
Failure is opportunity for more tests