How is lemmyworld so stable?

3 years ago by maltfield to c/lemmyworld

At the time of writing, Lemmyworld has the second highest number of active users (compared to all lemmy instances)

Also at the time of writing, Lemmyworld has >99% uptime.

By comparison, other lemmy instances with as many users as Lemmyworld keep going down.

What optimizations has Lemmyworld made to their hosting configuration that has made it more resilient than other instances' hosting configurations?

See also Does Lemmy cache the frontpage by default (read-only)? on !lemmy_support@lemmy.ml

ruud 340 points 3 years ago

Thank you for all the compliments.

This ride reminds me of Mastodon.world in November. Details on that are here: https://blog.mastodon.world/...

So I started lemmy.world on a 2CPU/4GB VPS. Keeping an eye on the performance. Soon I decided to double that. And after the first few thousand of users joined, doubled it again to 8CPU/16GB. That also was the max I could for that VPS type.

But, already I saw some donations come in, without really asking. That reminded me of the willingness to donate on Mastodon, which allowed me to easily pay for a very powerful server for mastodon.world, one of the reasons it grew so fast. Other (large) servers crashed and closed registrations, I (mainly) didn't.

So, I decided to buy the same large server (32cpu/64threads with 128GB RAM) as for masto (but that masto one has double the RAM). With the post announcing that, I also mentioned the donation possibilities. That brought a lot of donations immediately, already funding this server for at least 2 months. (To the anonymous person donating $100 : wow!).

Now next: to solve the issue with post slowness. That's probably a database issue.

And again: migration took 4 minutes downtime, and that could have been less if I wasn't eating pizza at the same time. So if any server wants to migrate: please do! If you have the userbase, you'll get the donations for it. Contact me if you have questions.

path: 0 102234, hotness: undefined, score: 340, children: 27
SteveJobs 62 points 3 years ago

What kind of pizza was it?

path: 0 102234 105871, hotness: undefined, score: 62, children: 6
ruud 70 points 3 years ago

Salami

path: 0 102234 105871 107106, hotness: undefined, score: 70, children: 4
sarsaparilyptus 10 points 3 years ago

Based

path: 0 102234 105871 107106 111756, hotness: undefined, score: 10, children: 2
kommanditbolag 9 points 3 years ago
path: 0 102234 105871 107106 111756 122383, hotness: undefined, score: 9, children: 1
LightningThief 1 point 3 years ago
path: 0 102234 105871 107106 111064, hotness: undefined, score: 1, children: 0
darkstar 22 points 3 years ago

Asking the important questions

path: 0 102234 105871 106505, hotness: undefined, score: 22, children: 0
Balthazar 27 points 3 years ago

And this kindness and willingness to help is why I've already fallen in love with Lemmy. Thank you good sir, thank you dearly for helping the next generation of internet denisens :D

path: 0 102234 122971, hotness: undefined, score: 27, children: 0
million 15 points 3 years ago

Nice job, thanks very much for the write up.

Out of curiosity are you cloud hosting or do you own a server on a rack somewhere? Scaling with Kubernetes or VMs or just running bare-metal?

path: 0 102234 115550, hotness: undefined, score: 15, children: 1
pariskalavros 5 points 3 years ago
path: 0 102234 115550 132464, hotness: undefined, score: 5, children: 0
grouvie 14 points 3 years ago

Interesting writeup. I'm curious about the resource usage of the Lemmy backend and frontend deployments. Do you have any insights on the resource utilization of these deployments?

path: 0 102234 103428, hotness: undefined, score: 14, children: 0
SteelBeard 12 points 3 years ago

Hey, you rock. This place is pretty cool.

path: 0 102234 107546, hotness: undefined, score: 12, children: 0
QuazarOmega 10 points 3 years ago

Amazing stuff!
I hope others will follow suit, it's the biggest hurdle right now for serious adoption in my opinion and you crushed it!

path: 0 102234 103609, hotness: undefined, score: 10, children: 0
Soullioness 10 points 3 years ago

What does it cost per month to operate your servers, namely this one?

path: 0 102234 110480, hotness: undefined, score: 10, children: 3
poVoq 21 points 3 years ago

They just upgraded to a dedicated server for 180€/month today.

path: 0 102234 110480 112215, hotness: undefined, score: 21, children: 2
Soullioness 6 points 3 years ago

Wow. That's so much more than I expected!

