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 https://www.dragonflydb.io/blog/dragonfly-new-sorted-set).
Additional bonus: they provide a K8s operator, with built-in HA
=> More informations about this toot | More toots from renchap@oisaur.com
@renchap I appreciate the way dragonflydb provides HA using the operator. Works well enough
=> More informations about this toot | More toots from dustinrue@chateaude.luxe
@renchap сс @mo
=> More informations about this toot | More toots from drq@mastodon.ml
@renchap
Is Redis support going to be removed?
=> More informations about this toot | More toots from Lafiel@my.elven.pw
@Lafiel No? Dragonfly speaks the Redis protocol, so this is transparent to Mastodon
=> More informations about this toot | More toots from renchap@oisaur.com
@renchap
Currently, only the older version of DragonflyDB is supported on the NixOS operating system.
=> More informations about this toot | More toots from Lafiel@my.elven.pw This content has been proxied by September (ba2dc).Proxy Information
text/gemini