Using Redis in Rails Applications

Redis is an in-memory data structure store known for its speed and flexibility. It serves as a high-performance database, cache, and message broker, offering data structures such as strings, hashes, lists, sets, and sorted sets. This article covers how Rails applications use Redis for caching, sessions, background jobs and counters, how to set up Rails’ built-in Redis cache store, and when Rails 8’s database-backed defaults make Redis optional.

April 7, 2021 · Updated October 29, 2026 · 4 min · 798 words · Bá Tới

Understanding Sidekiq: A Powerful Background Job Processing Solution

In today’s web development landscape, handling background job processing efficiently has become crucial for building robust and scalable applications. Sidekiq stands out as a popular choice among developers due to its simplicity, performance, and powerful features. This article covers how it works, how to set it up in Rails, and how to tune it.

March 2, 2020 · Updated October 29, 2026 · 7 min · 1443 words · Bá Tới