I am having the 250MB data storing into redis Cache as a single hash object. I am using Spring RedisTemplate to read data from redis. But it's taking the the around 30 to 35 secs of time.
redisTemplate.opsForHash().put("masterMap","masterMap", masterMap);
redisTemplate.opsForHash().get("masterMap","masterMap");
The requirement was to get data in milli secs. However it's taking 30 to 35 secs of time.How to read this much size of data very quickly from redis cache. Having any alternative ways to read data from redis or I have to change any configurations.
Can someone please guide me on this.