Cho developers building applications with Redis, RedisInsight là lightweight multi-platform management visualization tool giúp bạn design, develop, và optimize application capabilities trong single easy-to-use environment. RedisInsight cung cấp intuitive và efficient GUI cho Redis databases, làm dễ dàng interact với databases và manage your data—với built-in support cho most popular Redis modules. Nó cung cấp tools analyze memory và profile performance của database usage, và helps guide you toward better Redis usage. Nó manages Redis data via GUI bằng cách scanning existing keys, adding new ones, performing CRUD hoặc bulk operations, displaying objects in pretty-JSON object format, và supporting friendly keyboard navigation.
Tổng hợp lại, RedisInsight là essential tool cho Redis developers. Chúng tôi sẽ lay out 5 key reasons why in a moment, nhưng first let's take a quick look at exactly what RedisInsight is, what it does, và how to get it.
RedisInsight available today as non-commercial, free-of-charge tool. Nó fully compatible with Redis Enterprise. Nó works with any cloud provider as long as you run it on a host that has network access to your cloud-based Redis server. Nó supports Redis Enterprise Cloud, Redis Cloud Pro, Amazon Elasticache, và Microsoft's Azure Cache for Redis. Với RedisInsight, dễ dàng discover cloud databases, making it possible to configure connection details với single click. Nó allows you to automatically add Redis Enterprise Software và Redis Enterprise Cloud databases. (Note: Auto-discovery requires Redis Enterprise Cloud Pro subscription).
RedisInsight 1.7 là latest release, và comes with new capabilities và enhancements designed to make your developer experience even more enjoyable, với support for Redis 6 và its new access control lists (ACLs) compatibility. Recently introduced features như TLS (transport layer security) support và RedisGears beta support cùng enhancements như multi-line query editing, full-screen mode, và more sẽ make your experience more efficient. RedisInsight là full-featured desktop GUI client và available cho Windows, macOS, và Linux, và also available as a Docker container.
Local installation:
Download RedisInsight cho Windows, Mac, và Linux từ Redis website.
Điều gì làm RedisInsight trở thành great tool cho Redis developers?
Here are five key capabilities that make RedisInsight a perfect tool for Redis developers:
- Nó có built-in support cho Redis modules.
- Nó là visual tool tool to browse your data.
- Nó provides modern tools cho entire development lifecycle.
- Nó là a powerful profiler.
- Nó là a recommendation tool cho memory usage và analysis.
1. Built-in support for Redis modules
Redis modules allow developers build new application services on top of Redis while continuing to enjoy Redis' sub-millisecond speed. Redis modules enrich Redis core data structures with search capability và modern data models như JSON, graph, time series, và others. Với RedisInsight, developers can explore, visualize, và interact with Redis data, including complex Redis data structures và modules.
Full screen support cho RedisGraph, RedisTimeSeries, RedisJSON, Redis Streams, và RediSearch available in RedisInsight. As a developer, bạn can query và interactively manipulate graph, streams, và time-series data flawlessly. Bạn even build queries, explore results, optimize, và quickly iterate với multi-line query editor. These data structures can be viewed visually và all traditional operations can be performed using updated command-line interface (CLI) và graphical commands, making it easier for you to execute commands cho all data structures và modules.
Don't miss: RedisInsight 1.6 Brings RedisGears Support and Redis 6 ACL Compatibility
2. A visual tool to interact with your data
RedisInsight lets you browse và explore your Redis databases và intuitively interact with your data. Nó allows you to view real-time metrics from Redis. Nó allows you to create tabular views from your Redis keys và export data in different formats. Bạn cũng visualize và update data từ Redis Streams, RedisGraph, RediSearch, và RedisTimeSeries. Beginning with RedisInsight 1.6.3 release, filtering of keys in the browser is possible, so you can more easily navigate through your data và find the keys that are the most relevant to you.
RedisInsight comes with a built-in CLI that lets you run commands against a Redis server. You don't need to install anything, as soon as you are connected to the database, the integrated web is CLI available, just there for you! RedisInsight also makes your life simpler with all the command's syntax—the integrated help shows you all the arguments và validates your commands as you type.
RedisInsight provides syntax highlighting và auto-complete và employs integrated help to deliver intuitive, in-the-moment assistance. Hence, you can view all the traditional operations that can be performed using an updated CLI và graphical command builders, making it easier to write commands cho all data structures và modules.
Don't miss: Modernizing Legacy Applications with Redis and Microservices (video)
3. Modern tools for the entire development lifecycle
RedisInsight aimed at helping developers get the most out of Redis. It is basically a suite of tools that can help developers throughout the development lifecycle. There are built-in tools for the design phase during prototyping, while other sets of tools help in the implementation phase.
Ví dụ, RedisInsight allows developers to perform bulk operations như renaming, expiring, và deleting a large number of keys in one go. Nó gives developers visibility into their slow logs so that they can identify, troubleshoot, và fix bottlenecks và find optimization opportunities. Nó helps developers identify top keys, key patterns, và commands. With RedisInsight, developers can filter by client IP address, key, hoặc command across all nodes of a cluster. They can effectively debug Lua scripts with less complexity.
4. A powerful profiler
Software firms need advanced tools to make development straightforward và fast. With the right tools, developers can save time, deliver high-quality applications, và run a sustainable enterprise. As a Redis developer, it's important to identify efficient và easy-to-use tools that help you to understand how an application behaves và interacts with the database.
Developers use the profiler feature of RedisInsight to help identify performance problems without having to touch the code. Some commands may take a long time to process on the Redis server, causing the request to time out. A few examples of long-running commands are met with a large number of keys, keys *, hoặc poorly written Lua scripts. The RedisInsight profiler runs the Redis MONITOR command, which analyzes every command sent to the Redis instance. It parses the output of the MONITOR command và generates a summarized view. All the commands sent to the Redis instance are monitored for the duration of the profiling.
Profiler gives information about the number of commands processed, commands/second, và number of connected clients. It also provides information about top prefixes, top keys, và top commands. It's useful for understanding the nature of the traffic seen by your Redis database, which in turn can help debug performance problems in production environments.
5. A recommendation tool for memory usage and analysis
Redis is an in-memory data store. This means that the entire dataset is stored in memory (DRAM). This is great for performance, but as the size of your data set grows, you need more DRAM to hold all that data. Few developers want to spend their time learning about Redis memory issues, so RedisInsight provides recommendations for developers on how to save memory. The recommendations are specially curated according to the Redis instance, based on industry standards và Redis' experience.
RedisInsight helps developers reduce memory usage và improve application performance. Nó offers several tools to manage và optimize Redis. RedisInsight analyzes memory-usage offline—without affecting Redis performance—by key patterns, key expiry, và advanced search to identify memory leaks. It can even show you total memory consumption by key pattern, và also the biggest keys within that key pattern.
RedisInsight's memory analysis helps you analyze your Redis instance to minimize memory usage và improve application performance. Analysis can be done online và offline:
- Online mode: In this mode, RedisInsight downloads an Redis database (RDB) file from your connected Redis instance và analyzes it to create a temp file with all the keys và metadata required for analysis. In case there is a master/slave connection, RedisInsight downloads the dump from the slave instead of the master in order to avoid affecting the performance of the master. The overhead of online memory analysis is minimal.
- Offline mode: In this mode, RedisInsight analyzes your Redis backup files. These files can either be present in your system or in the cloud. RedisInsight accepts a list of RDB files given to it và analyzes all the information required from these files instead of downloading it from your Redis instance. Offline memory analysis adds zero overhead, as it does not require you to connect to your Redis server.
Muốn thử RedisInsight và xem nếu nó fit into your development và operational toolkit? Click below to start your journey today: