Redis maxmemory and Eviction Policies by Workload
Set maxmemory before Redis eats the VPS, then pick allkeys-lru, volatile-ttl, or noeviction so the eviction policy matches cache, session, or queue data.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
599 articles · 24 topics
Set maxmemory before Redis eats the VPS, then pick allkeys-lru, volatile-ttl, or noeviction so the eviction policy matches cache, session, or queue data.
Wire Prometheus to Alertmanager with grouping, inhibit rules, and a for duration so a single VPS pages you for real faults, not for every blip.
Ship a Python app as a systemd unit with Restart=always, or use a socket unit, so the process comes back after crashes without a babysitter.
Index a runbook markdown tree on the VPS and answer ops questions with file-and-heading citations, refusing anything the docs do not actually say.
Keep workers disposable and put sessions, uploads, and Postgres on named disks so a restart or deploy never depends on files left in the process tree.
Put one authentication layer in front of all self-hosted apps with Authelia so every public tool shares the same login, 2FA, and access rules.
Choose ReAct when the next check depends on live output, and use plan-then-act when an ops bot on a Linux VPS must not improvise during writes.
What musl, BusyBox, and apk actually buy you on a 130 MB distro, where Alpine shines on a VPS, and where it bites back with glibc and systemd assumptions.
Run several operating systems and runtime-version combinations with the GitHub Actions matrix strategy, plus include, exclude, fail-fast and parallel limits.
Offset paging is easy and drifts at scale; cursor paging stays stable for growing data. How each works, and how to design the metadata.
Split markdown by headings and code by functions so RAG retrieves complete units instead of random 512-token windows on your private VPS corpus.
Understand how AppArmor and SELinux confine processes under mandatory access control and choose the MAC layer that fits your distro and density.