path: 0 102234 110480 112215 114307, hotness: undefined, score: 6, children: 1
itadakimasu 14 points 3 years ago

really, more?. We're taking a dedicated server hosting thousands of users posting content

path: 0 102234 110480 112215 114307 115744, hotness: undefined, score: 14, children: 0
Dream_state 5 points 3 years ago

Am I able to use the same account to login to mastodon.world? Or do I need to make an account there too? Never used mastodon but vining the fediverse stuff

path: 0 102234 116048, hotness: undefined, score: 5, children: 2
bcnelson 6 points 3 years ago

Unless I'm very mistaken you can not use the same account.

path: 0 102234 116048 116616, hotness: undefined, score: 6, children: 1
Balthazar 8 points 3 years ago

You can, you just must log in to the server/website in which you made the account, then browse over to the server you wish to contribute to or use.

It's a bit weird, I know. If you've got any questions I'll try my best to answer them :D

path: 0 102234 116048 116616 123027, hotness: undefined, score: 8, children: 0
frankyboi 4 points 3 years ago

is it a good idea to host on my home internet ?

path: 0 102234 155178, hotness: undefined, score: 4, children: 1
mjgood91 4 points 3 years ago

I bet you could do it if your instance didn't pull in a lot of traffic.

If it did..... I reckon that you might be able to pull it off to a certain extent so long as your internet package was good enough, but if you got hit with a Reddit-level flood of incoming users, your network almost certainly wouldn't be able to keep up.

Even if it could, if you were consistently eating through all the upload bandwidth, I reckon you'd draw the eyes of your ISP and they might send you a letter kindly and respectfully telling you that if you don't upgrade to a commercial line they're not renewing your contract.

path: 0 102234 155178 171977, hotness: undefined, score: 4, children: 0
taj 4 points 3 years ago

Fantastic. Thanks for all you've done, and are doing!!

path: 0 102234 112313, hotness: undefined, score: 4, children: 0
Alchemy 3 points 3 years ago

Love to see it. Thank you!

path: 0 102234 139669, hotness: undefined, score: 3, children: 0
Xanvial 2 points 3 years ago

Interesting, I'm new on Lemmy (and fediverse itself), but when you said server does it means the backend that handles frontend traffic or database that stores all the data? Seems the next optimization step is distributing the traffic to multiple servers.

