Renaud Chaput's latest activity

I started playing with DragonflyDB to replace Redis as the app data storage for a Mastodon instance. Redis used 22 GB of memory, DragonflyDB uses 8.5 GB.

That's very impressive, probably in part because Mastodon uses a lot of sorted sets (for timelines) and Dragonfly stores those in a much more efficient data structure, resulting in a lot less overhead (see dragonflydb.io/blog/dragonfly-).
Additional bonus: they provide a K8s operator, with built-in HA

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

I would encourage every Fediverse software project to implement a “dead-man switch" on registrations: if nobody with moderator permissions has been active in the last week, then disable new account creation.

The Fediverse has a significant number of abandoned instances that are used by bad actors to create accounts and send spam.

We implemented this in Mastodon (github.com/mastodon/mastodon/p) and it has been highly effective.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@nateberkopec we spent many months working on this, I am glad you like it! We enabled it for everyone today on mastodon.social to ensure that it did not create perf issues and things look good so far (even if serializing the JSON takes some hundred of ms, which is not optimal but AM:S is not very efficient it seems 😞)

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@darius someone from Meta even said it in an interview that their federation work is like taking 6x more time than planned. And this is from an org with an impressive engineering level and resources we cant dream about.
@thisismissem @lkanies

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@atsemtex elle passe devant chez nous dans 1 semaine, parfait !

…See more
0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@tenderlove Thanks for the recent work on `charlock_holmes`, we depend on it for Mastodon and it was causing some pain!

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@nateberkopec thats why I love the fact that Sentry is now reporting some perf issues as errors ❤️

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

Nobody seems to have noticed it but the Mastodon project have been granted funding by @NGIZero in the Entrust fund.

This is amazing, but the best part is that this funding is targeted at implementing… Quote Posts 🎉

This effort started several months ago and we already did some preliminary work, but this will be a big feature for our next 4.4 version. This funding will cover the ActivityPub work, as well as backend, web frontend and official mobile app implementation.

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@tenderlove for Mastodon we started using security advisories to get a private fork and it improved things a little bit. At least we get a branch per version, and CI runs on them.

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@dansup yes! One more participant for the future ActivityPub room! @andypiper

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@dansup at the moment it displays the tags field from the AP message, but removing the ones already in the post content.
This will change soon to include tags from the last line of the message as well, see github.com/mastodon/mastodon/p

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@nateberkopec This is one of the topics I would like to tackle in the coming weeks for mastodon.social (and write some guideline on how to do it properly).
By any chance, would you be interested in having a quick talk about this, I am sure you have some really useful experience on the topic!

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@tenderlove You need to use Node 16 due to some of our dependencies not supporting Node 18+ (yay for the very old Webpacker/Webpack stack, hopefuly I will burn it to the ground soon)

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@dansup You want to discuss with about.iftas.org / @jaz :)

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin

@dansup @pixelfed Have you read renchap.com/blog/post/evolving on those topics? I think this could fit your vision for Pixelfed as well!

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies