• cynar@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    4 hours ago

    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.

  • Diurnambule@jlai.lu
    link
    fedilink
    arrow-up
    4
    ·
    4 hours 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)

  • merc@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    7 hours ago

    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.

    • fallingcats@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      38 minutes ago

      Most SD cards aren’t really suitable for the kind of workload an operating system generates (that being mostly random i/o). Make sure to get a reputable A2 (application class 2) rated card, they aren’t that expensive but perform way better.

      Raspberry Pi themselves launched a card recently, I haven’t tried that one but it’s probably a good choice too.

  • truxnell@infosec.pub
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 hours ago

    I have literally been on this exact journey. Mind you I’m on NixOS across two boxes so not quite a raspi… Perhaps my downsizing is not yet complete

  • utopiah@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    8 hours ago

    Same, in fact you can also went down in RPi models. Basically the more you know, the less you need, e.g. going from Plex to Kodi to minidlna…

  • teuto
    link
    fedilink
    arrow-up
    13
    ·
    12 hours 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.

  • RatzChatsubo@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 hours ago

    I’m actually just about to start up my server again on a rp4. It’s been like 5 years since I’ve used it. Is dietpi still the best way to go about making a Plex media server/bare bones desktop environment that I can access with ‘no-machine’?

    I sear no machine just broke my autoboot setup one day and I never got around to fixing it. What do you nerds think?

    I’m not interested in video streaming, just hosting my music collection and audiobooks. I remember FTP being a pain to transfer music files from my phone

  • Hawk@lemmynsfw.com
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    Absolutely the best way to learn though. The number of places I’ve walked into that had no clue about containers or even a vpc and thought Google drive was an API is too damn high.

    • silasmariner@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      I have actually had to write something that used the Google drive API for a friend’s company once and it was… Unpleasant. Counterintuitive. Woefully inconsistent. My solution worked but it sucked and I am a bit ashamed of it

  • abbadon420@lemm.ee
    link
    fedilink
    arrow-up
    72
    ·
    21 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.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        18 hours 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.

        • methodicalaspect@midwest.social
          link
          fedilink
          English
          arrow-up
          11
          ·
          17 hours 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.

        • RamenJunkie@midwest.social
          link
          fedilink
          English
          arrow-up
          7
          ·
          17 hours 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.

  • oni@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    16 hours ago

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

  • kekmacska@lemmy.zip
    link
    fedilink
    English
    arrow-up
    38
    ·
    19 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

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        This is why rack mounts were made. Hell, I’ve seen a lot of custom builds where people have mapped out the server on their wall and it takes up no floor space. Something like this: https://i.xno.dev/kG9Wx.jpg

    • null@slrpnk.net
      link
      fedilink
      arrow-up
      20
      arrow-down
      3
      ·
      17 hours ago

      Reduces electric waste

      A lot of older equipment actually wastes more electricity.

      But it will cut down on electronic waste.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        3
        ·
        16 hours ago

        Not necessarily.

        A i5-6500 has a TDP of 65W while a i5-13600K has a TDP of 150W.

        If you get something modern that has the performance of a i5-6500 it will be a little bit more efficient. The key is that more performance uses more power.

        • Trainguyrom@reddthat.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 minutes ago

          TDP ≠ power draw. TDP is literally the Thermal Design Power aka what is the amount of thermal load a system designer should account for. Yes it can give you a rough and dirty idea of maximum power draw, but real world power draw can be entirely different because that depends on load.

          For example, if your i5-6500 runs at 50-70% load while the newer processor only runs at 20-30% load due to IPC and instruction improvements the newer processor might very well use less power over the course of month than the older one despite the newer one being capable of drawing more

          You’re also comparing a 4c4t part to one with 14c/20t not to mention comparing a mass market part to a gaming specific part. The 6600k (which is targeting the same market segment as the 13600k) has a 91w TDP. Go compare your 6500 to the i5-13500 except again it’s still comparing apples to oranges when you just look at raw specs and TDP ≠ real world power consumption

        • Blue_Morpho@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          15 hours ago

          13600K

          If you buy a high watt CPU, that’s on you. Ryzen 7 also came out in 2022 and had many 65 watt cpus that could outperform an i5-6500.

    • SkyNTP@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      18 hours 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.

      • kekmacska@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        13 hours ago

        my 19 year old laptop runs the web server just fine, and only needs 450 mb ram even with many security modules. it produces minimal noise

      • Tja@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        17 hours 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.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      19 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.

        • curbstickle@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          18 hours 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
          • Valmond@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            How would you class them, if you think you could/would/should? I’m so impressed with the thinkcentre tiny I wonder if it can get better at all.

            • curbstickle@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              2
              ·
              15 hours ago

              Mostly equitable.

              Ive had a slightly higher failure rate with the Dells, but the sample size is too small to be relevant.

              The Lenovos more often than others ive found outfitted with a dGPU which comes in handy in some scenarios, but I think that comes down more on which enterprises more often purchase Lenovos and want the dGPU, and that its just what ive come across in the used/decommissioned territory.

              Short answer - they are basically all the same.

        • Valmond@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          15 hours ago

          Yesss I have a m910q as my main with (IIRC) a 6500T 4 cores.

          And a m710 with the CD contraption for backup (the CD is just for fun, the PC is the backup) :-p

    • Zink@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      18 hours 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.

  • nesc@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    110
    arrow-down
    1
    ·
    23 hours ago

    I need

    It’s just fun to play with, there is no “need”.

    • hanke@feddit.nuOP
      link
      fedilink
      arrow-up
      29
      ·
      23 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 😄

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        edit-2
        3 hours ago

        Docker is so bad. I don’t think a lot of you young bloods understand that. The system is so incredibly fragmented. Tools like Portainer are great, but they’re a super pain in the ass to use with tools/software that include a dockerfile vs a compose file. There’s no interoperability between the two which makes it insurmountably time-consuming and stupid to deal with certain projects because they’re made for a specific build environment which is just antithetical to good computing.

        Like right now, I have Portainer up. I want to test out Coolify. I check out templates? Damn, not there. Now I gotta add my own template manually. Ok, cool. Half way done. Oops. It expects a docker-compose.yml. The exatorrent repository only has a Dockerfile. Damn, now I have to make a custom template. Oh well, not a big deal. Plop in the Dockerfile from the repository, and click “deploy.” OOPS! ERROR: “failed to deploy a stack: service “soketi” has neither an image nor a build context specified: invalid compose project.” Well fuck… Ok, whatever. Not the biggest of deals. Let me search for an image of “soketi” using dockerhub. Well fuck. There are 3 images which haven’t been updated in several years. Awesome. Which one do I need? The echo-server? The network-watcher? PWS?

        Like, do you see the issue here? There’s nothing about docker that’s straightforward at all. It fails in so many aspects it’s insane that its so popular.