Blog

Software Engineering.

3 posts
  1. 01

    Testing WP-CLI Commands with PHPUnit and Behat (opens in a new tab)

    Medium

    What to prove about a WP-CLI command before it runs unattended against production. PHPUnit for the logic, Behat against the real wp binary, and the places WP-CLI resists unit testing.

  2. 02

    I Built a Twitter-Style Feed to Find Out What Fan-Out Actually Costs (opens in a new tab)

    Part 2 · Medium

    Push and pull feeds built over the same data and measured. Fan-out costs about 12 microseconds per follower, a timeline entry about 80 bytes in Redis, and the read advantage was far smaller than expected.

  3. 03

    Celebrities vs. The Rest of Us: Designing a Twitter-Style Feed (opens in a new tab)

    Part 1 · Medium

    Why one feed design cannot serve an account with eleven followers and one with sixty million. Push, pull, and the hybrid model that treats celebrities differently.