• @[email protected]
    link
    fedilink
    English
    172 hours ago

    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

    • @[email protected]
      link
      fedilink
      352 minutes ago

      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.

      • @[email protected]
        link
        fedilink
        16 minutes ago

        I have a Lenovo M710q with a i3 7100T that uses 3W at idle. I’m not mining bitcoin, server is idle 23h a day if not more.

    • @[email protected]
      link
      fedilink
      134 minutes ago

      Yeah what I’ve always done is use the previous gaming/workstation PC as a server.

      I just finished moving my basic stuff over to newer old hardware that’s only 6-7 years old, to have lots of room to grow and add to it. It’s a 9700k (8c/8t) with 32GB of ram and even a GTX 1080 for the occasional video transcode. It’s obviously overkill right now, but I plan to make it last a very long time.

    • @Valmond
      link
      72 hours ago

      Think centre tiny here

      Low consumption, two ddr4 slots, one 2.5" slot and one nvme slot! Lots of outside slots.

      Costed less used than a new pi too. They have gotten too expensive IMO.

      • @cellardoor
        link
        31 hour ago

        Same mentality but HP Elitedesk Minis

        • @[email protected]
          link
          fedilink
          1
          edit-2
          35 minutes ago

          Just add dell micro to the list and you have what I run - 9 tiny/mini/micro PCs run everything here. Though I may move a few things to a VPS soon.

          Edit:

          • (4) Dell Micros
          • (3) Lenovo Tinys
          • (2) HP Minis
  • @[email protected]
    link
    fedilink
    454 hours ago

    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.

    • Dran
      link
      93 hours ago

      This is the way

      • @ikidd
        link
        English
        2
        edit-2
        46 minutes ago

        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.

        • @[email protected]
          link
          fedilink
          English
          213 minutes ago

          The problem is that server will probably use more electricity, it’ll be clunky to store, and it’s going to be loud as fuck.

        • methodicalaspect
          link
          fedilink
          English
          225 minutes ago

          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.

  • MrMobius
    link
    fedilink
    12 hours ago

    Wait, you can host a website on a raspberry pi !? But is it really cheaper than shared hosting, for instance? And even then, quality-wise, it cannot be that good, can it?

    • @[email protected]
      link
      fedilink
      29 minutes ago

      Same as a 4x CPU with 8GB ram VPS.
      Unless bandwidth is a limiting factor.
      But the quality of a website is about code. Not about hardware

    • @[email protected]
      link
      fedilink
      English
      113 minutes ago

      You can definitely run a low traffic website with a Pi. You can run Minecraft Servers and such on Pis. Especially on Pi4s.

    • @khannie
      link
      English
      12 hours ago

      I’m not sure if I’m alone in this but I have a terrible aversion to transcoding. I know the loss of quality is probably not that huge (depending on the original codec) but I just can’t bring myself to get past it.

      As a result I have a tiny arm based box with a 2tb SSD and I’m happy out.

      • @[email protected]
        link
        fedilink
        62 hours ago

        You want to avoid it everywhere possible of course.

        But when the GF tries to use Jellyfin on whatever random device that doesn’t have the codec support to play it, it is nice to have.

        • @khannie
          link
          English
          12 hours ago

          Yeah that makes a lot of sense in fairness.

          • @[email protected]
            link
            fedilink
            English
            21 hour ago

            Trash.guides can help ya setup profiles so it won’t ever transcode unless the the above reason happens

    • @ritchie
      link
      44 hours ago

      That’s what Iam aiming for at the next hardware update. I don’t have the space for a server rack and a SFF desktop would also not fit into my home, so a miniPC it’ll be. I cannot wait to move to x86.

  • Noxy
    link
    fedilink
    English
    12 hours ago

    three raspberries pi running k3s is good enough for me

    • @[email protected]OP
      link
      fedilink
      206 hours ago

      Yeah, I enjoyed my time with k3s setup at home as well, but right now I don’t really want nor need that 😄

  • @[email protected]
    link
    fedilink
    576 hours ago

    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.

    • mesamune
      link
      English
      366 hours ago

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

    • @[email protected]
      link
      fedilink
      English
      24 hours ago

      Is there RISC-V hardware already? I thought the specification was still under development.

      • @[email protected]
        link
        fedilink
        21 hour ago

        Very much so, not quite ready for prime time maybe, but you can play with, StarFive is quite well-known for their chips in this space for example

      • @[email protected]
        link
        fedilink
        11 hour ago

        There are some Raspi competitors offering SBCs with RISC-V chips, there is even a RISC-V Mainboard for the framework laptops, but the last time I checked they sadly didn’t reach the performance levels of comparable ARM chips.

    • @[email protected]
      link
      fedilink
      36 hours ago

      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)

      • @ArbiterXero
        link
        66 hours ago

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

        • @[email protected]
          link
          fedilink
          English
          45 hours ago

          Apple Silicon Macs do a great job with virtualization. Outside of them there’s just no nice high end hardware that’s well suited for something like proxmox. It’s either low end SBC, or the hyper proprietary ARM servers that I don’t think we can even buy.

          • @ArbiterXero
            link
            15 hours ago

            Those are heavily customised, we’re talking raspberry pi’s here

  • Badabinski
    link
    fedilink
    94 hours ago

    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.

  • @shortrounddev
    link
    English
    146 hours ago

    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

    • @SpaceNoodle
      link
      23 hours ago

      Right? I just spin up another process on my home server. No need to get more hardware involved for something that’s inherently a software problem.

    • Ephera
      link
      fedilink
      English
      75 hours 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.

  • 👍Maximum Derek👍
    link
    fedilink
    English
    13
    edit-2
    6 hours 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.

  • @[email protected]
    link
    fedilink
    English
    85 hours ago

    Ha ha

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

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

  • @[email protected]
    link
    fedilink
    24 hours ago

    Do you run Docker in a VM or on the host node? I’m running a lot of LXC at home on Proxmox but sometimes it’d be nice to run Docker stuff easily as well.

    • @[email protected]
      link
      fedilink
      13 hours ago

      Just create an LXC container to run your dockers, all you have to do is make sure you run the LXC as privileged and enable nesting.

      • @[email protected]
        link
        fedilink
        21 hour ago

        Thanks for the tip, for some reason I assumed I couldn’t run docker in LXC but never actually tried… I prefer to avoid the overhead of a full VM and I find LXCs way easier to manage from the host system. Guess I’ll have something to test this weekend. Cheers!

      • Dran
        link
        23 hours ago

        There are security performance and capability concerns with that approach, apparmor on the first layer lxc probably being the most annoying.

        If you want to isolate your docker sandbox from your main host, you should use a vm not a container.

        • @[email protected]
          link
          fedilink
          1
          edit-2
          2 hours ago

          OP’s already running LXC on the host, so… Namespaces are namespaces…

          I don’t see what performance issues there would be with that.

          • Dran
            link
            147 minutes ago

            You’re correct that nesting namespaces is unlikely to introduce measurable performance degradation. For performance, I was thinking mostly in the nested virtual network stack adding latency. Both docker and lxc run their own virtual interfaces.

            There’s also the issue of running nested apparmor, selinux, and/or seccomp checks on processes in the child containers. I know that single instances of those are often enough to kill performance on highly latency sensitive applications (SAP netweaver is the example that comes to mind) so I would imagine two instances of those checks would exacerbate those concerns.

  • mesamune
    link
    English
    116 hours ago

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

    • @SpaceNoodle
      link
      33 hours ago

      My home server is literally made from garbage left over from other PCs. The motherboard is currently some piece of junk from a prefab PC with a custom power socket, so I got to make my own adapter from scratch.

    • @[email protected]
      link
      fedilink
      34 hours ago

      Yup! When I built a gaming comphter last year my old desktop became my first dive into linux. Probably overkill, but ive been having a blast with it.