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

Meta (lemm.ee)

4001 readers
2 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 2 years 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
[–] rm_dash_r_star@lemm.ee 1 points 2 years 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.

[–] LettuceTurnipTheBeet@lemm.ee 1 points 2 years ago (3 children)

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

load more comments (3 replies)
[–] LittleAxe@lemm.ee 1 points 2 years ago

Thank you very much. I've been made to feel very welcome and have joined on of the many support groups, that his helping me remove typing r/ from my muscle memory. Have a great weekend.

[–] pascal@lemm.ee 1 points 2 years ago (1 children)

To this day I have still lots of "subscribe pending" in my communities options page, especially from lemmy.ml and lemmy.world

Should I try to cancel them and redo or just wait?

https://imgur.com/a/rJEH1Di

(I cannot upload images anymore, I get a JSON error now)

[–] sunaurus@lemm.ee 1 points 2 years ago

You should be able to cancel and retry lemmy.world - there's a high chance those will go through now.

With lemmy.ml, there's a much lower chance, better to wait until they upgrade to 0.18.1.

[–] Bongles@lemm.ee 1 points 2 years ago

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

[–] Beaupedia@lemm.ee 1 points 2 years ago (2 children)

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

load more comments (2 replies)
[–] rm_dash_r_star@lemm.ee 1 points 2 years ago* (last edited 2 years 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.

[–] FrancisFeliz@lemm.ee 1 points 2 years ago (1 children)

How can I donate? I want to help!

load more comments (1 replies)
[–] BillMurray@lemm.ee 1 points 2 years ago

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

[–] Apollo_Refugee@lemm.ee 1 points 2 years ago (1 children)

I would like to see a create a sub for dummies video or post. I followed the link to create a sub, and I’m a dummy. I don’t get it. Once subs can be created easily, this community will grow much faster now that Apollo is gone. RIP

EAT my chode spez

[–] thegiddystitcher@lemm.ee 1 points 2 years ago

I've not created any communities myself, but looking at the form it seems pretty straightforward. Is there a particular field that could be better explained, or are you getting some sort of error?

[–] Spewpid@lemm.ee 1 points 2 years ago (1 children)

Thank you for using your time and resources to create this space! Reading updates on server performance in main, gives me a tingly homey feeling I haven't felt in a loooong time

[–] jackattackson@lemm.ee 1 points 2 years ago

here's to everlasting lemmy.ee tingles 🍻

[–] nanometer@lemm.ee 1 points 2 years ago

Amazing job guys!

[–] Navarian@lemm.ee 1 points 2 years 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)
[–] thurstylark@lemm.ee 1 points 2 years 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 :)

[–] lol@lemm.ee 1 points 2 years ago (7 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.

[–] rm_dash_r_star@lemm.ee 1 points 2 years 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.

[–] Maruki_Hurakami@lemm.ee 1 points 2 years ago

Same here! So far this instance has ran really smooth for me.

load more comments (5 replies)
[–] bobkmertz@lemm.ee 1 points 2 years 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.

[–] SpacemanSpiff@lemm.ee 1 points 2 years ago

You're doing a great job! Keep up the good work!

[–] RoundSparrow@lemm.ee 1 points 2 years 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?

[–] db0@lemmy.dbzer0.com 1 points 2 years ago

While a generally a good idea, this information is better shared privately

[–] andromedusgalacticus@lemm.ee 1 points 2 years ago

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.

[–] FarLine99@lemm.ee 1 points 2 years ago

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

[–] RoundSparrow@lemm.ee 1 points 2 years ago* (last edited 2 years ago)

FYI: I've been unable to reply to direct messages

"Save" just spins forever, doesn't show in sent messages.

[–] fmstrat@lemmy.nowsci.com 1 points 2 years ago (1 children)

What was the actual issue with lemmy.world? And how was that particular item solved?

[–] sunaurus@lemm.ee 1 points 2 years ago

Hey, you can check this post for more context: https://lemm.ee/post/493966

[–] haroldstork@lemm.ee 1 points 2 years ago

Thank you very much!!

[–] Asemundus@lemm.ee 1 points 2 years ago

Thank you for your work!

[–] db0@lemmy.dbzer0.com 1 points 2 years ago (2 children)

Can you tell me what you've cached? I'm not using cloudflare but I am using haproxy which has frontend caching builtin. It was next on my plan but if you share your caching setup I can try to replicate it on lemmy.dbzer0.com

load more comments (2 replies)
[–] RoundSparrow@lemm.ee 1 points 2 years ago

Beehaw upgraded too. Lemmy.ml seems to be delivering none of the messages for past few hours, it is erroring constantly for a local user.

[–] DeanFogg@lemm.ee 1 points 2 years 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

[–] Illumilux@beehaw.org 1 points 2 years ago

Connect is great, nicest app I've used for Lemmy so far. I do wish it had a way to swap instances quicker without an account, as I get the need for posters, but I don't like posting.

load more comments (2 replies)
[–] jinarched@lemm.ee 1 points 2 years ago

Once again, thank you for making this small pleasant corner of the Internet possible!

load more comments
view more: next β€Ί