Update The upgrade was done, DB migrations took around 5 minutes. We’ll keep an eye out for (new) issues but for now it seems to be OK.
Original message We will upgrade lemmy.world to 0.18.3 today at 20:00 UTC+2 (Check what this isn in your timezone). Expect the site to be down for a few minutes. ““Edit”” I was warned it could be more than a few minutes. The database update might even take 30 minutes or longer.
Release notes for 0.18.3 can be found here: https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md
(This is unrelated to the downtimes we experienced lately, those are caused by attacks that we’re still looking into mitigating. Sorry for those)
Sorry for those
It’s not your fault :) We know you admins are working really hard to keep the server as stable as possible.
Don’t humanize them, they’ll expect us to always treat them with respect! /s (obvs 🙄)
- Add controversial ranking
- Change logic for determining comment default language
- Add infinite scroll user option
Neat. I hope the comment language logic change means the default won’t be “Undetermined” anymore.
Release notes for 0.18.3 can be found here: https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md
Thanks, added to the post
I’m sure the attacks are just as annoying for you guys as they are to us, if not more. Appreciate the update.
Edit: Loving the endless scroll for the front page! I’ve been eagerly awaiting that. Such a small change, but such a big impact.
deleted by creator
OK, updating the post
deleted by creator
Yep, I like good tips like these. :-) Thanks
Super nitpick. Can we just use 1800 utc? Then everyone can convert to their zone directly. *signed me in a CEST zone.
I keep one of my spare clocks set to UTC for exactly this.
yeh, the actual utc time is much more straightforward than +2
it would be nice if Lemmy had support for formatting Unix timestamps in whatever timezone whoever is looking at it is in, like discord
The problem with open-source for me is reading ideas like this and having to deal with the frustration of not knowing how to write it myself.
Here is an alternative Piped link(s): https://piped.video/watch?v=-5wpm-gesOY
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source, check me out at GitHub.
Thanks, will put this in the post
Fwiw, it can be helpful to call out the date for such changes. Preferably in YYYY-MM-DD (ISO 8601).
While it’s helpful to link to an off-site timezone converter tool (thanks for that, btw), “today” can be a different date, depending on where in the world you are. For example, Japan, Australia, and New Zealand.
Good point
Even better is “when this post is N hours old” :)
Great! Thanks for keeping things up to date and running!
Thank you for the heads up!!
2pm EST for us silly Freedum Unit folks.
EDT actually, not EST.
oh yeah, forgot about that. Could’ve just put ET.
Phone Home
Lol. Word is the update gives a boost to smaller communities. Looking forward to this!
Thanks for all the fine work, dudes
This version brings major optimizations to the database queries, which significantly reduces CPU usage. There is also a change to the way federation activities are stored, which reduces database size by around 80%.
Is it me or is the 80% figure just insane? Are there any benchmarks to see how fast this has become versus say Lemmy 0.18.2 on a very large instance?
Funnily enough, this is the feature that can speed up the performance by doing less calls:
The federation code now includes a check for dead instances which is used when sending activities. This helps to reduce the amount of outgoing POST requests, and also reduce server load.
Is it me or is the 80% figure just insane?
Not really, you’d be surprised how often systems are bloated all because of a single option, character, etc. Most developers don’t start optimizing until much later in the software’s lifecycle. Often enough, it is easily overlooked. That’s why code reviews are needed often with fresh pair of eyes.
Just to set the expectations, reducing database size or CPU usage does not necessarily mean it is faster but it does mean there’s more free capacity on the servers with handle more users at the same speed. More importantly; they may reduce costs on the smaller indie instances that doesn’t need to buy larger server instances.
Hopefully, we’ll continue to see more of these optimizations.
Thank yuuu
Will it change the behaviour of sorting by hot? seeing post from years ago is funny
the best server! thank you
Why are these announcements the only place I am finding out the Lemmy has an update? I figured there would be more top level discussions about it on Lemmy. Maybe I am just not following the correct communities.
Each server admin decides how to publish announcements, some have a mastodon account, some have a separate website, some might post on a different Lemmy server, like [email protected], someone would likely post up there after the fact if the server is down for a while without apparent explanation.
If announcements of Lemmy releases are what you’re after, [email protected] is a place for you. But in broader picture, subsequent updates are usually just not that big of a deal.
There is an official announcement here: https://lemmy.ml/post/2540874
Really liking the transparency with the community over how the server is doing.
Great work.