You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
11/3ã«éå¬ããã #isucon2 ã«ãé£ã®å¸ã® @pandax381 ã¨ä¸ç·ã«ããã¼ã åé¾ã¨ãã¦åå ãã¦ãã¾ããã çµæã¯æ¨æã ã£ãã®ã§ããããã®ã¬ãã¼ããæ¸ãåã«ã #isucon2 ã§ä½¿ãäºå®ã ã£ãç§å¯å µå¨ recaro ã«ã¤ãã¦ç´¹ä»ãã¾ãã recaro ã¨ã¯ recaro ã¯ã«ã¼ãã«ç©ºéã§åã httpd + memcached ãµã¼ãã¼ã§ãã httpd ãµã¼ãã¼ã¯ @pandax381 ãä½æãã tkhttpd ã§ã memcached 㯠kmemcached ã¨ããããã¸ã§ã¯ãã æªå®æã®ã¾ã¾æ¾ç½®ããã¦ããã®ãè¦ã¤ãã¦ãç§ããããã°ï¼é«æ§è½åãããã®ã§ãã (KLab/kmemcached) é常ã®nginx+memcachedã 㨠ãããã¯ã¼ã¯ <- TCP/IP ]-> nginx <-[ TCP/IP ]-> Memcached ([] ã¯ã·ã¹ãã ã³ã¼ã«) ã¨
For years, people have used memcached to scale large sites. Originally, there was a simple modulo selection hash algorithm that was used. It still is used quite a bit actually and itâs quite easy to understand (although, itâs shown regularly that some people donât truly understand it when applied to their full system). The algorithm is basically this: servers = ['server1:11211', 'server2:11211', '
2008-09-27 17:53:11 +0900 (78d); rev 114 ãã®ææ¸ã«ã¤ã㦠åæ£åã¡ã¢ãªãªãã¸ã§ã¯ããã£ãã·ã³ã°ã·ã¹ãã ã§ãã memcached ã«ã¤ãã¦ããã®ä»çµã¿ãå°å ¥ãããã°ã©ãã³ã°è¨èªããã®å©ç¨æ¹æ³ã¾ã§ãç´¹ä»ãã¾ãã ãã®æç« ã¯å¸¸ã«æ¸ãããã§ãã誤åè±åãééãã®ææãæ å ±æä¾ãªã©ãæè¿ãã¾ãã ãã®ææ¸ã®å¯¾è±¡è memcached ã®å°å ¥ãæ¤è¨ãã¦ããã²ã¨ memcached ãããã°ã©ãã³ã°è¨èªããå©ç¨ããæ¹æ³ãç¥ãããã²ã¨ memcached ã®ä»çµã¿ãä»æ§ãç¥ãããã²ã¨ ç°å¢ã«ã¤ã㦠以ä¸ã®ãããªç°å¢ãæ³å®ãã¦ãã¾ãã UNIX ããã³ UNIX ã©ã¤ã¯ OS x86 ã¢ã¼ããã¯ã㣠memcached 㯠x86 以å¤ã®ã¢ã¼ããã¯ãã£ã§ãåä½ãã¾ããããã®ææ¸ã§ã¯ x86 åæã¨ãã¦è¨è¿°ãã¾ãã memcached ã¨ã¯ memcached ã¯
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãç¥ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}