Ancestors

Toot

Written by Renaud Chaput on 2024-11-21 at 20:51

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

Descendants

Written by Dustin Rue on 2024-11-21 at 20:59

@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

Written by Dr. Quadragon ❌ on 2024-11-22 at 05:16

@renchap сс @mo

=> More informations about this toot | More toots from drq@mastodon.ml

Written by Лафиэль Элентари on 2024-11-22 at 06:37

@renchap

Is Redis support going to be removed?

=> More informations about this toot | More toots from Lafiel@my.elven.pw

Written by Renaud Chaput on 2024-11-22 at 07:09

@Lafiel No? Dragonfly speaks the Redis protocol, so this is transparent to Mastodon

=> More informations about this toot | More toots from renchap@oisaur.com

Written by Лафиэль Элентари on 2024-11-22 at 16:18

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113522923124442985
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
309.970489 milliseconds
Gemini-to-HTML Time
1.575473 milliseconds

This content has been proxied by September (ba2dc).