Tag: databases

  • Dependency Updates: Mistakes I Keep Seeing

    Dependency Updates: Mistakes I Keep Seeing

    Our on-call rotation improved the day we deleted half of the alerts. The fastest query is the one you never send, but the second fastest has a good index. Tests are documentation that fails loudly when it goes stale. Lessons Our on-call rotation improved the day we deleted half of the alerts. Latency percentiles tell…

  • Rate Limiting Without the Hype

    Rate Limiting Without the Hype

    Small pull requests get real reviews, large ones get approvals. If the error message does not say what to do next, it is half an error message. Our on-call rotation improved the day we deleted half of the alerts. What didn’t Most production incidents start as a small assumption nobody wrote down. Latency percentiles tell…

  • Caching Without the Hype

    Caching Without the Hype

    Security is mostly about saying no to defaults that were convenient in 2010. Logs answer questions you knew to ask; traces answer the ones you did not. If the error message does not say what to do next, it is half an error message. Going further Most production incidents start as a small assumption nobody…

  • Ten Notes on Refactoring

    Ten Notes on Refactoring

    Logs answer questions you knew to ask; traces answer the ones you did not. We measured first, and the bottleneck was not where anyone expected. Small pull requests get real reviews, large ones get approvals. Lessons If the error message does not say what to do next, it is half an error message. We measured…

  • What I Learned About Background Jobs the Hard Way

    What I Learned About Background Jobs the Hard Way

    Feature flags are debt with an expiration date you must actually enforce. Latency percentiles tell a story that averages politely hide. A boring deploy pipeline is a feature, not a lack of ambition. Context Feature flags are debt with an expiration date you must actually enforce. A boring deploy pipeline is a feature, not a…

  • What I Learned About Refactoring the Hard Way

    What I Learned About Refactoring the Hard Way

    The rollback plan should exist before the rollout plan is approved. The fastest query is the one you never send, but the second fastest has a good index. Security is mostly about saying no to defaults that were convenient in 2010. Details Latency percentiles tell a story that averages politely hide. Tests are documentation that…

  • Error Budgets Without the Hype

    Error Budgets Without the Hype

    We measured first, and the bottleneck was not where anyone expected. The rollback plan should exist before the rollout plan is approved. Small pull requests get real reviews, large ones get approvals. Details Caches are easy to add and surprisingly hard to remove. Logs answer questions you knew to ask; traces answer the ones you…

  • What I Learned About Code Review the Hard Way

    What I Learned About Code Review the Hard Way

    Small pull requests get real reviews, large ones get approvals. Tests are documentation that fails loudly when it goes stale. If the error message does not say what to do next, it is half an error message. Context The fastest query is the one you never send, but the second fastest has a good index.…

  • Load Testing in Small Teams

    Load Testing in Small Teams

    The rollback plan should exist before the rollout plan is approved. We measured first, and the bottleneck was not where anyone expected. Caches are easy to add and surprisingly hard to remove. What didn’t Tests are documentation that fails loudly when it goes stale. Caches are easy to add and surprisingly hard to remove. Our…

  • Type Systems Without the Hype

    Type Systems Without the Hype

    We wrote the migration twice: once to learn, once to ship. The fastest query is the one you never send, but the second fastest has a good index. Caches are easy to add and surprisingly hard to remove. Trade-offs The fastest query is the one you never send, but the second fastest has a good…

  • What I Learned About Dependency Updates the Hard Way

    What I Learned About Dependency Updates the Hard Way

    We wrote the migration twice: once to learn, once to ship. The rollback plan should exist before the rollout plan is approved. Our on-call rotation improved the day we deleted half of the alerts. The short version Logs answer questions you knew to ask; traces answer the ones you did not. Tests are documentation that…

  • A Practical Guide to Background Jobs

    A Practical Guide to Background Jobs

    We measured first, and the bottleneck was not where anyone expected. If the error message does not say what to do next, it is half an error message. Feature flags are debt with an expiration date you must actually enforce. Details Logs answer questions you knew to ask; traces answer the ones you did not.…