Also (again I don't know about the lemmy system itself), maybe you can get away with just upgrading CPU cores only or RAM only (depends on what bottlenecking the system). From my experience, the RAM requirement is scaling slower compared to CPU

path: 0 102234 153577, hotness: undefined, score: 2, children: 0
Xaphanos 2 points 3 years ago

As someone "in the business", but not nearly as technical as you... How far can a single instance scale? Can a load balancer spread it over mulitple front-ends to handle user load? Can the back-end be re-worked to handle hundreds of millions of user operations per second? Can it work with a CDN? Can a single "Lemmy.World" site exist as a distributed site - with hundreds of servers spread across dozens of sites across the globe?

I expect this entire line of thought is antithetical to the entire Lemmy philosophy of distributed operation. I expect that the "correct" way is to spin off "NA.Lemmy.World", EMEA. Lemmy.World", APAC.Lemmy.World", etc. as separate servers. Is that correct?

Thanks.

path: 0 102234 261150, hotness: undefined, score: 2, children: 1
ruud 2 points 3 years ago

Best would be to have thousands of servers. I wouldn't make them subdomains of lemmy.world, but people could create separate instances for large communities, for example. https://lemmy-selfhosted.com Scaling: if the Lemmy software gets tuned a bit better, I think the current server could host at least a million users. But let's hope for more servers first...

path: 0 102234 261150 266746, hotness: undefined, score: 2, children: 0
psychothumbs 195 points 3 years ago path: 0 101168, hotness: undefined, score: 195, children: 6
kiwifoxtrot 113 points 3 years ago

@ruud runs a top 10 mastodon server.

path: 0 101168 101326, hotness: undefined, score: 113, children: 0
maltfield 77 points 3 years ago

Yes. And I'm asking him to share his tweaks here with the community so that others instance admins can shore-up their servers :)

path: 0 101168 101318, hotness: undefined, score: 77, children: 4
PriorProject 115 points 3 years ago

Fwiw, he has been providing quite a lot of transparency in his posts to this community. He's shared his hardware config in detail, posted maintenance posts with brief descriptions of what he's doing, and replied to comments around specific config tweaks. I haven't catalogued a list of links, but I've seen him do all of these things in the last 48h. It's easy to imagine that all these things could be compiled in real time into a how-to, but it's a pretty big deal just to keep the lights on right now, and pretty difficult to understand whether tweaks that helped your setup are generally applicable or only situationally useful and happen to perform well for your specific setup.

I'm sure we will see more high-performance Lemmy guides in the future, but at this point no one has more than 36h of experience with high-performance Lemmy. Give them a minute to catch up.

path: 0 101168 101318 101894, hotness: undefined, score: 115, children: 0
Kris 10 points 3 years ago

More like throw more $$$ at the problem has been the solution.

path: 0 101168 101318 107597, hotness: undefined, score: 10, children: 2
MetaCubed 12 points 3 years ago

Saying this without any knowledge of lemmy's backend... Large, high user count databases with (very quickly) growing demand take more power than generally expected. At a certain point, throwing money at the problem is the solution.

path: 0 101168 101318 107597 122855, hotness: undefined, score: 12, children: 1
676 1 point 3 years ago

I respect anyone working with any amount of databases. Just my selfhosted operation made me realize how fucking complicated and stupid but nessasary databases are

path: 0 101168 101318 107597 122855 154756, hotness: undefined, score: 1, children: 0
PriorProject 170 points 3 years ago

I'm not an admin, but have followed the sizing discussions around the lemmyverse as closely as I can from my position of lacking first-hand knowledge:

  • lemmy.ml is the biggest instance by user count, but runs on incredibly modest 8-cpu hardware. Their cloud provider doesn't provide any easy scale up options for them, so they can't trivially restart on a bigger VM with their db and disk in place. I suspect this means that instance is going to suffer for a bit as they figure out what to do next.
  • lemmy.world on the other hand was running on a box at least twice as big as lemmy.ml at last count, and I believe they can go quite a bit bigger if they need to.
  • The lemmy.world admins also run mastodon.world and lived through the twitterpocalypse, seeing peak user registrations rates of 4k per hour. So this is not their first rodeo in terms of explosive growth, I'm sure that experience gives them some tricks up their sleeve.
  • The admin team is pretty clearly technically strong. If I recall correctly, ruud is a professional database admin. One of the spooky parts of Lemmy performance-wise is the db. If ruud or others on the admin team custom-tuned their pg setup based on their own analysis of how/why it's slow, they may be getting more performance per CPU cycle than other instances running more stock configs or that are cargo-culting tweaks that aren't optimal for their setup without understanding what makes them work.

I'm surprised that sh.itjust.works isn't growing faster. They also have a hefty hardware setup and seemingly the technical admins to handle big user counts. I wonder if it's a branding problem, where lemmy.world sounds inviting and plausibly serious where sh.itjust.works sounds like clowntown even though it's run by a capable and serious team.

path: 0 101603, hotness: undefined, score: 170, children: 46
Pspspspspsps 134 points 3 years ago

I wonder if it's a branding problem, where lemmy.world sounds inviting and plausibly serious where sh.itjust.works sounds like clowntown

That was my thought process when choosing an instance tbh. I'm not a tech person, I looked at the list and lemmy.world was the first 'safest feeling' instance that had open sign up. I saw sh.itjust.works and didn't even check their sign up process, there was too many periods in the strange name and it just looks weird to me as someone not used to these things. Edit: spelling

path: 0 101603 102149, hotness: undefined, score: 134, children: 11
Z______ 35 points 3 years ago

I definitely second the motion on it being a branding problem. Stuff like sh.itjust.works seem to me like something that dark basement tech nerds would come up with that is "edgy" and really only used by them and other people like them.

I'm not really into the ironic "edgy" aesthetic and part of the struggle with this transition for me has been orienting myself in the space because I don't want to commit to some "sketchy" edgelord URL

path: 0 101603 102149 111097, hotness: undefined, score: 35, children: 6
darkwing_duck 29 points 3 years ago

something that dark basement tech nerds would come up with that is β€œedgy” and really only used by them and other people like them.

That's exactly what it is and why I love it. The whole thing about this federated networking is that it doesn't matter where you signed up.

path: 0 101603 102149 111097 111930, hotness: undefined, score: 29, children: 5
ericjmorey 10 points 3 years ago

Where you sign up entirely determines your local feed.

path: 0 101603 102149 111097 111930 115200, hotness: undefined, score: 10, children: 3
ericjmorey 4 points 3 years ago

Where you sign up greatly effects moderation and administration issues like updating the software the instance runs on to benefit from security fixes, optimizations, and enhancements.

path: 0 101603 102149 111097 111930 127161, hotness: undefined, score: 4, children: 0
Guy_Fieris_Hair 15 points 3 years ago

I do think join-lemmy.org could possibly be changed to show server usage/capacity and uptime. When I initially signed up I went for lemmy.ml because what the heck is the difference? Honestly I was having all kinds of timeouts and thought the entire lemmy-verse was probably struggling. I was concerned that was the experience everyone was getting that they were going to leave because it is unsustainable.

But I ended up seeing a page showing the uptime of serversnand lemmy.world was 100% (at that point). So I figured I'd start an account here. HOLLY CRAP IT IS SO MUCH FASTER. I would have had a hard time sticking around if it all worked like lemmy.ml.

I started a community on lemmy.ml. Wish I would have done it here.

path: 0 101603 102149 120559, hotness: undefined, score: 15, children: 0
s4if 8 points 3 years ago

nah, I'm bit regretting not signing up on their instance. sh.itjust.works is a cool name and can be a brag point. lol. lemmy world is a bit too generalist, but I won't migrate there as ruud (the admin of lemmyworld) is doing a good job managing the instance. I appreciate that. :)

