Developing with Dragonfly: Cache-Aside
What's this blog post about?
This blog post discusses implementing a caching layer in web applications using the Fiber web framework and Dragonfly as the cache store. It covers the Cache-Aside pattern, creating a cache middleware, connecting to Dragonfly, and various aspects of cache management. The advantages of using Dragonfly as a cache store are also highlighted, including memory efficiency, high throughput, and its LFRU eviction policy for higher hit ratios.
Company
Dragonfly
Date published
Aug. 30, 2023
Author(s)
Joe Zhou
Word count
2615
Language
English
Hacker News points
1