Questions tagged [redis]

open-source, networked, in-memory, key-value data store

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
234 views

Redis set of sets - Is there a better Design?

I have a telegram bot that alerts whenever a price of certain asset reach a certain price. I have the following table in a DB: AlertId ChatId Price Asset So each Asset will have several ChatId (...
3
votes
0answers
1k views

How to tell SignalR Notifications Hub that there is a new notification without having SignalR poll on that table

I'm developing a push-notifications system for my ASP.NET MVC app. The idea is to use Redis for queueing, ServiceStack for queue processing and SignalR for push-notifications to implement a system ...
2
votes
0answers
165 views

Using distributed locks in microservice environment

I'm developing distributed system and trying to use best practices of microservice architecture. I was faced with a situation when I think I need something like distributed locks. Since I have not so ...
2
votes
0answers
929 views

How should I store user activities in ElasticSearch and figure out popular searches?

I've got java logging user activities to Fluentd, Fluentd is then writing these activities into an elasticsearch index. Every user activity is recorded, some include: User1 follows user2 User1 likes ...
2
votes
0answers
302 views

Scoring algorithm implementation with Django and Redis

I use DjangoREST & MySQL as a backend for a mobiel app. I have two models, User and Feed and for any call to api/feeds/ returns all feeds for authenticated user ordered by created_at parameter of ...
1
vote
0answers
31 views

Distributing tasks to several clients

I describe a very very simple scenario. I try to develop a system where many machines can help another one (server). I tried RabbitMQ and Redis, but both don't fulfil all requirements. I have 1-...
1
vote
0answers
34 views

Event Sourcing & Redis

I'm using StackExchange.Redis library, it seems perfect. Hard-coded events related BankAccount with ID 1: // UNSORTED COLLECTION public static List<Event> DomainEvents = new List<Event>()...
0
votes
0answers
25 views

How to cache timestamp based key values with a distributed cache?

I have a dataset in a key value store (similar to Cassandra). The data model is - Key - ServiceName / timestamp_in_milliseconds value - operation In the write side I get some operations for a ...
0
votes
0answers
53 views

How to handle server side pagination + processing large sets of data

So lets say I have a SQL query made by a server that fetches up to thousands of records at a time and I need to display those records in a grid(similar to AG Grid) on the client for the user to review....
0
votes
0answers
34 views

what's the proper way to interpret SREM results from REDIS

Background I am writing a REST API that exposes a method that allows the caller to delete a resource from the REDIS database. Because I'm using a SET, when you try to do an SREM, it will just return ...
0
votes
0answers
121 views

Storing self-expiring items in redis and getting all of them

I need to place some data into redis so that each element has a sliding expiration (say 60 seconds each). I also need to be able to get a list of all elements that are currently in Redis. Initially ...
0
votes
0answers
339 views

how to create messaging storage structure in redis?

I am developing Node.js, Redis based chat application in php. I had an idea about chat logger structure but I required suggestions that how and what to choose proper data structure to create Redis ...
-1
votes
1answer
246 views

How to implement a scalable exists in large set query

I need to design a system where I need to check if a key exists or not. Currently I am already using aerospike for the cause but my use case is slightly different. I will have a key like this ( A ...
-3
votes
1answer
25 views

is using redis correct to hold a dataset?

i have a certain question about using redis for caching. so the problem goes like this. we have separate microservices for reading and writing to database. a service that provides reads from db sites ...