You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/create/redis-stack/index-redis-stack.mdx
+86-27
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
id: index-redis-stack
3
-
title: Create a database using Redis Stack
3
+
title: Introduction to Redis Stack
4
4
sidebar_label: Redis Stack
5
5
slug: /create/redis-stack
6
6
authors: [ajeet]
@@ -14,10 +14,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
14
14
15
15

16
16
17
-
Redis Stack is an extension of Redis that adds modern data models and processing engines to provide a complete developer experience.Redis Stack provides a simple and seamless way to access different data models such as full-text search, document store, graph, time series, and probabilistic data structures enabling developers to build any real-time data application.
17
+
Redis Stack is an extension of Redis that adds modern data models and processing engines to provide a complete developer experience.Redis Stack provides a simple and seamless way to access different data models such as full-text search, document store, graph, time series, and probabilistic data structures enabling developers to build any real-time data application.
18
18
19
19
20
-
### Redis OSS vs Redis Stack
20
+
### Redis OSS vs. Redis Stack
21
21
22
22
In addition to all of the features of OSS Redis, Redis stack supports:
23
23
@@ -38,7 +38,7 @@ Redis Stack is made up of several components, licensed as follows:
38
38
39
39
### Which client libraries support Redis Stack?
40
40
41
-
Redis Stack supports various client libraries. The following core client libraries support Redis Stack:
41
+
The following core client libraries support Redis Stack:
You will be provided with Public endpoint URL and "Redis Stack" as the type of database with the list of modules that comes by default.
95
+
Once fully activated, you will see the database endpoints as shown below
95
96
96
97
97
98
98
99

99
100
100
101
101
102
102
-
### Step 4. Install RedisInsight
103
+
### Step 4. Connecting to the database via RedisInsight
103
104
104
105
RedisInsight is a visual tool that lets you do both GUI- and CLI-based interactions with your Redis database, and so much more when developing your Redis based application. It is a fully-featured pure Desktop GUI client that provides capabilities to design, develop and optimize your Redis application. It works with any cloud provider as long as you run it on a host with network access to your cloud-based Redis server. It makes it easy to discover cloud databases and configure connection details with a single click. It allows you to automatically add Redis Enterprise Software and Redis Enterprise Cloud databases.
105
106
@@ -119,7 +120,7 @@ You can install Redis Stack on your local system to get RedisInsight GUI tool up
119
120
🍺 redis-stack was successfully installed!
120
121
```
121
122
122
-
Go to Applications and click "RedisInsight Preview" to bring up the Redis Desktop GUI tool.
123
+
You can easily find the Applications folder on your Mac with Finder. Search "RedisInsight Preview" and click the icon to bring up the Redis Desktop GUI tool.
123
124
124
125
125
126
@@ -133,7 +134,7 @@ Go to Applications and click "RedisInsight Preview" to bring up the Redis Deskto
133
134
Add the Redis Enterprise cloud database endpoint, port and password.
134
135
135
136
136
-

137
+

137
138
138
139
139
140
### Step 7. Verify the database under RedisInsight dashboard
@@ -146,7 +147,7 @@ Add the Redis Enterprise cloud database endpoint, port and password.
146
147
147
148
In this tutorial, we will go through an example of a bike shop. We will show the different capabilities of Redis Stack.
148
149
149
-
Choose "Redis Stack" in the left sidebar.
150
+
Choose "Redis Stack" from the left sidebar menu.
150
151
151
152

152
153
@@ -160,7 +161,7 @@ It will display JSON.SET command with model, brand, price, type, specs and descr
160
161
161
162
### Step 10. Accessing the part of stored JSON document
162
163
163
-
Click "Get specific fileds" to access a part of stored JSON document as shown in the following diagram:
164
+
Click "Get specific fileds" to access a part of stored JSON document as shown in the following image:
164
165
165
166

166
167
@@ -170,13 +171,16 @@ Click "Get specific fileds" to access a part of stored JSON document as shown in
170
171
171
172
<TabItemvalue="Mac">
172
173
173
-
To install Redis Stack on macOS, use Homebrew. Make sure that you have Homebrew installed before starting on the installation instructions below.
174
+
To install Redis Stack on macOS, use Homebrew. Follow the below set of instructions:
174
175
175
176
177
+
### Step 1. Install Homebrew
176
178
177
-
Follow the quick step to setup Redis Stack on your Mac:
First, tap the Redis Stack Homebrew tap and then run `brew install` as shown below:
182
186
@@ -198,7 +202,7 @@ This will install all Redis and Redis Stack binaries. How you run these binaries
198
202
199
203
:::info TIP
200
204
201
-
If this is the first time you’ve installed Redis on your system, then all Redis Stack binaries be installed and accessible from the `$PATH`. On M1 Macs, this assumes that `/opt/homebrew/bin` is in your path. On Intel-based Macs, /usr/local/bin should be in the $PATH.
205
+
If this is the first time you’ve installed Redis on your system, then all Redis Stack binaries will be installed and accessible from the `$PATH`. On M1 Macs, this assumes that `/opt/homebrew/bin` is in your path. On Intel-based Macs, /usr/local/bin should be in the $PATH.
202
206
203
207
To check this, run:
204
208
@@ -236,19 +240,19 @@ Go to Applications and click "RedisInsight Preview" to bring up the Redis Deskto
236
240
237
241
238
242
239
-
### Step 2. Add Redis database
243
+
### Step 3. Add Redis database
240
244
241
245

242
246
243
-
### Step 3. Enter Redis database details
247
+
### Step 4. Enter Redis database details
244
248
245
249
Add the local Redis database endpoint and port.
246
250
247
251
248
252

249
253
250
254
251
-
### Step 4. Redis for time series
255
+
### Step 5. Redis for time series
252
256
253
257
254
258
Redis Stack provides you with a native time series data structure. Let's see how a time series might be useful in our bike shop.
@@ -261,7 +265,7 @@ Click "Guides" icon(just below the key) in the left sidebar and choose "Redis fo
261
265
262
266

263
267
264
-
### Step 5. Create time series per shop
268
+
### Step 6. Create time series per shop
265
269
266
270
267
271
```bash
@@ -277,11 +281,11 @@ Since the metrics are collected with a millisecond timestamp, we can compact our
277
281
278
282

