Questions tagged [redis-cache]

Redis is an open source (BSD licensed), in-memory data structure store, use this tag for specific cache usage

Redis is an open source (BSD licensed), in-memory data structure store, use this tag for specific cache usage.

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

Site: https://redis.io/

How to Use Azure Redis Cache: https://learn.microsoft.com/en-us/azure/redis-cache/cache-dotnet-how-to-use-azure-redis-cache

143 questions
0
votes
3 answers

How to Migrating AWS Redis cache to Azure Cache for Redis basic version

am trying to find the doc which can help me to migrate AWS Redis cache to Azure Cache for Redis basic version
0
votes
2 answers

How to perform Keys ( read, write, delete,) on Google memory store of RedisCache using .net core

How to perform Keys (read, write, delete,) on Google memory store of RedisCache using .net core
0
votes
1 answer

How to store the readStream files of Node.js into Redis and also how to retrieve the stored readStream files from Redis?

I tried converting the readStream (Image) to string and then storing it in Redis. Then retrieving the string from Redis and converting it back to readStream. But it didn't work out. function getFile(fileKey) { console.log(fileKey); const…
0
votes
0 answers

Documents having uppercase fields aren't returned when using lower case letters for TEXT field search using FT.search in Redisearch

I am using Redisearch module in Redis and trying to search for a value in TEXT field using below query. It returns all the documents with lower case values like 'test or Test' and no data which has all the upper case letters 'TEST' are being…
0
votes
1 answer

Is AGGREGATE FILTER expect case sensitive query expression in Redisearch?

I am using Redisearch module in Redis and trying to filter the data stored in Redis index using the following query. FT.AGGREGATE MyIndex * GROUPBY 1 "@MyField" FILTER "@MyField=='value'" I am able to get the result only for the exact word searched,…
0
votes
0 answers

What are the disadvantages of using multiple databases in a single Redis instance for multiple tenants

I'm trying to create a multi-tenant application and which will be hosted in a single instance. To complete this application I need to implement a Redis cache system. I have two solutions for multi-tenant caching. They are, I can prefix the keys…
Jithin Vijayan
  • 307
  • 5
  • 19
0
votes
1 answer

Can i have redis master in one microservice domain and redis slave used by a different microservice as a way of sharing data?

I have three microservice that needs to communicate between each other. Microservice-1 is incharge of the data and the database(he writes and read to it). I will add a redis cache store for Microservice-1 to cache data there. I want to put a…
Ash_this
  • 53
  • 5
0
votes
1 answer

How to set redis cache prefix key for non spring boot java application using xml configuration

I would like to set a custom cache key prefix for my application which uses xml configuration for my RedisCacheManager, my goal is, if the cache key is student-detail, the cache key should be test :: student-detail or prod :: student-detail, I have…
user3557777
  • 133
  • 1
  • 4
  • 15
0
votes
1 answer

How to Serialize to Java Object in Spring Data Redis

This is my redis Template that i have defined in my @configuration class, it's taking a jedis Connection factory, i have set my custom class Student as the value in RedisTemplate @Bean public RedisTemplate template() { …
behlHardik
  • 21
  • 3
  • 4
0
votes
0 answers

how to filter data from redis cache on multiple attributes

I am new to redis and struggling with how to filter certain objects based on certain attributes. I have a simple usecase where, there is a set of 1 million employee object stored in a redis set and I want to filter them on the basis of department…
Rahul J
  • 199
  • 1
  • 1
  • 7
0
votes
1 answer

At what positions I can use @Cacheable in spring boot with redis cache

At what positions I can use @Cacheable in spring boot with redis cache, Can I use it with any method? public UserDTO findByUserID(Long userID) { User user = findUser(userID); if (user != null) { Password password =…
enthusiastdev
  • 880
  • 8
  • 9
0
votes
0 answers

How to perform a two level caching mechanism in rails?

I need to perform a two level caching mechanism on a food menu refresh application. I have to use Memcache and Redis for caching. First need to check the menu is present in the memcache, if it is not or fail to fetch, need to move to redis caching…
0
votes
1 answer

How can I store multiple object of same key-value pair in Redis Cache?

I want to store multiple object of same Key_Value in Redis cache using node js? Append, hset or hmset. Can someone give and example with proper function?
Rohan
  • 45
  • 6
0
votes
2 answers

How to perform stress testing/performance testing of UWP app that calls api

I am looking for a way to do some performance testing of a UWP app that calls api's and uses radis cache. The application will continuously perform action for 100 hours or more and i need to make sure the server response time is consistent and does…
0
votes
1 answer

Is there a way to query over a range based key cached object in django redis cache?

I'm working on a game server matchmaking and I have a room object which has a range that has two field and other extra fields : min_score = IntegerField (help = 'minimum score that user should have to join this room.') max_score = IntegerField (help…