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/howtos/analytics/index-analytics.mdx
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,12 @@ slug: /howtos/analytics
6
6
authors: [ajeet]
7
7
---
8
8
9
+
An interactive analytics dashboard serves several purposes. They allow you to share data and provide you with all those vital information to make game-changing decisions at a faster pace. Building a real-time dynamic dashboard using a traditional relational database might require a complex set of queries. By using a NoSQL database like Redis, you can build a powerful interactive and dynamic dashboard with a small number of Redis commands.
9
10
10
-
An interactive analytics dashboard serves several purposes. They allow you to share data and provide you with all those vital information to make game-changing decisions at a faster pace. Building a real-time dynamic dashboard using a traditional relational database might require a complex set of queries. By using a NoSQL database like Redis, you can build a powerful interactive and dynamic dashboard with a small number of Redis commands.
11
11
12
-
This tutorial shows a basic analytics dashboard app that uses Redis Bitmap written in NodeJS (JavaScript)
12
+
Redis is an open source, in-memory, key-value data store most commonly used as a primary database, cache, message broker, and queue. Redis cache delivers sub-millisecond response times, enabling fast and powerful real-time applications in industries such as gaming, fintech, ad-tech, social media, healthcare, and IoT.
13
+
This tutorial shows a basic analytics dashboard app that uses Redis Bitmap written in NodeJS (JavaScript).
14
+
13
15
14
16
<divclass="text--center">
15
17
<iframewidth="760"height="415"src="https://www.youtube.com/embed/Ugym4yUeIhA"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
@@ -55,6 +57,18 @@ Go to /server folder (cd ./server) and then execute the following command:
55
57
docker-compose up -d --build
56
58
```
57
59
60
+
In most of the cases, you might require to preface the docker command with `sudo`. If you don't want to use sudo, create a Unix group called docker and add users to it. When the Docker daemon starts, it creates a Unix socket accessible by members of the docker group.
61
+
Once the Redis database is up and running, you can verify the connection to redis instance using the redis client software.
62
+
63
+
64
+
:::info TIP
65
+
- By default, Redis runs on port 6379 but you can change it by specifying the right host port in the docker compose file.
66
+
- You can use Redis configuration file and mount it as volumes in the docker compose YAML file.
67
+
- You can connect to the redis instance by using `redis-cli -h hostname -p port` command.
68
+
- You can even run redis info command to get overall statistic details of redis instance like cache, memory stats, redis metrics and modules enabled.
69
+
- You can use a redis cli command called `redis monitor` to get real time redis logs .
0 commit comments