Linux Swap and OOM Killer Behavior on Memory Constrained Servers
On a memory constrained Linux server, swap gives the kernel breathing room by moving rarely used pages to disk, while the OOM killer is the last resort that...
All troubleshooting articles, newest first.
On a memory constrained Linux server, swap gives the kernel breathing room by moving rarely used pages to disk, while the OOM killer is the last resort that...
Bash strict mode, usually written as set -euo pipefail, makes scripts stop on errors, unset variables, and failed pipeline stages. It catches many mistakes,...
Secrets in environment variables can leak through diagnostics and process inspection. Production workloads require a defined contract for latency, correctness,...
Nginx has separate timeouts for connecting to an upstream, sending a request, and reading a response, and each one applies to a different stage. Its retry...
For JSON APIs, gzip is the safe, universally supported default, while Brotli often compresses slightly better at comparable levels but needs an extra Nginx...
Nginx rate limiting is best for cheap, coarse protection at the edge, such as limiting requests per IP address before they reach your application. Application...
Squash merges produce one commit per pull request, giving a clean, linear history that is easy to read and revert. Merge commits preserve every individual...
For most small engineering teams, a monorepo is the simpler default, because it makes code sharing, atomic changes, and consistent tooling easy. A polyrepo...
Use Pydantic models at the edges of your system, where untrusted data enters and needs validation, and use plain dataclasses for internal domain objects whose...