How to Safely Store Data on Redis in a Heavy Writing System?

Learn how to safely store data on Redis in a heavy writing system by optimizing write operations, using data persistence mechanisms, and implementing data backup strategies.

July 1, 2024 · 4 min · 708 words · Bá Tới

Interact with data in Redis

In this article, we will explore the key features of Redis, a popular in-memory data store. We will discuss how Redis stores data, the different data structures it supports, and how you can interact with data in Redis using commands and client libraries.

May 12, 2024 · 5 min · 856 words · Bá Tới

RedisGears: A Serverless Engine for Redis

RedisGears is a serverless engine for Redis that allows you to run custom functions on Redis data. In this article, we will explore the features of RedisGears, how it works, and how you can use it to build serverless applications with Redis.

May 12, 2024 · 3 min · 634 words · Bá Tới

Improve Redis Performance in Ruby on Rails

Optimizing Redis performance in Ruby on Rails applications is crucial for enhancing response times and reducing latency. Learn how to improve Redis performance by implementing connection pooling, leveraging the Hiredis client library, and monitoring Redis operations.

May 1, 2024 · 4 min · 690 words · Bá Tới

Redis Performance Optimization Techniques

Redis is a high-performance, in-memory data store that is widely used for caching, session management, and real-time analytics. In this article, we explore some of the most effective techniques for optimizing Redis performance, including data modeling, key design, and configuration tuning.

March 30, 2024 · 4 min · 751 words · Bá Tới

Page caching - Implementing Page Caching in a Rails Application with Redis

Serving whole pages from a shared cache breaks Rails forms, because every visitor receives the CSRF token that was rendered for someone else. In this post, we’ll cache public pages with Rack::Cache backed by Redis and look at two ways to keep CSRF tokens working: fetching a fresh token with JavaScript from a small uncached endpoint, and a Rack middleware that injects one on the server.

August 6, 2021 · Updated October 29, 2026 · 9 min · 1714 words · Bá Tới

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