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: content/embeds/rdi-when-to-use.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,20 @@
2
2
3
3
RDI is a good fit when:
4
4
5
-
- You want to use Redis as the target database for caching data.
5
+
- You want your app/micro-services to read from Redis to scale reads at speed.
6
6
- You want to transfer data to Redis from a *single* source database.
7
7
- You must use a slow database as the system of record for the app.
8
8
- The app must always *write* its data to the slow database.
9
9
- Your app can tolerate *eventual* consistency of data in the Redis cache.
10
10
- You want a self-managed solution or AWS based solution.
11
11
- The source data changes frequently in small increments.
12
12
- There are no more than 10K changes per second in the source database.
13
-
- The total data size is not larger than 100GB.
14
13
- RDI throughput during
15
-
[full sync]({{< relref "/integrate/redis-data-integration/data-pipelines#pipeline-lifecycle" >}}) would not exceed 30K records per second and during
14
+
[full sync]({{< relref "/integrate/redis-data-integration/data-pipelines#pipeline-lifecycle" >}}) would not exceed 30K records per second (for an average 1KB record size) and during
would not exceed 10K records per second (for an average 1KB record size).
17
+
- The total data size is not larger than 100GB (since this would typically exceed the throughput
18
+
limits just mentioned for full sync).
18
19
- You don’t need to perform join operations on the data from several tables
19
20
into a [nested Redis JSON object]({{< relref "/integrate/redis-data-integration/data-pipelines/data-denormalization#joining-one-to-many-relationships" >}}).
20
21
- RDI supports the [data transformations]({{< relref "/integrate/redis-data-integration/data-pipelines/transform-examples" >}}) you need for your app.
@@ -31,7 +32,8 @@ RDI is not a good fit when:
31
32
than *eventual* consistency.
32
33
- You need *transactional* consistency between the source and target databases.
33
34
- The data is ingested from two replicas of Active-Active at the same time.
34
-
- The app must *write* data to the Redis cache, which then updates the source database.
35
+
- The app must *write* data to the Redis cache, which then updates the source database
36
+
(write-behind/write-through patterns).
35
37
- Your data set will only ever be small.
36
38
- Your data is updated by some batch or ETL process with long and large transactions - RDI will fail
0 commit comments