this post was submitted on 30 Jun 2023
634 points (100.0% liked)

Meta (lemm.ee)

36 readers
1 users here now

lemm.ee Meta

This is a community for discussion about this particular Lemmy instance.

News and updates about lemm.ee will be posted here, so if that's something that interests you, make sure to subscribe!


Rules:


If you're a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K

Discord is only a back-up channel, !meta@lemm.ee will always be the main place for lemm.ee communications.


If you need help with anything, please post in !support instead.

founded 1 year ago
MODERATORS
 

Hey lemmings!

I wanted to share a quick update about our recent performance issues and how I have addressed them.

The last 24h have been a bit rough for lemm.ee.

Last night, I spent some time debugging federation issues with lemmy.world. We managed to significantly improve the situation - lemmy.world content is now reaching lemm.ee with a very high success rate - but this has had the effect of increasing incoming federation traffic on our servers significantly.

Additionally, we have been seeing steadily increasing normal user traffic over the past week, which is awesome from a community standpoint, but of course means that our servers have to do more work to keep up with all the new people.

To top things off, today there appeared a badly configured instance in the network, which was effectively launching a DoS attack against lemm.ee for several hours. Most likely it was unintentional, but unfortunately the end result was a sudden increase in our server load.

All these factors combined resulted in a really bad experience for most lemm.ee users today. Page load times have consistently been spiking into as much as 10 seconds or more for the whole day:

In fact, a lot of page loads just timed out with errors.

Fortunately, it seems I have managed to clear up the problems!

I have put a bunch of mitigations in place, and after monitoring the situation for the past hour, it seems that our performance issues have been resolved for now. So hopefully, you can enjoy browsing lemm.ee again without it feeling like torture!

Here are specific steps I took:

  • I have doubled the hardware resources for our backend servers and database.
  • I purchased a Cloudflare pro subscription for lemm.ee for 1 year. This took out a considerable chunk of my budget for lemm.ee, but in return it will allow me to analyze and optimize our cache usage to a far greater extent. I am already seeing vastly reduced load times for cacheable content (try opening https://lemm.ee a few times in a row as a logged out user - it should be blazing fast now!)
  • I have configured a rate limiter which will prevent future DoS from the specific method that was used against us today.

Of course, all of the above is costly. Luckily, lemm.ee users have been very generous with donations in the month of June, and in fact a significant amount of donors have opted for monthly recurring contributions. This all gives me the confidence to increase our spending for now, and I am currently expecting to NOT increase my personal planned contribution of 150€/month, as the increased costs so far are entirely being covered by donations!

Let me take this opportunity to thank the sponsors who made the upgrades possible! All lemm.ee users are now enjoying better performance thanks to you, I could not have done it without you awesome people.

On a final note, I just want to say that I hope a lot of these issues can be solved by optimizations in Lemmy software itself in the future. I have been personally contributing several optimizations to the Lemmy codebase, and I know many others are focused on optimizations as well. Just throwing extra resources at the problem will probably not be a sustainable solution for very long πŸ˜…. But I am optimistic that we are moving in the right direction with the software changes, and we'll be enjoying reduced resource needs before long.

That's all I wanted to share today, I wish you all a great weekend!

top 50 comments
sorted by: hot top controversial new old
[–] Mogofwin@lemm.ee 51 points 1 year ago

What a phenomenal response. Every single day makes me happy that I chose lemme.ee as my home instance. Truly appreciate all of the hard work you are pouring into this. And we can see how difficult it is based off of your total transparency. Thank you!

[–] Beaupedia@lemm.ee 29 points 1 year ago (1 children)

I'm brand new, this is my first comment. Thanks for your work! Where can we donate to this instance?

[–] DjMeas@lemm.ee 23 points 1 year ago (1 children)

I just signed up for a monthly donation to keep things running using their GitHub sponsorship page: http://github.com/sponsors/sunaurus

Love this community!

load more comments (1 replies)
[–] Navarian@lemm.ee 18 points 1 year ago (1 children)

Been browsing for a few days, decided to set up shop here, so to speak, upon seeing this.

Great work with this.

load more comments (1 replies)
[–] AstralWeekends@lemm.ee 18 points 1 year ago

I hope years from now you get to look back on these times as the beginning of something great not only for you, but also for the future of social media on the internet. Your dedication to this project has been admirable, and you are absolutely crushing it.

[–] thurstylark@lemm.ee 18 points 1 year ago

Yo, I'm a simple Reddit refugee, just trying to figure out how to make my way in the fediverse, and I signed up to lemm.ee not long after this post went up. I honestly chose this instance on a whim, and after a bit of exploring and learning about how Lemmy works, boy does this post make me glad I landed here!

Thanks for running this instance, and for housing us reddit noobs :)

