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
2
votes
1 answer

ClassCastException in Spring Redis Cache

I'm developing a Spring Boot application with Spring Boot version 2.1.8.RELEASE. I need to build custom RedisCacheManager. RedisCacheManager is as follows. @EnableCaching @Configuration class CacheConfig { @Bean fun…
T. Ç
  • 75
  • 1
  • 7
2
votes
0 answers

How to store integer values in redis cache?

I am using redis cache for storing data to be cached. The type of data to be stored as key, is of numerical type. The value is automatically coerced to string type by redis. 127.0.0.1:6379> sismember def 34 (integer) 1 127.0.0.1:6379> sismember def…
Mangu Singh Rajpurohit
  • 10,806
  • 4
  • 68
  • 97
2
votes
1 answer

What does "quorum reached" in redis logs? what technically it means?

What does "quorum reached" in redis logs technically what it indicates, is it problem? Am I missing anything to tuning in redis.conf parameter to fix it? Redis log message: Marking node a523100ddfbf844c6d1cc7e0b6a4b3a2aa970aba as failing (quorum…
ravibeli
  • 484
  • 9
  • 30
2
votes
0 answers

How to update redis cache in Yii 1

I am trying to re-set the cache but every time I did that, the expiration time kept alive. How can I UPDATE the redis cache without effect the expiration time. $cache = Yii::app()->cache; if($cache->get($md5)){ $md5Values = $cache->get($md5); …
Ibrahim Samara
  • 111
  • 2
  • 11
2
votes
1 answer

NOAUTH Authentication required redis

Start redis-server: redis-server /usr/local/etc/redis.conf Redis config file (/usr/local/etc/redis.conf): ... requirepass 'foobared' ... Rails - application.yml: ... development: redis_password: 'foobared ... The Error: Redis::CommandError -…
Emba Moussa
  • 662
  • 8
  • 18
2
votes
1 answer

(8.0/9.0/Master) Is there a way to implement Redis as a caching mechanism for Odoo 8?

I'm interested in using Redis cache as a cache for product images among other things in Odoo 8. I'd like to cache images for use on the frontend (ie. website_sale product pages and category pages), as well as on the backend (eg. Sale >> Product >…
2
votes
1 answer

Azure Redis Cache and MVC Child Actions

I have successfully implemented Azure Redis Cache using the Microsoft RedisOutputCacheProvider from NuGet which works as expected for general pages. [ChildActionOnly] [ChildActionOutputCache(CacheProfile.StaticQueryStringComponent)] public…
2
votes
2 answers

How can I schedule the invalidation of a redis cache?

I am using django as a framework to build a content management system for a site with a blog. Each blog post will have a route that contains a unique identifier for the blog post. These blog posts can be scheduled and have an expiry date. This means…
1
vote
2 answers

Which charatcer are not allowed in "RedisValue" value argument in redis cache?

I've to store redis key and value in redis chache. However the redisValue which I want to save is a Json string of 1976 characters length which has-> {,},[,],",-,: characters apart from numbers,alphabets. but while storing it says invalid…
Akshay Kale
  • 53
  • 1
  • 5
1
vote
0 answers

How to create RedisCacheManager in spring-data 3.0.x

I'm migrating my application from spring boot 1.5.x to 3.0.x. I want to keep jedis but I have a problem with the instantiation of RedisCacheManager. Now constructor signature is RedisCacheManager(RedisCacheWriter cacheWriter,…
1
vote
2 answers

How to solve List Mapping Exception on Redis Cache Load in Spring Boot

I want to add Caching to my Spring Boot Backend. Saving the entries to the Cache seems to work since I can see the json list in Redis after my first request but once I send my second request (which would read the Cache) to the backend Spring throws…
finisinfinitatis
  • 861
  • 11
  • 23
1
vote
0 answers

Implement Redis Cache in place of In Memory Cache?

I have a InMemory Cache method which I want to implement using Redis Cache, it uses the concept of Semaphore in the InMemory Cache, hence I have gone through many documentation's like the Redis documentation on Distributed Locking, and tried using…
1
vote
0 answers

How to implement redis cache in node.js project in Windows

I have implemented redis cache for get method, but if Redis server is closed, my node.js project doesn't start again. If the Redis server is running everything runs fine. What should I do? I get this error when I start my project without Redis…
1
vote
3 answers

Is Redis cache effective for simple windows application(management software)?

I want to implement caching on a simple desktop application. And I am using WPF .NET Framework. So, is Redis cache could be effective considering the portability? Or is there any best option available?
Arun Chaulagain
  • 123
  • 1
  • 5
1
vote
1 answer

How to find azure redis cache total memory using redis commond

I have started to learn Redis cache I had the plan to get total azure Redis cache memory through node js API call I have searched but I am not getting clear vision could you assist me how I can do this.
SaranViji
  • 383
  • 2
  • 6
  • 17
1 2
3
9 10