this post was submitted on 30 Sep 2023
101 points (99.0% liked)

Programming

17398 readers
144 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
101
Lemmy 0.19 updates (self.programming)
submitted 1 year ago* (last edited 1 year ago) by Reader9 to c/programming
 

https://programming.dev/post/3666732

Change log for upcoming Lemmy version 0.19.0 I am just reposting this from the original post: https://lemmy.ml/post/5711722.

It’s interesting to see this for the software we’re all using and it makes me want to learn a bit more about the architecture. Quite a few user-facing features and some backend improvements. For example:

Outgoing Federation Queue The federation queue has been rewritten to be much more performant and reliable. This is irrelevant for client developers, but admins should look out for potential federation problems. If you run multiple Lemmy backends for horizontal scaling, be sure to read the updated documentation and set the new configuration parameters. The Troubleshooting section has information about how to find out the state of the federation queues.

https://github.com/LemmyNet/lemmy/pull/3605

top 5 comments
sorted by: hot top controversial new old
[–] Reader9 23 points 1 year ago (2 children)

Time zones are an endless source of frustration, this one doesn’t sound too bad though:

Going forward, all timestamps in the API are switching from timestamps without time zone (2023-09-27T12:29:59.113132) to ISO8601 timestamps (e.g. 2023-10-29T15:10:51.557399+01:00 or Z suffix). In order to be compatible with both 0.18 and 0.19, parse the timestamp as ISO8601 and add a Z suffix if it fails (for older versions).

https://github.com/LemmyNet/lemmy/pull/3496

[–] [email protected] 14 points 1 year ago

Yup, that makes total sense. Kind of surprising they didn't have the TZ on there in the first place but it happens.

[–] [email protected] 8 points 1 year ago

Well, time to post that Tom scott video again I guess.

https://www.youtube.com/watch?v=-5wpm-gesOY&t=6

[–] [email protected] 15 points 1 year ago (1 children)

Neat. IIRC lemmy.world is running a ton of backends in parallel for performance, nice to see that it's been taken into consideration by the devs 😁

[–] Reader9 3 points 1 year ago

Agreed. My copy lost this documentation link in the original which gives more detail about the horizontal scaling: https://join-lemmy.org/docs/administration/horizontal_scaling.html.

It seems really straightforward (which is a good thing), each backend Lemmy_server handles incoming requests and also pulls from a shared queue of other federation work.