279
283
280
-
### Step 6. Running the query
284
+
### Step 7. Run the query
281
285
282
286

283
287
284
-
### Step 7. Time series compaction
288
+
### Step 8. Time series Aggregations
285
289
286
290
RedisTimeSeries supports downsampling with the following aggregations: avg, sum, min, max, range, count, first and last. If you want to keep all of your raw data points indefinitely, your data set grows linearly over time. However, if your use case allows you to have less fine-grained data further back in time, downsampling can be applied. This allows you to keep fewer historical data points by aggregating raw data for a given time window using a given aggregation function.
287
291
@@ -370,8 +374,63 @@ Here’s how to set a retention policy for RedisTimeSeries:
370
374
371
375
### Next Steps
372
376
373
-
- [Perform Database Search and Analytics using the RediSearch Plugin in RedisInsight v2.0](/explore/redisinsightv2/redisearch)
374
-
- [Visualize Redis Database Keys using the RedisInsight Browser Tool](/explore/redisinsightv2/browser)
375
-
- [RedisInsight Profiler Tool - Analyze Your Redis Commands Using Redis Monitor Command](/explore/redisinsightv2/profiler)
376
377
377
378
379
+
<div class="row text--center">
380
+
381
+
<div class="col ">
382
+
<div className="ri-container">
383
+
384
+
#### Storing and querying JSON documents
385
+
386
+
387
+
[Follow this tutorial](/howtos/redisjson/getting-started) in order to store and query JSON documents using Redis Stack
388
+
389
+
390
+
</div>
391
+
</div>
392
+
393
+
<div class="col">
394
+
<div className="ri-container">
395
+
396
+
#### Full-text search
397
+
398
+
399
+
400
+
401
+
402
+
Learn how to [perform full-text search](/howtos/redisearch/) using Redis Stack
403
+
404
+
</div>
405
+
</div>
406
+
</div>
407
+
408
+
409
+
<div class="row text--center">
410
+
411
+
<div class="col ">
412
+
<div className="ri-container">
413
+
414
+
#### Probabilistic data structure
415
+
416
+
417
+
Follow this tutorial to learn [how to implement low latency and compact Probabilistic data structure](/howtos/redisbloom) using Redis Stack
418
+
419
+
420
+
</div>
421
+
</div>
422
+
423
+
<div class="col">
424
+
<div className="ri-container">
425
+
426
+
#### Storing and querying time seris data
427
+
428
+
429
+
430
+
431
+
432
+
[Learn how to store and query time series data](/howtos/redistimeseries/getting-started) using Redis Stack
0 commit comments