Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[Sharing] My "Low End" Stack: Docker + Oracle DB + Hexo + NPM Optimization

makejmakej Member

Hi everyone,

I’ve been lurking here for a while and finally decided to share my current setup. Like many of you, I enjoy the challenge of squeezing every bit of performance out of a budget VPS.

Currently, I’m running a Docker-based stack on a 2GB RAM node (and sometimes even less), and here’s how I’ve optimized it:

The Gateway: I use Nginx Proxy Manager (NPM) as the entry point. It’s lightweight and makes SSL management a breeze for all my subdomains.

The Content: My blog is built on Hexo, deployed via Docker. I’ve set up a daily cron job to back up the entire project folder to Infini-Cloud to ensure data safety without high costs.

The Heavy Lifter: Managing Oracle DB instances on low-end nodes was the real challenge. I’ve spent some time optimizing tablespaces and SQL queries to keep memory usage under control.

The Workflow: I manage everything from my macOS (zsh/Oh My Zsh) terminal. Switching from bash to zsh has significantly improved my remote management efficiency.

A few "lessons learned" for fellow enthusiasts:

Swap is your friend: When running Oracle or multiple Docker containers on low RAM, a well-configured swap file is mandatory.

Container Limits: Always set memory limits on your Docker containers to prevent a single service from crashing the entire node.

Automate Backups: Don't trust cheap storage. Automated off-site backups are the only way to sleep at night.

I’m curious—what’s your favorite "heavy" service that you’ve successfully tamed on a low-end VPS? I'm looking for my next project to self-host!

Looking forward to your thoughts and suggestions.

Comments

Sign In or Register to comment.