How To (And How Not To) Design REST APIs
- Jeff Schnitzer tl;dr: "In my career, I have consumed hundreds of REST APIs and produced dozens. Since I often see the same mistakes repeated in API design, I thought it might be nice to write down a set of best practices. And poke fun at a couple widely-used APIs. Much of this may be "duh", but there might be a few rules you haven't considered yet."featured in #587
featured in #585
Logging, The Sensible Defaults
- Daniel Gerlach tl;dr: “I often encounter codebases with lousy logging practices. This manifests itself in useless logging missing context or in over-logging thereby bringing down the whole system. People often forget that logging is expensive. In the following I want to list the most important logging traits for modern cloud native applications.”featured in #577
Six Ways To Shoot Yourself In The Foot With Healthchecks
- Phil Booth tl;dr: (1) Aggregate other services into your app’s healthcheck. (2) Set a short timeout on healthcheck requests. (3) Set a long timeout on healthcheck requests. (4) Leave a long delay before starting healthchecks on new instances. (5) Set a low threshold on consecutive failures before turning unhealthy. (6) Set a high threshold on consecutive successes before turning health.featured in #573
featured in #568
How To Fork: Best Practices And Guide
- Joaquim Rocha tl;dr: “Over the years, my work did sometimes involve maintaining forks of various open-source projects. That’s not the case with my job now, but when a colleague reached out for help with a fork that hadn’t been rebased in ages, it got me thinking that the steps I follow might be useful for other developers too. Hence this article.”featured in #560
Writing System Software: Code Comments
- Salvatore Sanfilippo tl;dr: “In this post I analyze Redis comments, trying to categorize them. Along the way I try to show why, in my opinion, writing comments is of paramount importance in order to produce good code, that is maintainable in the long run and understandable by others and by the authors during modifications and debugging activities.”featured in #560
Responsible Engineering Prevents Costly Failures In A Scaling World
- Dr. Panos Patros tl;dr: Dr. Panos Patros, VP of Engineering at Raygun and a seasoned expert in the engineering field, recently wrote an article about the importance of building robust, scalable software by prioritizing quality.featured in #558
An Engineer’s Checklist Of Logging Best Practices
- Rox Williams tl;dr: (1) Structure your logs. (2) Consolidate your logs at creation time. (3) Use unique identifiers. (4) Standardize log field names and types on your structured logs. (5) Avoid logging sensitive data. (6) Treat your logs as data. (7) Use a centralized logging management system. (8) Configure log retention. (9) Set up alerts. (10) Document log formats and practices.featured in #558
featured in #557