hhmx.de

Michael Stanclift

Michael Stanclift (@vmstan@vmst.io)

Föderation EN Sa 13.07.2024 03:57:19

Tooting my own horn — My latest work on the Mastodon container image got a mention in the recent Mastodon Engineering
blog post. blog.joinmastodon.org/2024/07/

Between this work and some earlier changes, the container image for 4.3 is less than half the size of the 4.2 container (1.56 GB to 700 MB) and the optimized libvips configuration had a noticeable reduction of CPU usage for image processing compared to ImageMagick.

Screenshot of Mastodon blog post.
PERFORMANCE
'libvips' support has been
merged! ImageMagick is still available, but
we plan to switch the default to 'libvips' in
the next version, then remove ImageMagick
support. "libvips' > 8.13 is required, and
our official container images uses
"libvips' out of the box - @ PR #30090
(by gargron)
CONTAINER
'libvips' and ' ffmpeg' are
now built from source in our official
container image, allowing us to use just the
dependencies we need and to use the latest
version, removing several hundred
megabytes from the image. Those versions
are also automatically tracked by Renovate,
to ensure we update them. — @ PR #30571
(by vmstan) - @ PR #30569 (by vmstan)

Graph of CPU utilization showing reduction from about peaks of 20% through the day down to 10% for image processing after implementing libvips

(Medien: 2)

Kyle Hughes

Kyle Hughes (@kyle@mister.computer)

Föderation EN Sa 13.07.2024 04:02:57

@vmstan Wow, thank you, anything to reduce CPU usage is so valuable, especially with image processing. I can take down my instance sometimes uploading a photo.

JL Johnson :veri_mast:

JL Johnson :veri_mast: (@User47@vmst.io)

Föderation EN Sa 13.07.2024 04:45:24

@vmstan I don’t know what any of this means but it’s pretty awesome that someone I know is helping to build something I love

clifff

clifff (@clifff@shakedown.social)

Föderation EN Sa 13.07.2024 05:22:08

@vmstan a very appreciated improvement! needing to clean up old containers due is common on our vm

Deren

Deren (@eldiablopotato@vmst.io)

Föderation EN Sa 13.07.2024 06:20:36

@vmstan Congrats man, thank you again for the hard work behind the scenes.

Maikel  🇪🇺

Maikel 🇪🇺 (@maikel@vmst.io)

Föderation EN Sa 13.07.2024 08:57:37

@vmstan well done Michael

Luk

Luk (@Luk@mamot.fr)

Föderation EN Sa 13.07.2024 09:57:28

@vmstan @renchap « The grouped notifications backend has been merged. This is still experimental » 😍

Andy Piper

Andy Piper (@andypiper@macaw.social)

Föderation EN Sa 13.07.2024 14:18:49

@vmstan we really appreciate all the support and help you offer, and these kinds of efforts ripple out to so many people across the community! 🙏🏻