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
1
vote
1 answer

Redis.io Vs Azure Redis cache in .Net

Is there any difference between Azure redis cache and redis.io , If I have Azure Subscription, I need to purchase seperate plan for Azure Redis. IF have a difference ? When to Use Azure redis vs Redis.io.
Mohamed Sahir
  • 2,482
  • 8
  • 40
  • 71
1
vote
0 answers

Spring boot with redis caching, Cannot get Jedis connection

I have an spring boot application with using hibernate with MySQL as DB. I'm going to use Redis for caching, This is my Spring config: @SpringBootApplication @EnableAutoConfiguration @EnableCaching public class MyApplication { public static void…
developer
  • 11
  • 2
1
vote
0 answers

RedisSearch-php : How to search document?

I am new to Redissearch-php , i want performs query search on redis with redis search engine (php). i have tried example from this link : http://www.ethanhann.com/redisearch-php/searching/, but its always returning empty array, Please find code…
saw
  • 7
  • 3
1
vote
1 answer

Reset redis cache expiry using spring data redis

I have a requirement to reset the expire time if the record is accessed before its initial expire time. I am using Spring data redis API to use Redis as Cache. I am using RediscacheManager's setDefaultExpiration(5000) to set default expiration.…
1
vote
1 answer

Connection to Redis cache fails after restart - Azure

We are using following code to connect to our caches (in-memory and Redis): settings .WithSystemRuntimeCacheHandle() .WithExpiration(CacheManager.Core.ExpirationMode.Absolute, defaultExpiryTime) .And …
michal.jakubeczy
  • 8,221
  • 1
  • 59
  • 63
1
vote
2 answers

Redis as a self populating cache

Can Redis be used as a self populating cache (or pull-through cache) ? In other words, is it able to create an entry on the fly if this entry is not cached yet ?
Chimons
  • 115
  • 2
  • 8
1
vote
0 answers

effective caching sql database tables data with regular intervals in asp.net with azure redis cache

We are developing a search engine which requires high speed api results to give the quick results. We are using Asp.Net MVC as a front end and Web API is the layer between database and MVC application. Each search query requires 20 to 30 tables…
1
vote
1 answer

How to add global variable in REDIS cache

Need to add global variable in REDIS Cache. For Ex: Consider an student, employee and Staff related application. Every role has a unique object. When student log in to the application we need to get student information from redis. Same for other…
LTA
  • 191
  • 3
  • 16
1
vote
2 answers

can we use multiple types of cache(redis & guava) in spring boot at the same time?

I am trying to have two implementations of Cache for different type of objects in my spring boot application. I want to store certain objects in redis cache whereas other object in guava cache based on the method. Whenever I implement two calsses…
mohit_d
  • 235
  • 2
  • 13
1
vote
1 answer

WsseAuthentication store nonce using Redis

I cannot figure out how to use another Cache service for storing my nonces using the WsseAuthentication. The documentation is unclear to me. Can anybody help me setup my nonce cache for use with Redis? Currently, I know how to add a new nonce cache…
Angelo A
  • 2,744
  • 6
  • 28
  • 37
1
vote
1 answer

Exploit caching to the fullest

I am caching result of a method(obviously with its signature) so that it don't make complex query on my data-store every time. My caching is working perfectly. My question is: How should I find the optimal value of timeout for an entry in…
Anshul Sharma
  • 327
  • 4
  • 14
1
vote
1 answer

using multiple cache backends at the same time

We want to switch from memcachedb to redis. As the site has very high usage and the caching is kind of critical, we wanted to see if it is possible to make a test-deploy with both memcachedb and redis running. Only once we confirmed that all keys…
1
vote
1 answer

Windows azure redis cache migration issue

We are hosting our site on windows azure where site is running on multiple instances.Due to multiple instances we were using shared cache for storing session values. As Microsoft is going to stop shared cache and recommended to use redis cache to…
Ravi
  • 310
  • 3
  • 11
1
vote
1 answer

How to gracefully handle Rails cache failure? (redis-cache)

I'm using redis-cache for fragment caching in my app. When redis is down or unreachable, I get timeout exceptions that raise 500 errors. This happens rarely, but for a cache I would expect rails to treat a timeout as: no-op on write cache-miss on…
klochner
  • 8,077
  • 1
  • 33
  • 45
0
votes
0 answers

Django Cache Causes Missing Staticfiles on Azure

Whenever I add the following code, the staticfiles will not be generated automatically by WhiteNoise Middlewire on Azure. CACHES = { 'default': { 'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION':…