분산된 서버의 메모리로 해쉬방식으로 캐쉬 역할을 해주는 오픈소스이다.
youtube, facebook을 비록해서 많은곳에 사용하고 있다.
http://memcached.org/
LRU알고리즘으로 대용량 시스템에서 파일이나 DB를 사용할경우 응답속도가 늦을 경우에 적합하다.
C를 비롯해서 자바까지 연동 사용이 가능하다.
C언어로 개발되어 있다.
본 기술을 활용해서 key/value방식의 db를 만든 오픈소스가 membase이다.
http://www.couchbase.org/membase
mysql과의 설치 및 설정방법
http://download.oracle.com/docs/cd/E17952_01/refman-5.1-en/ha-memcached.html
mysql과 연동해서 사용하는 방법
https://launchpad.net/memcached-udfs
C/C++ 클라이언트에서 memcache와 연동해서 사용하기위한 라이브러리와 사용도구 사이트http://libmemcached.org/libMemcached.html
상기링크에서 지원해주는 명령어
- memcapable - Checking a Memcached server capibilities and compatibility
- memcat - “cat” data from a server
- memcp - Copy data to a server
- memdump - Dumping your server
- memerror - translate an error code to a string
- memflush - flush all data from a server
- memrm - Remove data from a server
- memslap - Load testing and benchmarking a server
- memaslap - Load testing and benchmarking a server
- memstat - Gather statistics from a server
memcached와 redist의 성능 평가 자료를 모은 자료
http://knight76.tistory.com/1391자바에서 성능 평가한 자료
http://xmemcached.googlecode.com/svn/trunk/benchmark/benchmark.html
기본 구조와 사용법 설명자료
http://www.ibm.com/developerworks/kr/library/os-memcached/index.html
facebook에서 채용하는 기술들 설명
http://www.slideshare.net/jacking/facebook-5473130
memcached와 관련된 도구들
1. advanced reporer
- 핫키와 클라이언트 추적
2. wireshark
- 패킷 분석
3. brutis
- 클러스터의 크와 시험을 변경
4. statsproxy
- 버퍼된 통계 보기
5. cacti
- 통계그래프와 분석
네이버의 me2day에서의 응용
http://www.slideshare.net/sdec2011/sdec2011-arcus-nhn-memcached-cloud-8467157
네이버는 moxi와 membase를 조합해서 me2day시스템을 개발했다고 한다.
memcached의 proxy서버역할을 해주는 moxi관련 자료
http://www.slideshare.net/northscale/moxi-memcached-proxy
다운로드 링크
http://code.google.com/p/moxi/
moxi와 membase와의 관련 문서
http://www.couchbase.org/wiki/display/membase/Moxi
웹캐쉬 서버
http://www.squid-cache.org/
'Cloud > etc' 카테고리의 다른 글
Sqoop export and import commands (0) | 2014.01.05 |
---|---|
Recommender System Software – 추천 시스템 참고 (0) | 2013.03.16 |
Error that occured in Hadoop and its sub-projects (0) | 2012.05.11 |
hypertable 알아볼꺄? (0) | 2012.04.07 |
memcached 설치 방법 (0) | 2011.06.03 |
분산 메모리캐쉬 오픈소스 - memcached (0) | 2011.05.23 |
댓글을 달아 주세요