Tag: craft
All the articles with the tag "craft".
Backfill Considerations and Lessons Learned
Lessons from sending millions of production records through a new service: planning a backfill, testing small, monitoring, and verifying the results.
Load Testing Guide
Our service fell over at 20% of projected traffic in a load test. How I plan tests, define success, and use the results to find what needs fixing.
More Code Review Best Practices
What I changed about code reviews after three more years: automate style checks, point out good work, offer context, and watch the tone.
DevOps from Scratch, Part 2: Amazon & Terraform
Deploy the Flask app to Amazon EC2, then automate provisioning with Terraform and Ansible. Part two of a 2016 tutorial series.
DevOps from Scratch, Part 1: Vagrant & Ansible
A step-by-step Flask setup using Vagrant and Ansible to automate a local server, with Gunicorn and nginx. Part one of a 2016 tutorial series.
Refactoring Analogies
A trash pile, a tube of toothpaste, and two moving trains: three ways I think about improving legacy code and keeping rewrites manageable.
Two Trains Talk
Slides from my SoCal Python talk on improving legacy code, the risks of rewrites, and the two-trains analogy for switching systems.
Strategies for Writing Useful Tests
I used to hate writing tests. Writing them as I go and treating them as first-class code made them useful enough to change my mind.
Intro to Code Reviews talk
Slides and resources from my LA Django talk on starting code reviews: what they offer, what to check, and how to discuss the code.
Code Review Best Practices
What I look for in a code review, from design and duplication to tests, and how I discuss changes with the person who wrote them.