[–] Comment105@lemm.ee 13 points 1 year ago* (last edited 1 year ago) (1 children)

I have to admit I don't really understand what you do, but I see some of your activities and I'm left feeling very impressed.

I'm not sure exactly what's necessary to make this site and these federations actually turn into a fully fledged alternative and perhaps even a successor to "the old country", and what mistakes to avoid becoming what made it turn worse. (I probably shouldn't even involve myself in figuring that out.)

I am however sure that I am seeing you do a lot to make sure lemm.ee even has a chance. There is a lot of stuff blooming on here.

[–] Cubes@lemm.ee 12 points 1 year ago

As a software engineer, this post convinced me to sign up for lemm.ee. So far it's the most stable instance I've tried. I've seen a lot of questionable technical choices and messaging from other larger instances, but it seems like we're in good hands here

[–] rm_dash_r_star@lemm.ee 12 points 1 year ago* (last edited 1 year ago)

On a side note, really liking this 0.18.1 release candidate version, the 0.18.1 official release is going to be brilliant. The new compact view is beautiful and it scales with window width nicely. They just need to drop the post header size a bit and the compact view will be perfect. This release candidate seems to be pretty solid, only seeing fixes, no new bugs.

[–] lol@lemm.ee 12 points 1 year ago (3 children)

I jumped from another instance, this one loads so much faster and has more accurate numbers on communities from other instances. Really cool stuff.

[–] EeeDawg101@lemm.ee 11 points 1 year ago (6 children)

I just joined up too after having lots of issues on lemmy.world, which is not surprising with how many people are flooding over. Someone commented about lemm.ee and I'm also really liking it. The performance difference is huge! I also love how the owner/dev talks about the instance. Seems like this will be a good one to stick with and use as primary.

I am curious about membership counts on communities though. On other instances I'll see a community member count of around 1000 and on here, it shows the (same community) is nowhere near that high. Are you saying that the lower number is more accurate? Or maybe it's a syncing issue and with all the signups happening the numbers just haven't had a chance to get caught up?

load more comments (6 replies)
[–] rm_dash_r_star@lemm.ee 7 points 1 year ago

Yeah @sunaurus@lemm.ee is really optimizing the hell out of this instance. A driver for me right now is he's running the release candidate for 0.18.1 and it's a huge improvement for me over 0.18.0. He's also a dev on the project so he's getting fixes in as well.

load more comments (1 replies)
[–] RoundSparrow@lemm.ee 11 points 1 year ago (1 children)

I have configured a rate limiter which will prevent future DoS from the specific method that was used against us today.

For those of us running other Lemmy instances, what should we be looking for?

load more comments (1 replies)
[–] tryagain@lemm.ee 11 points 1 year ago

Alrighty, I had a browse around and I've settled on lemm.ee + Jerboa and it's looking good. Thanks for all your hard work handling the influx of reddfugees like myself. This gives me hope ❀️

[–] Spzi@lemm.ee 11 points 1 year ago

Thanks for taking care, making upgrades, monitoring, fixing, contributing, and informing us so thoroughly.

Also thanks to all the donors! This is all great to hear 😊

[–] BillMurray@lemm.ee 10 points 1 year ago

I migrated a few hours ago when Apollo went down and have had a great experience so far! Nice work.

[–] alternate@lemm.ee 9 points 1 year ago

Cool! This is my first comment on Lemmy, and I'm excited to see what's in store for the future here!

[–] bool@lemm.ee 9 points 1 year ago

You are awesome man. I wanted to wait until the instance matured before committing to a monthly donation but I am signing up now. You're the best instance admin anyone can hope for. Glad to see your patch make it to 0.18

[–] bobkmertz@lemm.ee 9 points 1 year ago

Thank you @sunaurus@lemm.ee for all of your work. I am continually realizing that I chose the right instance with how transparent and responsive you have been.

[–] SJ_Zero@lemmy.fbxl.net 9 points 1 year ago

Wanted to share something from my experience running a pleroma instance: I was having an issue where postgresql was becoming more and more of my CPU utilization. It looked like I was going to have to buy a seriously upgraded server, my loads like 3-4 constantly.

I ran pg_repack during a lower traffic hour (site continued to run during the run but at reduced performance) and my loads were down by 90%, to much less than 1. Now I have it set to do a repack weekly (ymmv, it just seemed like a good frequency to me)

Haven't done it to my Lemmy server yet, but that's because of all my instances this one is the newest.

[–] DeanFogg@lemm.ee 9 points 1 year ago (3 children)

Been lurking off and on since the start of the evil reddit shenanigans. Finally set up on here using Connect. This is legit! Great job

load more comments (3 replies)
[–] ComputerSagtNein@lemm.ee 8 points 1 year ago

Yay lemm.ee is back <3

[–] varzaman@lemm.ee 8 points 1 year ago

I really appreciate how communicative you are about all the instance information. It’s what made me sign up just now!

[–] Odo@lemm.ee 8 points 1 year ago* (last edited 1 year ago) (1 children)

Not sure if this is related to the infra upgrade, but my earlier issue with not seeing all the posts in the meta community is now fixed.

[–] sunaurus@lemm.ee 11 points 1 year ago

Awesome news! I did make a small fix to a localization bug in Lemmy-ui, which was causing some people to not see posts, so it could have been that. But in any case, I'm glad it's sorted for you!

This is so awesome! Thank you for everything you've done. You continue to prove my belief that this is the best instance to be on.

[–] Bongles@lemm.ee 8 points 1 year ago

Thank you. I did notice when it got significantly faster.

[–] Azzu@lemm.ee 7 points 1 year ago (2 children)

You broke the https://lemm.ee homepage, it returns a json.

[–] LettuceTurnipTheBeet@lemm.ee 31 points 1 year ago (2 children)

It does load that JSON very quickly!

[–] xavier666@lemm.ee 12 points 1 year ago

Ah, yes, the optimist

[–] boonhet@lemm.ee 9 points 1 year ago

And really, who doesn't love json?

I mean protocol buffers might be more efficient, but json is nice and readable. Much nicer than XML for an example. And significantly more readable than protobuf!

[–] sunaurus@lemm.ee 10 points 1 year ago (1 children)
[–] Azzu@lemm.ee 7 points 1 year ago

It is, only that I had to clear the cache :)

