101
top 32 comments
sorted by: hot top controversial new old
[-] name_NULL111653@pawb.social 11 points 1 year ago

A temporary fix for overloaded lemmy.ml servers, via THAIO (Throw-Hardware-At-It Optimisation)...

[-] chordata@kbin.social 6 points 1 year ago

Nothing more permanent than a temporary solution

[-] shroomato@lemmy.world 1 points 1 year ago

Sadly there's only one server since Lemmy doesn't support horizontal scaling (hopefully for now only)

[-] name_NULL111653@pawb.social 1 points 1 year ago

This sounds like something we need. I'm sure it's much harder to implement than I imagine (I'm not a programmer, just a geek). Lemmy needs more devs.

[-] Jax@kbin.social 8 points 1 year ago

Unplug it real quick so we can find out

[-] theory@feddit.uk 7 points 1 year ago
[-] dan1101@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

I actually ran a moderately active (like 20,000 hits a day) small business site from a laptop for a couple years. Of course one of the first thing I did was put a "SERVER DO NOT SHUT DOWN" sticker on it, and set the power settings so closing the lid did not shut down or sleep the computer. It was a Dell 7000 series with 16GB IIRC, it did great.

[-] eugene@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

Not advertising here, but with this low traffic you could be in a permanent free tier with AWS with all the availability guarantees. It doesn't work with EC2, but for serverless solutions (ApiGateway, Lambda, DynamoDB) they have something like "we start charging after 1M calls per month" (don't quote me on this exact number). I have a couple of pet projects working this way

[-] dmahtani@lemmy.ml 5 points 1 year ago

Bro that's the Reddit server.

[-] PorkrollPosadist@lemmy.ml 4 points 1 year ago

Old shitty laptops make good servers. They have a built-in UPS.

[-] Xeelee@kbin.social 3 points 1 year ago

I have an old Raspberry Pi 1 lying around. Should I spin up my own instance?

[-] StickBugged@kbin.social 3 points 1 year ago

I'm actually thinking about doing this exact thing with my own rpi b rev2 from 2012. I'm not sure it'll even run a kbin/Lemmy instance though

[-] bl00dmeat@sh.itjust.works 3 points 1 year ago

Yo, how'd you get in my home lab?

[-] whoharold@lemmy.world 2 points 1 year ago

This looks like my old laptop - Lenovo Y510P. Even down to the slight abrasion below the mousepad from the user wearing a watch with a metal band.

It had SLI GPUs in a laptop through the ultra bay. It was a beast for about 20 minutes until the heat built up.

[-] chkno@lemmy.ml 2 points 1 year ago
[-] bane_killgrind@lemmy.ml 0 points 1 year ago

Just pop the magnet out of the lid.

[-] aport@programming.dev 1 points 1 year ago

This is the correct, cross platform solution. It works on all operating systems!

[-] abieNathanTheyThem@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Please use an ethernet cable, you gonna need to keep that connection spotless and WiFi are vulnerable no matter which protocols, better turn it off.

If I may also add install a custom firmware on your router(Rec. Tomato series most updated)/hardware firewall(Rec. pfSense) with a VPS if the network is used for other means, they will help you in the long-term.

With great power comes great responsibility.

[-] President_Pyrus@feddit.dk 1 points 1 year ago

The server stopped serving?

[-] SeeMinusMinus@lemmy.world 1 points 1 year ago

I have a minecraft server running on a laptop like this. Sadly I don't have any friends that want to play minecraft right now ):

[-] lemmein@lemmy.world 1 points 1 year ago
[-] polskilumalo@lemmygrad.ml 2 points 1 year ago
[-] lemmein@lemmy.world -4 points 1 year ago

Sorry I don't speak with communists

[-] polskilumalo@lemmygrad.ml -1 points 1 year ago

You're missing out, but hey whatever you like

[-] SeeMinusMinus@lemmy.world -4 points 1 year ago* (last edited 1 year ago)

tankies != communists. communists are cooler (:

[-] EqMinMax@lemmy.world 1 points 1 year ago

laughs in "stay awake even if lid is closed" settings in linux.

[-] demonen@lemmy.ml 1 points 1 year ago

I used to work for a notebook manufacturer, and it was a non-trivial part of the cooling strategy that the lid is open under load.

I hope they've changed, but megacorps usually don't.

[-] Jongaros@lemmy.ml 1 points 1 year ago

Even Windows 98 has that setting

What specs do I need to run a lemmy instance for, say a small group of 1000 people? Cpu, Ram, Amount of Electricity needed, Minimum Internet Speed, Storage? Assuming that I would be federating with the top lemmy instances.

[-] ShadowAether@sh.itjust.works 2 points 1 year ago

This may help: https://sh.itjust.works/post/4706 This real answer is that it depends on how many online users there are at the same time and how much data is saved.

[-] sexy_peach@feddit.de 2 points 1 year ago

I think it would be possible to run it on that laptop. But the only way to find out is if you try for us!!

[-] gh0stcassette@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

I've heard of people running (Mastodon, not lemmy, but it's probably comparable) off a raspberry pi, but I doubt that'd be feasible for more than a few users. I might set that up for self-hosting though

load more comments
view more: next ›
this post was submitted on 15 Jun 2023
101 points (100.0% liked)

Programmer Humor

32584 readers
1095 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS