Skip to main content

Questions tagged [redis]

Redis is an open-source, networked, in-memory, key-value data store.

4 votes
1 answer
125 views

Simple Redis implementation in Rust

This is a very tiny implementation of Rust that uses redis serialization protocol (RESP). I implemented it as one of code crafters challenges. I have less than a few month experience in Rust, so it ...
Amir reza Riahi's user avatar
2 votes
1 answer
871 views

Parallel handling db queries is very slow in C#

I have SignalR app that publishes sent messages to Redis. My console app subscribe to channel where these messages are sent, deserializes it and saves in database. Problem is with handling these ...
Szyszka947's user avatar
1 vote
0 answers
90 views

Two steps changing email system Django + Redis

I created a two steps changing email system. Firstly I show you the concept how it should work and then the code. I am using Django and React. Main question: is it a good way to do it? Is it fine to ...
some nooby questions's user avatar
3 votes
1 answer
1k views

Redis Output Cache Store refactoring - IOutputCacheStore Redis Implementation

This code incorporates the new .NET 7 Output Caching. I would like to get some refactoring tips on the RedisOutputCacheStore class. How to use ...
nop's user avatar
  • 819
2 votes
1 answer
458 views

Asp.Net Core CacheKey Management

I created cache management structure for Asp.Net Core and Redis. But i dont know is this best practices or bad. My Github Repo First one is Store my entity keys class is ...
filiphasan's user avatar
1 vote
0 answers
386 views

Python and redis. Make queries more efficient

My Python code (part of a Django site) queries data from a redis database and loads it into a Pandas dataframe. I'm new to redis, and I think I'm not using the redis library as efficiently as I could. ...
Michael Cornn's user avatar
2 votes
0 answers
36 views

Scalability of azure redis example

I built an auction site with a dynamic caching layer after I seeing how expensive a dbaas is. The site is now done, but like any site that grows, my caching solution grew too. The cache currently ...
user6680's user avatar
  • 121
2 votes
0 answers
45 views

Profiling redis RTT in go

I'm trying to determine best case round-trip times to a redis server. Particularly, I am trying to determine exactly how low I can get the latency on a local instance. On a technical level, this is ...
DeusXMachina's user avatar
5 votes
1 answer
15k views

Dependency Injected StackExchange.Redis Client

I am currently building cache for my application, and I would like to have my redis cache client work the same way you would dependency inject a DbContext. I am using StackExchange.Redis to manage my ...
Thorbear's user avatar
5 votes
0 answers
860 views

Docker-compose for task-based Flask API with Redis and rq

I am not a Docker guru or expert in Flask or Redis. However, I need to leverage these technologies. I managed to cobble something together that works and would like to submit it for review. The MWE ...
SumNeuron's user avatar
  • 291
2 votes
1 answer
450 views

Redis work queue processor

I frequently encounter the need for creating services that concurrently process messages from Redis queues. So I decided to share the knowledge I learned and help others easily bootstrap such a ...
Issa Khoury's user avatar
2 votes
0 answers
2k views

Singleton pattern for Redis connection

Recently I have learned about singleton design pattern. I have tried to implement Redis connection following singleton design pattern. conn/redis.go ...
user avatar
4 votes
2 answers
8k views

Accessing a subset of keys from a nested dictionary in Python

I am trying to access data from Coinmarketcap API in Python and came up with the following code: ...
PirateApp's user avatar
  • 143
4 votes
1 answer
97 views

Fetching and storing new reddit posts

I've created a small tool that fetches and stores the newest self-posts from a specific subreddit. The posts are stored in a redis store. I'm going to write another couple of applications at a future ...
tverghis's user avatar
  • 143
4 votes
1 answer
611 views

One minute cron Python script reads from MySQL and updates Redis based on calculations

The following code works and will be put into cron on a AWS server (not sure what specifications, cores, kernels etc) at a every 1 minute frequency. However, it's my first time putting a script into ...
Deepak's user avatar
  • 41

15 30 50 per page
1
2 3 4 5