| hash_ring. Àº ÆÄÀ̽㿡¼ ÀÏ°üµÈ ÇؽÌÀ» ±¸ÇöÇÕ´Ï´Ù (MD5¸¦ ÇØ½Ì ÇÔ¼ö·Î »ç¿ë) |
Áö±Ý ´Ù¿î·Îµå |
hash_ring. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Amir Salihefendic
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.amix.dk/
hash_ring. ű×
hash_ring. ¼³¸í
ÆÄÀ̽㿡¼ ÀÏ°üµÈ ÇؽÌÀ» ±¸ÇöÇÕ´Ï´Ù (MD5¸¦ ÇØ½Ì ÇÔ¼ö·Î »ç¿ë) hash_ringÀº ¼¹ö ³ëµå ¼ö°¡ Áõ°¡Çϰųª °¨¼Ò ÇÒ ¼öÀÖ´Â °æ¿ì¿¡ »ç¿ëÇÒ ¼öÀÖ´Â ÀÏ°üµÈ ÇؽÌÀ» ±¸ÇöÇÕ´Ï´Ù (Memcached) .Sonsistent ÇؽÌÀº ÇÑ ½½·ÔÀÇ Ãß°¡ ¶Ç´Â Á¦°Å°¡ Å©°Ô º¯°æµÇÁö ¾Ê´Â ¹æ½ÄÀ¸·Î Çؽà Å×ÀÌºí ±â´ÉÀ» Á¦°øÇÏ´Â ½ºÅ°¸¶ÀÔ´Ï´Ù. ½½·Ô¿¡ Å°¸¦ ¸ÅÇÎÇÕ´Ï´Ù. example : ±âº» ¿¹Á¦ (Memcached ÀνºÅϽº °ü¸®) : memcache_servers = [ '192.168.0.246:11212', '192.168.0.247:11212', '192.168.0.249:11212'2.168.0.249:11212'2168.0.249:11212' (memcache_servers) server = ring.get_node ( 'my_key') ÄÚµå´Â ±ú²ýÇÏ°í °£´ÜÇؾßÇÕ´Ï´Ù. ¹ö±×¸¦ ŽÁöÇÏ´Â °æ¿ì ÀúÀÚ¿¡°Ô ÀÚÀ¯·Ó°Ô Á¶»çÇϽʽÿÀ. ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã
hash_ring. °ü·Ã ¼ÒÇÁÆ®¿þ¾î