Disk Layout for Models, Caches, and Indexes
Put models, embedding caches, git clones, and SQLite indexes on separate paths so a full cache cannot bury the OS on a single Lucknow VPS disk.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
599 articles · 24 topics
Put models, embedding caches, git clones, and SQLite indexes on separate paths so a full cache cannot bury the OS on a single Lucknow VPS disk.
Harden every admin dashboard, panel, and control surface in your self-hosted stack so the tools that manage it cannot become its weak point.
Give each agent its own Unix user, env file, and scoped API keys so a leaked worker key cannot drain the billing account or rewrite git history.
Every DNF transaction is numbered and stored. Learn to read dnf history, undo one bad update, or roll the whole system back to a known-good state.
How to measure IOPS and latency on virtualised solid-state storage, then tune the filesystem and block scheduler to match your access pattern.
Stop spoofed X-Forwarded-For and doubled forwarding headers from corrupting your logs, rate limits, and trust decisions at the proxy.
Stop the cluster, rsync the data directory onto a dedicated High-Speed SSD volume, and point PostgreSQL 16 at that new data location safely.
Expose a cheap health endpoint, let systemd watchdog the event loop, and fail the unit before a wedged Node process sits silent in production.
A single-domain Postfix plus Dovecot inbox is small and honest: IMAP for you, DNS auth in place, and no claim that Gmail will accept your outbound.
Put nginx, a tool-gated agent, a loopback 7B, Redis, and a cheap remote API on one Lucknow VPS so private prompts stay local and hard tasks can escalate.
Deep dive into automated fw_cfg parameter injection and QEMU guest agent orchestration for zero-downtime application rebuilds.
Learn the difference between symbolic and hard links, what they cost, and when each is the right tool.