Questions tagged [azure-redis-cache]

Azure Redis Cache is based on the popular open-source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft and accessible from any application within Azure.

347 questions
0
votes
1 answer

Converting generic redis code to Azure Cache for Redis

I have the following Spring Session code: @Bean public LettuceConnectionFactory connectionFactory() { String hostName = AcmeProperty.getProperty("spring.redis.host", "localhost"); int port =…
Paul Reiners
  • 8,576
  • 33
  • 117
  • 202
0
votes
1 answer

Adding JSON object to redis that can be queried - nodejs

Originally I was trying to add the documents returned from User.find({}) into the redis cache as a sorted set so that I can do pagination. like so: client.zadd("directory", documents_id, docsString, (err, reply) => { I'm starting to wonder if I…
user6680
  • 79
  • 6
  • 34
  • 78
0
votes
1 answer

Azure Redis delete cache command not executing

I'm trying to delete the cache I created to reset the data, but when I run the following command az redis delete --name listings --resource-group appsvc_linux_centralus it says Are you sure you want to perform this operation? (y/n): y When I…
user6680
  • 79
  • 6
  • 34
  • 78
0
votes
1 answer

unhandled catch error in promise that has catch - Nodejs

I have a function that GETs data from either mongodb or azure redis cache. I'm trying to set it up where it checks the cache first and then hits mongodb if cache is empty, but for some reason it's executing the mongodb code first. I created a…
user6680
  • 79
  • 6
  • 34
  • 78
0
votes
1 answer

Azure App Service cannot connect to Azure Redis when calling from Web Browser

I have a REST API services application that is using Asp.net core, and hosted on Azure App Service. I am adding Azure Redis as a cache mechanism. I tested the application on my local machine using local redis and it is working fine. I deployed the…
0
votes
0 answers

Redis utterly slow compared to in-memory cache

We've recently switched out in-memory cache for Azure Redis cache. It was simple enough since the API is the same. All good and well, except for a much bigger latency. I suspect it has something to do with improper caching techniques on our behalf.…
judehall
  • 884
  • 12
  • 27
0
votes
1 answer

How to see key count of matching pattern in Azure Redis Cache Console

I want to just see the total number of keys available in Azure Redis cache that matches the given pattern. I tried the following command it is showing the count after displaying all the keys (which caused server load), But I need only the…
Vijai
  • 2,369
  • 3
  • 25
  • 32
0
votes
1 answer

MVC Routing - Unknown Method Exception

We have a .Net MVC application that has a controller with a HttpPost Method type and the application is hosted in Azure. When the application is Idle for 30 minutes and we click on submit button we could see the request being sent to server as…
0
votes
1 answer

Redis connection settings for app "surviving" redis connectivity issues

I'm using azure redis cache for certain performance monitoring services. Basically when events like page loads, etc occur, I send a fire and forget command to redis to record the event. My goal is for my app to function fine whether or not it can…
CuriousLayman
  • 207
  • 1
  • 10
0
votes
0 answers

Advantages of using Redis Cache over other Caching mechanisms

While Azure Redis Cache gains popularity day by day, one question that remains is what is the advantage of using it over other Caching mechanisms? I failed to get a comprehensive explanation on this.
The Inquisitive Coder
  • 1,085
  • 3
  • 20
  • 43
0
votes
1 answer

Azure Redis Connection Issue

I am trying to access my live Azure Redis Cache Instance inside Visual Studio for locally debugging, I am using StackExchange.Redis but I am getting this error whenever i try to access my cache value StackExchange.Redis.RedisConnectionException: No…
Shabir jan
  • 2,295
  • 2
  • 23
  • 37
0
votes
1 answer

Connecting Redis Cache with AKS cluster

I'm trying to host a couple of micro services in AKS. There is some data stored in a Azure-redis cache in a separate virtual network which the AKS cluster needs to access. Do I need to use OSBA for Azure to enable this connection? or can I just…
Zeus
  • 13
  • 3
0
votes
0 answers

Azure Redis Cache Geo Replication

I have just setup a Redis Geo Replication between two redis caches, and now i am wondering what it is capable of. As I can see it: I can only read and write to the primary redis cache I can only read from the secondary If a outrage is happening,…
mslot
  • 4,959
  • 9
  • 44
  • 76
0
votes
0 answers

Lettuce 5.1.1.RELEASE 60 second server idle Azure PubSub disconnected

Update: From the below note it appears that Azure Redis has a 60 second idle time for its configuration. The connectionwatchdog in redis is seeing the connection and reporting correctly the disconnect about every 2 minutes which makes sense i…
0
votes
1 answer

Handling Azure Redis Cache exceptions

I'm using Azure Redis Cache for development and wanted to verify the way I'm handling the exceptions. According to the best practices, it's possible to face RedisConnectionExceptions and to resolve this, we have to dispose the old…
Kruti Joshi
  • 384
  • 3
  • 16