MacServe.Log in or sign upSign up

Guides

Using a Mac mini as a home server

What a Mac mini is good at as an always-on server, where it falls down, and how to decide before you commit the hardware.

Why the mini keeps coming up

People reach for the Mac mini because the numbers are unusually kind. An M-series mini idles in the single-digit watts, cheap enough to leave running every hour of the year. Under load it performs closer to a desktop than to the small-board computers it sits beside on power draw.

It is also silent, small enough to hide behind a monitor, and if you already own one, free. That last point does more work than any benchmark. The comparison that matters is not a mini against a rented server. It is a mini you already have against a rented server you would have to start paying for.

What it handles comfortably

Almost everything people self-host is bursty. It does nothing for long stretches, then wants a core or two for a moment. That profile suits a mini well, and memory rather than CPU is usually the thing that runs out first.

  • Personal sites and APIsa handful of low-traffic services will not trouble a base model. Most of the time they are waiting on the network, not the processor.
  • DatabasesPostgres or MySQL for an app with real users is fine at 16 GB. Give the database its own memory headroom and stop worrying about cores.
  • Media and home automationPlex, Jellyfin, Home Assistant. Transcoding is the one CPU-hungry job in this list, and the M-series media engine handles it well.
  • Builds and CIthe mini is quick per core, which is what most build steps want. This is where the extra cores on a Pro earn their money.

Where it falls down

A home server is not a data centre, and pretending otherwise is how people lose data.

  • One power feed, one internet linea rented server sits behind redundant power and several transit providers. Your flat does not. A storm that takes out your street takes out your service.
  • Storage is soldered and expensiveApple's internal storage cannot be upgraded, and an external drive over USB is a different reliability story from a NAS with redundancy. Back up somewhere else.
  • Nobody is there to reboot itif it stops responding while you are away, it stays stopped. Anything that needs guaranteed recovery should not live only here.
  • Upload speed is the ceilinghome connections are asymmetric. Serving large files to many people at once hits your upload limit long before the Mac breaks a sweat.

How to decide

Ask what happens during an outage. If the honest answer is that you would fix it when you got home and nobody would be much harmed, a Mac at home is the right call, and the economics are hard to argue with.

If the answer involves customers, money or a pager, rent a server for that part and keep the Mac for everything else. Most people end up running both, and the split is cleaner than expected: the things with an audience go somewhere with an SLA, and the side project, the dashboard, the bot and the staging copy live at home for nothing.

Keep reading

Mac mini vs a VPS: the actual numbersKeeping a Mac awake and onlineMatch your Mac to the work you want to host