[–] WndyLady@lemm.ee 7 points 1 year ago

I'm so grateful for your knowledge and persistence. My donation finally went through after fighting with my bank. Maybe I don't have to give up my Gen X card afterall.

[–] LettuceTurnipTheBeet@lemm.ee 7 points 1 year ago (1 children)

Definitely appreciate the improved speed, but the persistent federation issues has left me in a permanent FOMO state.

[–] sunaurus@lemm.ee 12 points 1 year ago* (last edited 1 year ago) (3 children)

I know what you mean! The good news is that there are some huge improvements for federation in 0.18.1. These improvements depend on instances at both ends being on 0.18.1, so we'll start seeing it kick in shortly as more of the network upgrades.

load more comments (3 replies)
[–] Kush@lemm.ee 7 points 1 year ago

It's feeling quite good at the moment so thank you for all your hard work.

[–] Asemundus@lemm.ee 7 points 1 year ago

Thank you for your work!

[–] vamp07@lemm.ee 7 points 1 year ago

Thanks!

I'm definitely seeing an increase in speed. I think at some point there will be a market for servers that users must pay to use. For the time being, I'm more than happy to contribute to a server that is open to all, but good speed needs to be there.

[–] thesanewriter@vlemmy.net 7 points 1 year ago

It's great to see the good work you instance admins are doing on building the infrastructure. I may have settled on a different instance, but lemm.ee seems to have a great community and I love the openness here.

[–] rm_dash_r_star@lemm.ee 7 points 1 year ago

Yeah the slowdown was a bit rough, been browsing off and on all day today. Thanks for fixing that. Seems to be working a lot better now. That's a bummer you had to increase expenses though.

[–] FarLine99@lemm.ee 7 points 1 year ago

Awesome instance. Really fast speed (compared to sh.itjust.works), there is no blocked instances/communities. Kudos❀️

[–] haroldstork@lemm.ee 7 points 1 year ago

Thank you very much!!

[–] igetzerobread@lemm.ee 6 points 1 year ago

This server is BLAAAAZING fast i love you

load more comments
view more: next β€Ί