Find new opportunities to help create a document database using native JSON support on Azure Cache for Redis Enterprise.
We are excited to announce that native JSON support on Azure Cache for Redis Enterprise and Enterprise Flash tiers is now generally available. The Enterprise tiers are developed in a joint partnership between Redis and Microsoft. They help you achieve the highest level of performance, availability, and functionality for your Redis cache databases.
With this release, we now provide a real-time document store on Azure Cache for Redis that allows you to build modern, high-performing, and scalable applications using a dynamic, hierarchical JSON document model. JSON-based keys can be accessed with a dedicated set of commands. RedisJSON supports the JSONPath syntax to atomically update, read, and project elements within your document.
This native support enables RedisJSON to combine with RediSearch, to secondary index, query, and full-text search JSON documents in real-time with ease. The result? Enhanced and scaled application customer experience supporting real-time use cases with low latency, JSON-oriented document database. With the addition of RedisJSON, Azure becomes the first Cloud Service Provider to offer the RSAL-licensed Document capability for their customers as a first-party service. This means that, unlike other services which claim Redis API compatibility, developers can seamlessly migrate applications built using Redis OSS or Redis Stack to Azure Cache for Redis Enterprise when they are ready to launch a fully Enterprise capable solution.
With the RedisJSON module, Azure Cache for Redis Enterprise can now deliver a high-performance NoSQL document store that allows developers to build modern applications. It uses native APIs to ingest, index, and query JSON documents. RedisJSON with RediSearch provides a rich query language that can perform full-text searches, complex structured queries, and auto-complete suggestions using “fuzzy” searches.
Some common use cases where RedisJSON can help include Customer360, content management, mobile app development, session management, product catalogs, and more.
Below, you’ll find the steps for creating a database with RedisJSON using the Azure Portal:
4. In the Advanced tab, select RedisJSON from the Modules drop-down.
5. Click Review + create to create the JSON-enabled database.
You can use the following AZ CLI command to create your RedisJSON database.
az redisenterprise create --cluster-name "myjsondb" --location "West Europe" --minimum-tls-version "1.2" --sku "Enterprise_E10" --capacity 2 --clustering-policy "EnterpriseCluster" --eviction-policy "NoEviction" --modules name="RedisJSON" --modules name="RediSearch" --port 10000 --resource-group "my_resource_group"
Want more detail? Consult the complete Azure CLI documentation for Azure Cache for Redis Enterprise.
RedisInsight provides built-in support for the RedisJSON, RediSearch, and RedisTimeSeries modules. With RedisInsight, you can flawlessly visualize, query, and edit your JSON data. You can also administer your Redis database using RedisInsight. For example, gain insights into real-time performance metrics, inspect slow commands, and manage Redis configuration directly through the interface.
RedisInsight comes with built-in tutorials for modules to get you started.
For details, please refer to this quick-start JSON tutorial.