Home / Companies / Dragonfly / Blog / October 2023

October 2023 Summaries

2 posts from Dragonfly

Filter
Month: Year:
Post Summaries Back to Blog
In this blog post, we discuss the construction of a real-time ad cache server using Bun, ElysiaJS, and Dragonfly. These technologies offer exceptional performance capabilities and developer experience. The ad serving platform includes two main functionalities: Ad Metadata Management and Ad User Preference Management. We demonstrate how to use the Hash data type in Dragonfly for managing advertisement details and the Set data type for storing user preferences. Additionally, we provide instructions on starting Dragonfly, cloning the example repository, installing dependencies, running the application, and interacting with the ad server API. The codebase includes key places such as client initialization, key name management, Dragonfly compatibility, and end-to-end type safety.
Oct 25, 2023 1,968 words in the original blog post.
BullMQ is a robust and fast Node.js library for background job processing using queues, with advanced features and compatibility with Redis. Dragonfly, a drop-in Redis replacement optimized for high-traffic applications, has been made fully compatible with BullMQ. By transitioning from Redis to Dragonfly as the backing store for BullMQ, developers can benefit from enhanced performance, simpler infrastructure, and significant cost reductions while maintaining familiar functionalities. Benchmark results showcase improvements in performance when using multiple queues and threads with Dragonfly's advanced multi-threaded architecture. Instructions on how to run BullMQ with Dragonfly are provided, emphasizing the importance of careful queue name planning for optimal utilization of multiple threads.
Oct 16, 2023 1,472 words in the original blog post.