top 50 comments

sorted by: hot top controversial new old
[–] 128 points 2 years ago (1 child)

I need

It's just fun to play with, there is no "need".

  • source
  • hideshow 1 child comment
  • [–] 94 points 2 years ago (14 children)

    I need a kubernetes cluster with high availability, load balancing and horizontal pod autoscaling, because that is something I want to learn. I don't care that it's just for wife's home-made dog collars webshop.

  • source
  • hideshow 14 child comments
  • [–] 10 points 2 years ago (11 children)

    You can do it on a handful of Raspberry Pis rather than one, then.

  • source
  • parent
  • hideshow 11 child comments
  • [–] 8 points 2 years ago* (8 children)

    I don't get this; a Pi isn't even in the same conversation as an old rackmount server you can get for free. You couldn't stuff half the compute, ram and storage into a Pi or a dozen Pis for 10X the cost of grabbing something off eBay for a hundred bucks.

    That's if the Rpi Foundation is deigning to let us peasants even buy them these days.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 14 points 2 years ago (6 children)

    I have an old rackmount server I got for free. Dual Xeon X5650s, 192GB of RAM, four 8TB HDDs, and a pair of 250GB SSDs. I can only use it in the basement because it’s too loud to run anywhere else, but even then, it’s currently off because it trips its circuit breaker under heavy load.

    A power strip full of Pis in a k3s cluster doesn’t do that. I used a 2GB model 4 for the control plane and 3Bs as the workers.

  • source
  • parent
  • hideshow 6 child comments
  • load more comments (6 replies)
  • load more comments (1 reply)
    [–] 80 points 2 years ago (13 children)

    Switched from a raspberry pi 3 to a second hand x86 thin client (lenovo thinkcentre m920q) because raspberry pi 4 were not available at the time. Made me learn proxmox and a bunch of other cool stuff my raspi couldn't handle.

    I'm rooting for ARM / RISC-V to become more popular in desktop computing / servers though.

  • source
  • hideshow 13 child comments
  • [–] 53 points 2 years ago (1 child)

    I've always liked riscv. Just the idea of literally everything on the device being open source is a fun idea. Manuals to everything.

  • source
  • parent
  • hideshow 1 child comment
  • Just because the ISA is open source doesn't mean that the end product or even the design will be open source.

    RISC-V is licensed permissively, giving anyone the right to make a proprietary (or FOSS) RISC-V processor.

    Often times, you'll see mostly open source cores, but then some extention is proprietary.

  • source
  • parent
  • [–] 8 points 2 years ago (4 children)

    Waiting for proxmox-arm becoming a thing (I know there's some community versions trying it but I'm not sure how reliable they are)

  • source
  • parent
  • hideshow 4 child comments
  • [–] 11 points 2 years ago (3 children)

    The hardware virtualisation available for arm just isn’t there yet

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (6 replies)
    [–] 60 points 2 years ago (1 child)

    This struggle usually takes place over a weekend.

  • source
  • hideshow 1 child comment
  • [–] 46 points 2 years ago (34 children)

    i think the best choice is a cheap used pc or laptop, or server. Reduces electric waste. I also host my own server on a 19 year old Dell Insprion 1300

  • source
  • hideshow 34 child comments
  • [–] 13 points 2 years ago (4 children)

    Yes, but also no. Older hardware is less power efficient, which is a cost in its own right, but also decreases backup runtime during power failure, and generates more noise and heat. It also lacks modern accelerated computing, like ai cores or hardware video encoders or decoders, if you are running those appd. Not to mention lack of nvme support, or a good NIC.

    For me a good compromise is to recycle hardware upgrades every 4-5 years. A 19 year old computer? I would not bother.

  • source
  • parent
  • hideshow 4 child comments
  • load more comments (2 replies)
  • load more comments (10 replies)
    [–] 42 points 2 years ago (6 children)

    A mini PC is a good middle ground. Mostly for the video transcode and machine learning power.

  • source
  • hideshow 6 child comments
  • load more comments (5 replies)
    [–] 36 points 2 years ago (7 children)

    I think any mini-pc/old laptop is better, and probably cheaper than a raspberry pi nowadays

  • source
  • hideshow 7 child comments
  • load more comments (4 replies)
    [–] 20 points 2 years ago (2 children)

    I've discovered that there are a lot of medium-tier software engineers who immediately will go straight to horizontal scaling (i.e: just throw hardware at it), and I've seen instances where very highly skilled engineers just write their code better, set things up on a bare metal server, cache things, etc. and manage with just a single badass server

  • source
  • hideshow 2 child comments
  • [–] 13 points 2 years ago

    Even just the choice of programming language makes a big difference. Running a JVM language or NodeJS, Python, Ruby etc., you can be bottlenecked by a Pi. Meanwhile, Rust or C/C++ will use barely a fraction of those resources.

  • source
  • parent
  • load more comments (1 reply)
    [–] 20 points 2 years ago (2 children)

    I've found that a pi is good enough, computationally, but not reliability wise.

    A lot of things like advanced light control goes through my host, so any lockups or crashes are bad. My pi held up for about 18 months before it began to play up. I've found a small NUC system has higher reliability for the same price and power usage.

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 18 points 2 years ago

    See, I don't pay for the electric bill to keep my collection of old enterprise equipment running because I need the performance. I keep them running because I have no resistance to the power of blinkenlights.

  • source
  • [–] 17 points 2 years ago*

    Yup, a pi is enough for me.

    Well... 5 Pis and an ancient NUC running proxmox are enough for me. And a DS920+... and an old laptop running docker are enough for me.

  • source
  • [–] 15 points 2 years ago (5 children)

    With Linux any old computer from yesteryear can become a quick server. That's what I do, just make sure you got backups.

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 14 points 2 years ago

    I had to buy a lenovo thinkcentre mini because was cheaper than a brandnew raspberry pi.

  • source
  • [–] 11 points 2 years ago (1 child)

    I spend all day at work exploring the inside of the k8s sausage factory so I'm inured to the horrors and can fix basically anything that breaks. The way k8s handles ingress and service discovery makes it absolutely worth it to me. The fact that I can create an HTTPProxy and have external-dns automagically expose it via DNS is really nice. I never have to worry about port conflicts, and I can upgrade my shit whenever with no (or minimal) downtime, which is nice for smart home stuff. Most of what I run tends to be singleton statefulsets or single-leader deployments managed with leases, and I only do horizontal for minimal HA, not at all for perf. If something gives me more trouble running in HA than it does in singleton mode then it's being run as a singleton.

    k8s is a complex system with priorities that diverge from what is ideal for usage at home, but it can be really nice. There are certain things that just get their own VM (Home Assistant is a big one) because they don't containerize/k8serize well though.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 10 points 2 years ago (12 children)

    The only problem I've had with Raspberry Pi is that some apps want to write a lot of stuff to "disk", and the default "disk" on a Pi is a MicroSD card which dies if you keep writing things to it. Sure, you can always plug something into a USB slot, but that adds a bit of friction to the whole process.

    Oh, also, I wish it were easy to power a whole bunch of Pi units. Each one needing its own wall wart is a bit annoying, and I've had iffy results using weaker, less steady power supplies with multiple ports intended for things like phones.

  • source
  • hideshow 12 child comments
  • load more comments (4 replies)
    [–] 9 points 2 years ago

    So close. Started on raspberry pi. Went for a cluster with dpckrt swarm. Finished with a nas and a 10years old game computer as a mediacenter. (That the electricity bill whoch made me stop the cluster)

  • source
  • [–] 9 points 2 years ago (5 children)

    Or you learn proxmox and running everything as a VM

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 8 points 2 years ago

    Ha ha

    Under-complicated -> over-complicated -> under-complicated.

    There's a 'just right' that I think you skipped through.

  • source
  • load more comments
    view more: next β€Ί