Pretty much what the title says, I was wondering, since I want to invest on self hosting applications and my raspberry pi 3 b+ can barely function. I don't have enormous expectations, just docker containers, nextcloud, pihosted, jellyfin... Any further suggestions (regarding the hardware) will be much appreciated.
I hit the limit of my Raspberry Pi 4. It would periodically crash itself by overheating (Heatsink was hot to the touch) I now use a NUC. It runs excellently, and handles my home automation setup fine. Unless I start doing something extreme, I can see myself overloading it.
One of the less mentioned things with self hosting is running costs. A Pi is extremely cheap to run. A NUC is a bit more, but still well below a full blown PC. Servers can actually pull a significant load, even when idle.
Not op, but a nuc idles around 5 watts, and at load can use up to 100 watts depending on specs. A raspberry pi4 idles somewhere around 3.5 watts and at load is still under 10 watts.
From memory, I think it worked out 50-80% more power draw, on average. I might be wrong on that however, I've yet to do a will watt measurement with like for like loads. My testing was closer to both idling.
The NUC can draw more power, but has far more advanced power saving features too. I ended up budgeting using 20W.
You may get more bang for your buck by getting a comparable mini PC rather than a NUC. Some ThinkCentre Tiny machines are listed on eBay for less than $100 USD. HP and other manufacturers sell their own versions as well.
Got myself a Dell 8gen 8GB 256GB SSD for 40€... Got a 6 core (8500?, It came with a "Pentium Gold" bi core) for 60€ and a 4TB HD for 70€... For example. I think it will handle a lot before needing an upgrade. It's a smallish tower though, but sff versions exist too.
It's as crazy how cheap those PCs are and how expensive Raspberries has become :-/
It’s as crazy how cheap those PCs are and how expensive Raspberries has become :-/
On the former, it's because these are mostly models sold en masse after company upgrades. Often marked as "refurbished" although I suspect it's just basic checks. Regarding the Pi, seems to be supply issues; they should at least start being sold at retail price again this year from what I hear, not that it's necessarily worth it.
Yes, the only thing being that most NUCs can only have one drive (or one m.2 and one 2.5" sata drive) so you can't do anything like drive mirroring so if you lose a drive you're in trouble.
I've had the drive on my kodi box fail a couple of times now, it's annoying. Torrenting probably puts a lot of wear on the drive though so it's to be expected.
I have two old NUCs, one DN2820FYK with an Intel Celeron N2830, and another D54250WYKH with an
Intel Haswell i5-4250U. The former can only take one drive but the latter can have an mSATA as well as a 2.5" SATA. I'd like to use the latter with root on the mSATA SSD and a 2TB HDD for media in the 2.5" SATA, but for some reason I get better video playback on the Celeron than the Haswell. Both are supposed to have hardware acceleration for h264 and the Haswell is a more powerful processor so I don't understand it!
One thing that could help a lot would be have a third drive off one of the USB ports, a cheap large spinning drive, and have a cronjob to routinely copy the contents of your drive to the cheap spinning drive to the backup drive. That way even if you lose your SSD or your SATA drive, you still have a somewhat recent version of all your files elsewhere.
They provide the best balance for efficiency. Not too powerful enough to be a workhorse and not to weak to run multiple simple applications/services. NUCs are great in that they come with hardware video acceleration tech that's highly optimized for media transcoding.
Very similar, but usually dramatically cheaper... Look into the Lenovo Tiny line of PCs, you can get a used model with a surprising amount of power for a lot less than you'd see in a comparable NUC and in my experience, they're usually hardier machines.
If you're buying and want it cheap this is 100% the way to go. I got an M900 to go with my NUC and it only cost $60 for one with an i7 vs $200 for a similar NUC
@BarbecueCowboy@kbin.social In general I think old, small computer laptops are going to be a better long-term solution for self-hosting than a raspberry pi.
Sure, it is hard to compete in terms of size, but you will soon find yourself looking for bigger specs anyways
I think you may have responded to the wrong person.
The Lenovo tiny line isn't related to Raspberry Pi/etc and I didn't mention a Raspberry Pi. I have a server running on an M900 tiny with an i7-6700 in it and 32gb of RAM. That is the high spec config from Lenovo, but there are room for upgrades if you were willing to buy parts separately, however the value proposition starts to fall apart rapidly when buying non-standard parts and compatibility is kind of a coin flip. Even the lowest spec ones should almost always outpace a Pi though (usually by a healthy amount) while still being very small compared to a typical computer. Solid chance the tiny will also be cheaper than a Pi. Compared to laptops, they'll usually also easily outpace those too in terms of performance in terms of money spent, but that's obviously a lot more variable.
If you need something that packs more power than a Pi while still being somewhat energy efficient and small form factor then yes, the NUCs are generally pretty good.
Personally I'm running a NUC from 2018 with a 8th gen i3 that's pulling double duty as both a server running about ~10 docker containers, and as a media center.
The server part still runs flawlessly, though the media center part is getting a bit slow when opening websites on it.
As others have already said, one drawback is that there's only space for one drive, so at least a NAS or external USB storage is recommended for backups.
Check for the exact core configuration and cache size via Intel Ark first. More often than not i5 and i7 can have the same core configuration and cache size but difference base and boost frequencies.
I'm running all my microservices on a couple of repurposed NUC5i5RYKs, running Ubuntu Server 22.04 (I know I know) and Docker. They've been absolutely rock steady thus far, though not quite as overkill as I like all my computers to be. But I got them in 2015 and they've held up more than admirably.
I have a 2015 NUC I use as my server with next cloud, immich, jellyfin, gitlab and more. Mostly, I wish I put more ram in and could have two internal drives, but otherwise I love the form factor.