/plushcap/analysis/incident-io/developer-environments-should-be-cattle-not-pets

Developer environments should be cattle, not pets

What's this blog post about?

The concept "cattle, not pets" refers to treating servers as disposable and easily replaceable rather than indispensable and manually managed. This principle should also apply to local development environments. In this text, the author shares an example from their work at incident.io where they reset their local environment multiple times to maintain efficiency. The company's dev setup involves each developer creating their own Slack app for testing changes against a local server connected via ngrok. Toolbox scripts are used to automate as much of the process as possible, making it easy to reuse them for resetting specific parts of the environment. The author emphasizes that if an environment is difficult and time-consuming to set up or filled with valuable test data, developers may be reluctant to make changes due to fear of damaging their setup. However, regularly resetting environments can help maintain a production-like state and allow for more freedom in testing significant changes or tinkering directly in the database.

Company
Incident.io

Date published
April 3, 2023

Author(s)
Kelsey Mills

Word count
882

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.