Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Question on Active-Passive redis cache
Post Flair (click to view more posts with a particular flair)
Post Body

Usecase: Module 1: We need to read data from an Kafka topic. This topic will contain different types of data, and then we need to aggregate the value against each type and store it in a Redis cache.

Module 2: Now if the aggregate value for any type breaches a threshold we need to perform certain actions.

I was thinking to create 'n' number of redis caches in active-passive mode for each unique type which we process from kafka topic. Now the Module 2 will poll or stream from each active instance of redis cache and if the threshold is breached then it will make passive as Active. This will make sure new messages from kafka will be processed in the cache.

Questions:

1) how is the process.

2) How can we use Active/passive redis cache.

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
72
Link Karma
17
Comment Karma
55
Profile updated: 1 week ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 months ago