941
submitted 2 years ago* (last edited 2 years ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world

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)

top 50 comments
sorted by: hot top controversial new old
[-] ulu_mulu@lemmy.world 123 points 2 years ago

Sorry for those

It's not your fault :) We know you admins are working really hard to keep the server as stable as possible.

[-] JuvenoiaAgent@lemmy.ca 41 points 2 years ago

Don't humanize them, they'll expect us to always treat them with respect! /s (obvs πŸ™„)

[-] zkfcfbzr@lemmy.world 67 points 2 years ago
  • 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.

[-] GONADS125@lemmy.world 63 points 2 years ago* (last edited 2 years ago)

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.

[-] antik@lemmy.world 50 points 2 years ago
[-] ruud@lemmy.world 19 points 2 years ago

Thanks, added to the post

[-] RustedSwitch@lemmy.world 39 points 2 years ago
[-] ruud@lemmy.world 22 points 2 years ago

Thanks, will put this in the post

[-] quaddo@reddthat.com 18 points 2 years ago

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.

[-] ruud@lemmy.world 9 points 2 years ago
[-] TheBananaKing@lemmy.world 5 points 2 years ago

Even better is "when this post is N hours old" :)

load more comments (1 replies)
[-] cerberus@lemmy.world 34 points 2 years ago

Great! Thanks for keeping things up to date and running!

[-] randint@feddit.nl 31 points 2 years ago

Minor suggestion: write your time zones like UTC+2 and not CEST. I'm pretty sure most people outside Europe don't know what the time zone CEST is. Yes, you provided a link that helpfully converts the time to the users' local time zone, but sometimes it's nicer to be able to know something without having to click into a link.

[-] ruud@lemmy.world 22 points 2 years ago
[-] randint@feddit.nl 18 points 2 years ago

Wow, you actually changed it! I was kind of shocked when I came back to my feed seeing UTC+2 in the title. Thanks! :D

[-] ruud@lemmy.world 21 points 2 years ago

Yep, I like good tips like these. :-) Thanks

[-] ydieb@lemmy.world 7 points 2 years ago

Super nitpick. Can we just use 1800 utc? Then everyone can convert to their zone directly. *signed me in a CEST zone.

load more comments (2 replies)
load more comments (2 replies)
[-] AlmightySnoo@lemmy.world 22 points 2 years ago

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?

[-] miket@lemmy.world 22 points 2 years ago* (last edited 2 years ago)

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 to handle more users at the same performance.

More importantly; they may help 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.

load more comments (4 replies)
[-] miket@lemmy.world 10 points 2 years ago

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.

[-] ren@lemmy.world 21 points 2 years ago* (last edited 2 years ago)

Thank you for the heads up!!

2pm EST for us silly Freedum Unit folks.

[-] cybervseas@lemmy.world 10 points 2 years ago
[-] ren@lemmy.world 10 points 2 years ago

oh yeah, forgot about that. Could've just put ET.

[-] egeres@lemmy.world 14 points 2 years ago

Thanks to you and all the dev team behind this β€πŸ™‡πŸ»β€β™‚οΈ

[-] iforgotmyinstance@lemmy.world 11 points 2 years ago
[-] curryandbeans@lemmy.world 10 points 2 years ago

Thanks for all the fine work, dudes

[-] UnaSolaEstrellaLibre@lemmy.world 10 points 2 years ago

Really liking the transparency with the community over how the server is doing.

Great work.

[-] aquinteros@lemmy.world 8 points 2 years ago

the best server! thank you

[-] Cold_Brew_Enema@lemmy.world 8 points 2 years ago

How do you turn on endless scrolling? I'm still seeing page numbers

[-] SportingChap@lemmy.world 5 points 2 years ago

Number 1 thing I miss from reddit w/ RES. 😫

[-] drdabbles@lemmy.world 8 points 2 years ago* (last edited 2 years ago)

Infinite scroll and word filtering. If I see one more post about "AI", Musk, Twitter, or fake superconductors, I might have to get off the computer for 10 whole minutes.

[-] kazerniel@lemmy.world 5 points 2 years ago

I want to be able to ban/hide entire servers. Regularly seeing lemmynsfw celebrity communities pop up in All/Hot :| (I have nsfw disabled, so it's just generic photos of random women.)

Also an option would be nice to hide downvoted posts, I had that on in RES.

load more comments (7 replies)
[-] AlexisFR@jlai.lu 5 points 2 years ago

Post hiding would be great to have.

load more comments (1 replies)
load more comments (1 replies)
load more comments (5 replies)
[-] ghariksforge@lemmy.world 7 points 2 years ago
[-] afoutopatisa@lemmy.world 7 points 2 years ago

Any idea if 18.3 will be able to provide more security?

[-] phoenix591@lemmy.phoenix591.com 12 points 2 years ago* (last edited 2 years ago)

in some ways: they now sanitize input so things like the xss attack a while ago is much much harder.

will it solve the ddos attacks they're experiencing? nope.

load more comments (1 replies)
[-] woelkchen@lemmy.world 7 points 2 years ago
[-] NatoBoram@lemm.ee 5 points 2 years ago

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%. Special thanks to @phiresky for their work on DB optimizations.

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.

In terms of security, Lemmy now performs HTML sanitization on all messages which are submitted through the API or received via federation. Together with the tightened content-security-policy from 0.18.2, cross-site scripting attacks are now much more difficult.

[-] NausetJF@lemmy.world 7 points 2 years ago

Any idea who might be launching the ddos attacks?

load more comments (4 replies)
[-] OutrageousUmpire@lemmy.world 7 points 2 years ago

Thanks as usual for the transparency, y’all.

[-] bamboobam@lemmy.world 6 points 2 years ago

Smooth! Curious about the new DB size

[-] ruud@lemmy.world 21 points 2 years ago

Down from 12GB to 1.8GB....

[-] sv1sjp@lemmy.world 6 points 2 years ago

Wow, thats awesome for the backups and scalability!!

[-] ruud@lemmy.world 7 points 2 years ago

Me too. Creating a db dump now..

[-] woelkchen@lemmy.world 5 points 2 years ago

Will calckey.world be renamed as well, as upstream abandoned the calckey name?

[-] ruud@lemmy.world 6 points 2 years ago

Not renamed. A new server will be started where ppl can migrate to. Yet to determine a new name as firefish.world is taken..

load more comments (9 replies)
[-] Godnroc@lemmy.world 4 points 2 years ago

A website which should let you check what time that is for your local time zone; although I used Central Europe Summer Time (CEST) instead of Central Europe Time (CET) and I'm not sure if that's right.

load more comments
view more: next β€Ί
this post was submitted on 30 Jul 2023
941 points (100.0% liked)

Lemmy.World Announcements

30477 readers
1 users here now

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

founded 2 years ago
MODERATORS