
What is Redis?
Redis (Remote Dictionary Server) is an open-source, in-memory data structure store that can be used as a database, cache, and message broker.
In this day and age, performance, scalability, and data-handling efficiency are critical, Redis is the go-to choice when applications demand ultra-fast data access and operations, while still requiring the flexibility to handle diverse types of data. It can handle high-throughput data streams and provide immediate insights with low latency. Additionally, Redis can store session data in memory, offering fast access and expiration mechanisms, which makes it great for session management.
Key Features of Redis
- In-Memory Store: stores all data in memory (RAM), which allows for high-speed read and write operations
- Data Structures: supports a wide variety of data types like strings, lists, sets, sorted sets, hashes, bitmaps, and more, making it versatile for caching different kinds of data
- Persistence Options: offers options to persist data to disk, allowing recovery in case of a crash
- High Availability: Redis offers replication features with Redis Sentinel for automatic failover, making it resilient to failures. Additionally, Redis Cluster allows data partitioning across multiple nodes for scalability
- Cache: commonly used as a cache because of its speed, and it supports TTL (Time to Live) on keys, allowing them to expire automatically. It also has eviction policies like LRU (Least Recently Used) or LFU (Least Frequently Used) to manage memory efficiently
- Message Broker: Redis has built-in Pub/Sub functionality, allowing publishers to send messages to channels subscribers can listen to, making it a simple message broker system.
How to work with Redis
RedisInsight is a graphical tool for interacting with Redis, which makes it easy to visualize and manage data
1. Install Redis Insight
- Download RedisInsight: Visit the official Redis Insight download page https://redis.io/insight/#insight-form, fill in the form and once submitted the download will start and choose the version compatible with your OS (macOS, Windows, or Linux).
- Install the application by following the setup instructions for your operating system
2. Connect Redis Insight to Redis
- Click on “Add Redis Database” button
- Provide the following details
- Host: IP address or hostname where Redis is running (usually 127.0.0.1 for local Redis instances).
- Port: Default Redis port is 6379
- Database Alias: shorthand that represents a database
- Password (if enabled): Enter the Redis password if your Redis instance is secured with authentication
- Click “Add Redis Database” to add Redis Database
- Click on Database Alias to connect Redis Insight to your Redis Database

3. Explore Redis Insight Interface
Redis Insight provides several features to explore and manage your Redis data
- Browser Tab: View the entire keyspace of your Redis database. You can search, filter, and inspect keys here. Each key’s type (e.g., string, list, set, etc.) will be displayed, and you can manage data within the key (view/edit/delete).
- Workbench Tab: Write and run Redis commands directly from RedisInsight. This tab allows you to use the traditional Redis CLI with added insights and suggestions
- Analysis Tab: Get a visual overview of your Redis instance, including memory usage, CPU load, key distribution, and more. This helps in monitoring the health and performance of Redis

4. Manage data with Browser Tab
Redis Insight has a Key Browser that lets you explore the Redis keyspace:
- Key Overview: Redis Insight shows all keys and their type (string, list, set, etc.)
- Filter and Search: You can search or filter keys using patterns. This is especially useful in large datasets where you need to locate specific keys.

Viewing Key Details
Click on any key to see its details, including its value and type (String, List, Hash, Set, Sorted Set, Stream, etc.)
The details pane shows all relevant information about the key, including TTL (Time-to-Live), size, and data stored inside
Adding New Data
- Click “Add Key”
- Select the data type (e.g., String, List, Hash, Set, Sorted Set).
- Enter Key and Value
- Click “Add Key”, and it will be immediately stored in your Redis database

Editing Data
- Edit String Values: Click on a key and modify the string value directly. Then, save the changes

- Edit Lists, Sets, Hashes
- For Lists: Add or remove elements, or view individual list items
- For Hashes: Modify field-value pairs, add new pairs, or delete existing ones
- For Sets: Add or remove members, or view all current set members

- TTL (Time-to-Live): You can also modify the expiration time of keys by setting or removing TTLs
Deleting Data
- Select the Key(s) you wish to delete
- Click the Delete button in the key browser or on the details page of the selected key
- You can delete a single key or multiple keys at once by bulk-selecting them

Conclusion
Redis Insight is a tool that helps you interact with Redis through a more user-friendly graphical interface. The Browser Tab in Redis Insight is a powerful feature that provides a user-friendly way to manage your Redis data. It simplifies key operations, from searching and editing to deleting keys, without needing to use raw Redis commands. For developers and administrators, it’s an indispensable tool for maintaining, monitoring, and interacting with Redis databases
References
https://www.linkedin.com/posts/domsalvo_redisinsight-the-best-redis-gui-activity-7183487051881721856-dHBd
https://en.wikipedia.org/wiki/Redis