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

Meta (lemm.ee)

3592 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!

(page 2) 39 comments
sorted by: hot top controversial new old
[–] RoundSparrow@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

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

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

[–] ComputerSagtNein@lemm.ee 1 points 1 year ago

Yay lemm.ee is back <3

[–] tryagain@lemm.ee 1 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 ❤️

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

How much of the slowdown was caused by the bad instance VS the limitations of the previous hardware?

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

The DoS was responsible for about 10-20% increased load on our system - it wasn't the root cause of the slowdowns, it was more like a nice cherry on top of the cake 😅 The bigger issue is the constantly increasing federation load.

[–] MrEUser@lemmy.ninja 1 points 1 year ago (1 children)

I don’t mean to grossly oversimplify… But does this mean it’s time to upgrade to 0.18.1?

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

You are a freaking hero!

[–] alternate@lemm.ee 1 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!

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

How can I donate? I want to help!

[–] LettuceTurnipTheBeet@lemm.ee 1 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 1 points 1 year ago* (last edited 1 year ago) (1 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.

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

Is there a way to manually trigger a sync or so?

Seeing other reply to you on another instance, and not being able to respond because those replies aren’t on lemm.ee is very frustrating.

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

There is: if your search for the full URL of the source post or comment on lemm.ee, then a sync will be attempted.

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

Thank you for operating this instance!

I hope you are tracking some dollar amount for your time as well. Even if you’re not actually taking any pay it would be good to have a sense of labor as a component of a thing’s upkeep cost.

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

Love the instance and all your transparency! Keep up the good work. Heading over to the donation link now! I'm so stoked to be off of reddit for good.

[–] LittleAxe@lemm.ee 1 points 1 year 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 1 year 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)

load more comments (1 replies)
[–] RoundSparrow@lemm.ee 1 points 1 year 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.

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

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

[–] vamp07@lemm.ee 1 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.

[–] cuantar@lemm.ee 1 points 1 year ago

I joined this instance after reading this post. My inclination is to operate my own instance; but it seems best to wait until some of the dust settles and some of the bugs get discovered and fixed, first. The admins here seem capable of doing just that, while providing a stable platform.

[–] choquel@lemm.ee 1 points 1 year ago

thank you king

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

[–] Illumilux@beehaw.org 1 points 1 year 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.

[–] abbadon420@lemm.ee 1 points 1 year ago

Same here. Lurker for weeks, subscriber for hours

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

Thank you very much!!

[–] iraq_lobster@lemm.ee 0 points 1 year ago (1 children)

roll ads, dont hesitate. u have my blessing.

[–] jackattackson@lemm.ee 1 points 1 year ago

I'd rather increase my monthly donation to support lemm.ee on GitHub than see ads here

load more comments
view more: ‹ prev next ›