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

How to create single java domain class which will serve for both Redis cache(NoSQL) and Sybase ASE (Relational database)?

We are going to use Redis cache for faster performance. We require that we want to create single java domain class (for example Employee.java) which we can use for both Redis and Sybase ASE but the problem is Redis is NoSql database and Sybase ASE…
pan1490
  • 939
  • 1
  • 7
  • 25
0
votes
1 answer

What is the best practise to do partitoning data in Azure Redis

I am planning to use Redis cache in my application and the data size may vary from 10KB - 500 MB. If I use the large key/value entries from Redis, Reding and Saving data might get performance issue, it means I have to transfer more data over the…
Balanjaneyulu K
  • 3,660
  • 5
  • 24
  • 45
0
votes
0 answers

how to implement pagination for hashset in redis cache using nodejs

I have around 1000 records in hash-sets, i want to get only 0-50 records for first time and then 50-100 so on. P.S. I am using node-redis. I want to find out whether redis supports pagination for hashes. i have tried zrange but it doesn't…
mob jeny
  • 1
  • 2
0
votes
0 answers

org.springframework.data.redis.RedisConnectionFailureException: Unknown reply: a

Error: org.springframework.data.redis.RedisConnectionFailureException: Unknown reply: a; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Unknown reply: a at…
user8776970
0
votes
0 answers

Redis requests slowing down significantly when receiving multiple requests

I am currently working on my school project, which is a research about the performance of Redis Cache. The use case is a webshop with different amount of products (1.000/5.000/12.500/25.000). I am measuring the response time with different kind of…
0
votes
1 answer

How can we use maven-redis-plugIn while writing Integration Test cases in Spock

I am writing Integration tests using spock-framework, I am able to use maven-cassandra-plugin i.e before executing Integration tests cassandra gets started and loads the cql file(which we mentioned in the configuration attribute of…
Sat
  • 3,520
  • 9
  • 39
  • 66
0
votes
1 answer

Redis CLI scan pattern and unlink/delete multiple patterns in a single call

I have keys stored in my Redis as given below. project:page_1_user_1 project:page_1_user_2 project:page_1_user_3 project:page_2_user_1 project:page_2_user_2 project:page_3_user_1 To delete the keys matching the pattern, I use the below command as…
Alok Agarwal
  • 1
  • 1
  • 3
0
votes
1 answer

Using both Microsoft.Web.RedisSessionStateProvider and Microsoft.Web.RedisOutputCacheProvider

I have installed and used Microsoft.Web.RedisSessionStateProvider for a while and after looking at OutputCaching I thought of installing Microsoft.Web.RedisOutputCacheProvider as well but they both have Microsoft.Web.Redis.ISerializer interface…
Mohau
  • 1
  • 1
  • 2
0
votes
1 answer

No implementation for play.cache.SyncCacheApi annotated with @play.cache.NamedCache(value=options-cache) was bound

I am using play version 2.6.2 with play-redis from karelcemus version 2.0.1 https://github.com/KarelCemus/play-redis. As per the documentation, I have disabled play's default EhCacheModule and enabled play.api.cache.redis.RedisCacheModule and bind…
Sumit
  • 109
  • 1
  • 9
0
votes
0 answers

To store Array of data to Azure Redis Cache

I want to store the list of data as given below in the Azure redis cache. Designation(KEy) ---------- SoftwareEngineer Graduate Trainee Seniormanager I am new to this Redis cache and learning the stuff and working on. I am able to pass the values…
Innova
  • 4,831
  • 21
  • 76
  • 107
0
votes
1 answer

Getting type of field inside Redis hash

I was exploring Redis, I have created a key server and I can get type of the value stored here as follows: > set server terver OK > get server "terver" > type server "string" But when I created hash myhash, > hset myhash field1 lalalal (integer)…
S Jayesh
  • 191
  • 1
  • 4
  • 19
0
votes
1 answer

Bulk set in redis cache

I'm using Redis as a cache for my application layer.As it's a java application so I'm taking the advantage of Jedis client. Using this I was able to do all basic operation like set, get and delete. Is there a way to do bulk set(batch insertions)…
lambodar
  • 3,495
  • 5
  • 34
  • 58
0
votes
1 answer

Redis Cache - Access HMSET using Redisson

I have HMSET stored in Redis Cache as below >hmset [User1] [Key1] [value1] [Key2] [value2] Now how do I get the key and value Map using User1 key in Redisson ? Also how to get value for specific key and user? I tried RMap map =…
user2968937
  • 73
  • 11
0
votes
1 answer

How to make cache data(on redis) to expire on basis of last access?

I have spring micro-service application which using redis-server for cache store. Using RedisCacheManager Api. In this we have option to set "setDefaultExpiration". Because of that rediscachemanager calculating expiry from first access of annotated…
0
votes
1 answer

How key/value pairs are stored in Redis

We use Elasticache Redis node to store data. All keys have same format: - Key is md5 hash - 128 bits (16 bytes, 32 string characters bytes). - Value is time stamp string - 19 bytes. In total, key size is 32+19=51 bytes We have 84 917 361 million…
antonbormotov
  • 1,821
  • 2
  • 20
  • 32
1 2 3
9
10