Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I read through many blog posts and documentation . But am unable to proceed further with redis implementation.

What I have tried:

I have installed redis locally .Inserted data and retrieved data using web api in c# code with help of servicestack drivers.
I want to configure the redis server to cache the data and manage it.
Since i am new to this i have no idea about it and found no posts regarding on web.
If you could help me out , please provide some links or explain .It would be of great help.
Posted
Updated 24-Apr-16 19:25pm
Comments
CHill60 22-Apr-16 9:14am    
I think you will get a better response from Redis - Redis configuration – Redis[^]
Member 1097736 25-Apr-16 1:04am    
thanks for the response !
http://redis.io/topics/lru-cache
http://redis.io/commands/config-set ,
http://redis.io/topics/config helped me understand better and served my need.

1 solution

To manage cached data we must specify configuration parameter and its values.
An example of redis.conf file is available in redislink

When redis is used as a cache server, it uses an approximated LRU(Least Recently Used)technique to evict cached data.
Data can be evicted by using any 7 of the supported eviction policies of LRU.
LRU cache

We can set time for a key to evict by using TTL(time to leave).

For more information refer:
Link1
Link2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900