liuhaipeng905 / servicestack

Automatically exported from code.google.com/p/servicestack
0 stars 1 forks source link

Memory question #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

What will happen if let's say Redit consumed 100% of allowed memory and I'm 
trying to call Store method to add new element into Redis?

How does it handle such situations?

Thanks,
Dmitry

Original issue reported on code.google.com by dmitrys...@gmail.com on 20 Jul 2010 at 11:43

GoogleCodeExporter commented 9 years ago
A question best asked on the Redis mailing list:
http://groups.google.com/group/redis-db

Although when it happened in our environment, Redis kept running its just that 
writes stopped and it started to get really slow. Although a very unhealthy 
situation to be in. If you think you will run out of memory ensure you have 
Redis VM enabled (v2.0+):
http://antirez.com/post/redis-virtual-memory-story.html

And it will sway the least frequently used values out to disk.

Original comment by demis.be...@gmail.com on 21 Jul 2010 at 1:40

GoogleCodeExporter commented 9 years ago

Original comment by demis.be...@gmail.com on 11 Aug 2010 at 3:15