SEARCH
TOOLBOX
LANGUAGES
Redis

Redis

From Chaehyun

Revision as of 05:50, 19 February 2014 by Xlos (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ubuntu 에서 설치

# /etc/apt/sources.list.d/dotdeb.org.list
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all

설정

  • sudo vim /etc/redis/redis.conf
  • maxmemory 12gb
  • maxclients 0:무제한.
  • maxmemory 물리메모리 제한
  • maxmemory-policy 메모리초과시 처리방법
  • volatile-lru:lru 알고리즘으로 만기된데이터 삭제
  • allkeys-lru:lru 알고리즘으로 삭제
  • volatile-random:만기된데이터 랜덤삭제
  • allkeys-random:렌덤삭제
  • volatile-ttl:만기가 가까워진 것 삭제
  • noeviction:삭제안함.쓰기에러리턴.

시작

  • dpkg -L redis-server
  • sudo /etc/init.d/redis-server start
Retrieved from "http://chaehyun.kr/w/Redis"