path: 0 101603 102149 132043, hotness: undefined, score: 8, children: 0
_haha_oh_wow_ 4 points 3 years ago

I joined sh.itjust.works because of the name, but it seems to run pretty well.

path: 0 101603 102149 139449, hotness: undefined, score: 4, children: 0
furrowsofar 1 point 3 years ago

For what it is worth, I looked at sh.itjust.works . Reason I choose beehaw.org was they were more local, and had more local content and users. Plus the server focus and values seemed to fit me better. Yes their domain is a bit odd but that was not a factor for me.

path: 0 101603 102149 178984, hotness: undefined, score: 1, children: 0
RetroEvolute 51 points 3 years ago

I originally signed up with sh.itjust.works, but I wanted to be on the instance with the majority of migrants.

Also, it sounds dumb, but I think the sh.itjust.works domain is just kinda weird, technically has a "curse word" in it (not that I personally care), and they don't support NSFW content (which isn't just used for porn). So, it didn't make sense to have that as my home instance. πŸ€·β€β™‚οΈ

Edit: Also, this is my first comment on here! Hello world! πŸ‘‹

path: 0 101603 102126, hotness: undefined, score: 51, children: 2
PriorProject 15 points 3 years ago

Yeah, I get it. Naming optics aside, it seems an instance with a lot of headroom relative to others, with a capable team. Would be near the top of my word-of-mouth options in spite of the idiosyncratic name.

path: 0 101603 102126 102593, hotness: undefined, score: 15, children: 1
liontigerwings 3 points 3 years ago

It's been running a little slow today though so maybe not as much headroom as you think

path: 0 101603 102126 102593 109050, hotness: undefined, score: 3, children: 0
ClassyHatter 40 points 3 years ago path: 0 101603 102109, hotness: undefined, score: 40, children: 0
Master 32 points 3 years ago

Can confirm... I didnt sign up for sh.itjust.works solely because of the name... I dont particularly want that attached to every post I make.

path: 0 101603 108310, hotness: undefined, score: 32, children: 3
lift 6 points 3 years ago

Agreed. I have no idea what I’m doing, but lemmy.world sounded inviting - thus, I’m here.

path: 0 101603 108310 120019, hotness: undefined, score: 6, children: 0
_haha_oh_wow_ 2 points 3 years ago

Guess we're just different kinds of people...

path: 0 101603 108310 139494, hotness: undefined, score: 2, children: 0
morrowind 1 point 3 years ago

Hah, you should have seen the wolfballs instance

path: 0 101603 108310 139057, hotness: undefined, score: 1, children: 0
wheen 15 points 3 years ago

Can none of this scale horizontally? Every mention of scaling has been just "throw a bigger computer at it".

We're already running into issues with the bigger servers being unable to handle the load. Spinning up entirely new instances technically works, but is an awful user experience and seems like it could be exploited.

