- cross-posted to:
- france@lemmy.world
- main@feddit.de
- lemmy@lemmy.ml
- cross-posted to:
- france@lemmy.world
- main@feddit.de
- lemmy@lemmy.ml
What is Lemmy?
Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.
Major Changes
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.
Other than that, there are numerous bug fixes and minor enhancements.
Support development
@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.
If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they’ve proven to be the only way that open-source software like Lemmy can stay independent and alive.
- Liberapay (preferred option)
- Open Collective
- Patreon
- Cryptocurrency (scroll to bottom of page)
Upgrade instructions
Follow the upgrade instructions for ansible or docker. There are no config or API changes with this release.
This upgrade takes ~5 minutes for the database migrations to complete.
You may need to run sudo chown 1000:1000 lemmy.hjson
if you have any permissions errors.
If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.
well my Lemmy backups did exceed 10MB, but the 0.18.3 database optimizations brought me under 10MB again lol
11M Jul 28 22:35 bak-lemmy-2023-07-28_22.35.52.zip 8.8M Jul 28 22:39 bak-lemmy-2023-07-28_22.38.59.zip
(hosting an instance with communities but no users doesn’t need much hardware at all btw)
Willing to share any numbers? How many communities and how many resources?
there’s not a lot on there
https://lemmy.mods4ever.com/communities
10 communities, few hundreds of subs, maybe like 30 posts
unzipped storage usage:
# du -h --max-depth=2 . | sort -h 8.0K ./volumes/lemmy-ui 9.5M ./volumes/pictrs 76M ./volumes/postgres 85M . 85M ./volumes
1,4G jul 29 19:15 lemmy_dump_2023-07-29_19_01_51.sql.gz 262M jul 30 12:58 lemmy_dump_2023-07-30_12_56_35.sql.gz