path: 0 101603 111514, hotness: undefined, score: 15, children: 1
PriorProject 43 points 3 years ago

It's important to recall that last week the biggest lemmy server in the world ran on a 4-core VM. Anybody that says you can scale from this to reddit overnight with "horizontal scaling" is selling some snake oil. Scaling is hard work and there aren't really any shortcuts. Lemmy is doing pretty well on the curve of how systems tend to handle major waves of adoption.

But that's not your question, you asked if Lemmy can horizontally scale. The answer is yes, but in a limited/finite way. The production docker-compose file that many lemmy installs are based on has 5 components. From the inside out, they are:

  • Postgres: The database, stores most of the data for the other components. Exposes a protocol to accept and return SQL queries and responses.
  • Lemmy: The application server, exposes websockets and http protocols for lemmy clients... also talks to the db.
  • Lemmy-ui: Talks to Lemmy over websockets (for now, they're working to deprecate that soon) and does some fancy dynamic webpage construction.
  • Nginx: Acts as a web proxy. Does https encryption, compression over the wire, could potentially do some static asset caching of images but I didn't see that configured in my skim of the config.
  • Pict-rs: Some kind of image-hosting server.

So... first off... there's 5 layers there that talk to each other over the docker network. So you can definitely use 5 computers to run a lemmy instance. That's a non-zero amount of horizontal scaling. Of those layers, I'm told that lemmy and lemmy-ui are stateles and you can run an arbitrary number of them today. There are ways of scaling nginx using round-robin DNS and other load-balancing mechanisms. So 3 out of the 5 layers scale horizontally.

Pict-rs does not. It can be backed by object storage like S3, and there are lots of object storage systems that scale horizontally. But pict-rs itself seems to still need to be a single instance. But still, that's just one part of lemmy and you can throw it on a giant multicore box backed by scalable object storage. Should take you pretty far.

Which leaves postgres. Right now I believe everyone is running a single postgres instance and scaling it bigger, which is common. But postgres has ways to scale across boxes as well. It supports "read-replicas", where the "main" postgres copies data to the replicas and they serve reads so the leader can focus on handling just the writes. Lemmy doesn't support this kind of advanced request routing today, but Postgres is ready when it can. In the far future, there's also sharding writes across multiple leaders, which is complex and has its downsides but can scale writes quite a lot.

All of which is to say... lemmy isn't built on purely distributed primitives that can each scale horizontally to arbitrary numbers of machines. But there is quite a lot of opportunity to scale out in the current architecture. Why don't people do it more? Because buying a bigger box is 10x-100x easier until it stops being possible, and we haven't hit that point yet.

path: 0 101603 111514 115131, hotness: undefined, score: 43, children: 0
Druidgrove 14 points 3 years ago

I'm now going to start incorporating "Sounds like clowntown" into my everyday conversations - that's funny!

path: 0 101603 113790, hotness: undefined, score: 14, children: 3
XTL 4 points 3 years ago

Mind you, it can sound a lot like clown world which is a phrase Nazis and other groups against progress love to use.

path: 0 101603 113790 120676, hotness: undefined, score: 4, children: 1
sweetholymosiah 1 point 3 years ago

"clown world" was at least initially a reference to how the CIA meddles in the affairs of the world (Clowns In America).

path: 0 101603 113790 120676 176731, hotness: undefined, score: 1, children: 0
PriorProject 3 points 3 years ago

Quit clowning around.

path: 0 101603 113790 115545, hotness: undefined, score: 3, children: 0
darkwing_duck 13 points 3 years ago

That's actually awesome for users of sh.itjust.works. Like myself.

path: 0 101603 102257, hotness: undefined, score: 13, children: 0
tigerdactyl 13 points 3 years ago

I’ve been having issues registering for lemmy.world so I went with sh.itjust.works and it’s been great so far

path: 0 101603 116932, hotness: undefined, score: 13, children: 2
RisingSwell 6 points 3 years ago

I had issues trying for lemmy.world yesterday, but it worked fine today. I just waited a day because I figured between upgrades and a massive influx of new users it was probably gonna be a bit unstable sometimes.

path: 0 101603 116932 120407, hotness: undefined, score: 6, children: 1
tigerdactyl 1 point 3 years ago

Yeah I’m being patient, I can’t imagine the stress the hardware and humans behind all this are under. I did get my lemmy.world account registered eventually. Not sure what server to call home yet!

path: 0 101603 116932 120407 138511, hotness: undefined, score: 1, children: 0
WaffleFriends 12 points 3 years ago

I had a very similar thought process when choosing my instance. lemmy.world seemed like it would be more open to new users than an instance named sh.itjust.works. Idk why that was my thought process but I’m here now

path: 0 101603 102340, hotness: undefined, score: 12, children: 0
StrayPizza 10 points 3 years ago

I hope lemmy.ml can upgrade at some point. A lot of the slowness I'm running into is trying to browse/discovery communities that happen to live on that instance.

path: 0 101603 101800, hotness: undefined, score: 10, children: 0
maltfield 8 points 3 years ago

Right, but if you don't have a cache setup, then the DB gets taxed. At a certain point a cache looses its benefit, but an enormous amount of savings can be made (to backend DB calls, for example) by just caching all API reads for ~60 seconds.

path: 0 101603 101664, hotness: undefined, score: 8, children: 11
andrew 9 points 3 years ago

Ensuring there's no data leakage in those cached calls can be tricky, especially if any api calls return anything sensitive (login tokens, authentication information, etc) but I can see caching all read-only endpoints that return the same data regardless of permissions for a second or two being helpful for the larger servers.

It's also worth noting that postgres does its own query-level caching, quite aggressively too. I've worked in some places where we had to add a SELECT RANDOM() to a query to ensure it was pulling the latest data.

path: 0 101603 101664 101752, hotness: undefined, score: 9, children: 10
maltfield 5 points 3 years ago

In my experience, the best benefits gained from caching are done before the backend and are stored in RAM, so the query never even reaches those services at all. I've used varnish for this (which is also what the big CDN providers use). In Lemmy, I imagine that would be the ngnix proxy that sits in-front of the backend.

path: 0 101603 101664 101752 101891, hotness: undefined, score: 5, children: 9
PriorProject 3 points 3 years ago

I haven't heard admins discussing web-proxy caching, which may have something to do with the fact that the Lemmy API is currently pretty much entirely over websockets. I'm not an expert in web-sockets, and I don't want to say that websockets API responses absolutely can't be cached... but it's not like caching a restful API. They are working on moving away from websockets, btw... but it's not there yet.

The comments from Lemmy devs in https://github.com/LemmyNet/lemmy/issues/2877 make me think that there's a lot of database query optimization low-hanging fruit to be had, and that admins are frequently focusing on app configs like worker counts and db configs to maximize the effectiveness of db-level caches, indexes, and other optimizations.

Which isn't to say there aren't gains in the direction your suggesting, but I haven't seen evidence that anyone's secret sauce is in effective web-proxy caches.

path: 0 101603 101664 101752 101891 102352, hotness: undefined, score: 3, children: 8
pomi 7 points 3 years ago path: 0 101603 134103, hotness: undefined, score: 7, children: 0
isosphere 6 points 3 years ago

sh.itjust.works

on paper i'd be on this instance but the name is quite terrible and gives me little confidence in the administration

path: 0 101603 102333, hotness: undefined, score: 6, children: 0
skullgiver 73 points 3 years ago
path: 0 116298, hotness: undefined, score: 73, children: 9
AndreTelevise 9 points 3 years ago

Having to seperate kbin from the rest of the fediverse is really limiting, and makes the experience more fractured.

path: 0 116298 128169, hotness: undefined, score: 9, children: 1
skullgiver 11 points 3 years ago
path: 0 116298 128169 128184, hotness: undefined, score: 11, children: 0
bradv 2 points 3 years ago

Kbin is (slightly) better looking though.

path: 0 116298 145504, hotness: undefined, score: 2, children: 3
skullgiver 3 points 3 years ago
path: 0 116298 145504 151549, hotness: undefined, score: 3, children: 2
sneakattack 2 points 3 years ago

I played around with the Stylus browser extension and made a custom script with adjustments to widths, padding, font sizes, line heights, etc and Lemmy started to feel a lot better and more familiar. I'm sure there are really talented people working on ideas to make it better.

path: 0 116298 145504 151549 156359, hotness: undefined, score: 2, children: 1
CorruptBuddha 1 point 3 years ago

🀞 Can't wait to see how things develop!

path: 0 116298 145504 151549 156359 186602, hotness: undefined, score: 1, children: 0
CorruptBuddha 1 point 3 years ago

Does anyone have any recommendations for where you could host a cheap instance? Under 100 users?

path: 0 116298 186411, hotness: undefined, score: 1, children: 2
skullgiver 5 points 3 years ago
path: 0 116298 186411 193609, hotness: undefined, score: 5, children: 1
CorruptBuddha 1 point 3 years ago

Friggen excellent reply! Thank you! Saving this!

path: 0 116298 186411 193609 200644, hotness: undefined, score: 1, children: 0
neighbourbehaviour 61 points 3 years ago

It's known in the industry as the throw-hardware-at-it optimization. It's often effective and what's needed to buy time for software optimization to come in.

path: 0 132912, hotness: undefined, score: 61, children: 2
OsrsNeedsF2P 23 points 3 years ago

As someone who got burnt out on one of their last businesses due to optimizing too early - Yes!!!

Doing it "properly" with "stateless servers" and "autoscaling" with "Kubernetes" costs a hell of a lot more money than a 64 Core server with 256 GB of RAM

path: 0 132912 151429, hotness: undefined, score: 23, children: 1
Atemu 6 points 3 years ago

Completely OT but it's so nice to recognise usernames you've often seen around your "neighbourhood" on Reddit.

path: 0 132912 151429 170068, hotness: undefined, score: 6, children: 0
MasterBlaster 45 points 3 years ago

Talk about dumb luck! I chose this server (apparently 2 days after launch) because docmentation suggested choosing a less populated server to spread the load. Now I'm on one of the biggest and most stable. Me so happy!

path: 0 128958, hotness: undefined, score: 45, children: 4
atlasraven31 12 points 3 years ago

I didn't choose this server but I can still join and post. Greetings from Lemm.ee!

path: 0 128958 140333, hotness: undefined, score: 12, children: 0
Jeom 6 points 3 years ago

I chose this server at complete random(I didn't even understand the multiple servers thing). me so happy too

path: 0 128958 137562, hotness: undefined, score: 6, children: 0
Kuma 4 points 3 years ago

Same, it felt funny when I heard we had went up to fast in numbers the other day. But I won't switch I like our admin and how he takes care of this instance

path: 0 128958 137321, hotness: undefined, score: 4, children: 0
darknightfggot -11 points 3 years ago
path: 0 128958 133368, hotness: undefined, score: -11, children: 0
netburnr 40 points 3 years ago

He has been posting updates along the way. It's a combo of upgrading the server as it hits its limits and tuning of his web proxy and docker container to handle the increased load and federation requirements.

Been doing an amazing job of it too. I just randomly chose this instance and I'm glad.

Edit. Here is his last post https://lemmy.world/post/75556

path: 0 101288, hotness: undefined, score: 40, children: 0
andrew 16 points 3 years ago

Likely experience and knowledge improving the quality of deployment. Most instances are likely underspecced, are on hosts that aren't easy to scale up with, or are maxed out in their current offering tier (lemmy.ml comes to mind there)

path: 0 101270, hotness: undefined, score: 16, children: 7
maltfield 6 points 3 years ago

I wouldn't be surprised if it has more to do with caching than throwing hardware at it.

path: 0 101270 101333, hotness: undefined, score: 6, children: 6
andrew 10 points 3 years ago

Looking at ruud's post, he moved the instance to a pretty beefy server - it sounds like a large part of the stability is coming from overestimating performance requirements.

path: 0 101270 101333 101480, hotness: undefined, score: 10, children: 5
mo_ztt 9 points 3 years ago

* correctly estimating

πŸ™‚

path: 0 101270 101333 101480 102013, hotness: undefined, score: 9, children: 4
314xel 2 points 3 years ago

Correct. Lemmy is a monolithic application, so there's only so much a server upgrade can do.

path: 0 101270 101333 101480 102013 102127, hotness: undefined, score: 2, children: 3
wilberfan 12 points 3 years ago

Just subscribed at Patreon to support the cause! πŸ‘

path: 0 102048, hotness: undefined, score: 12, children: 0
Hiyoi 2 points 3 years ago

Should be even better following the recent server migration

path: 0 108215, hotness: undefined, score: 2, children: 0
lemmyworld
lemmyworld

@lemmy.world

login for more options
31279
770
44

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages πŸ”₯

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations πŸ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

go to feed...