squid2.6ã®COSSã®è©±
Squid2.6 のCOSSがいい感じã¨ããé常ã«èå³æ·±ãã¨ã³ããªãåºãã®ã§,ãµãã¦ã¿ãã.
æåã«ãæããã¦ããã,å®ã®ã¨ããç§ã®ä¸ã§ãCOSS(ã¨ãã®æ ¹åºã«ããäºå®ã¨ææ³)ã«é¢ãã¦ããããç´å¾ã§ããªãã¨ããããã£ã¦,ååã«ã¯åå¼ãããã¦ããªã.
ãªã®ã§ä¸è¨ã®å
容ã¯å¤å°çã«å¾ãã¦èªãã§ããã£ã¦,ééã£ã¦ããæãªã©ãããã°ææãã¦ããããã¨ããããã.
以åsquid vs apacheã¨ããã¨ã³ããªã§apacheã¨squidã®æ¯è¼ãè¡ã£ãçµæã®ã¨ã³ããªãæ¸ãã.
詳細ã¯ä¸è¨ã¨ã³ããªãèªãã§ãããã¨ãã¦,çµè«ã¨ãã¦ã¯squidã¯apacheã¨æ¯ã¹ã¦å¤§è¦æ¨¡é ä¿¡ã«ã¯åããªãã¨ããã¢ãã .
ãããããã¯èª¿æ»èªä½ã3å¹´ãåã§squidã2.5ã®è©±ã ã£ãã®ã§,ããå®æ ã¨ãã£ã¦ãªããããªãã¨æã£ã¦ãã.ãã®ä¸æ¹squidãçã ã¨é²åããã¦ããããã§,2.6ãããã£ãã·ã¥ãªãã¸ã§ã¯ãã®æ°ããæ ¼ç´æ¹æ³ã§ããCOSSããµãã¼ããããããã .
http://wiki.squid-cache.org/SquidFaq/CyclicObjectStorageSystem
ã«ããã¨COSSã¨ããã®ã¯ãCyclic Object Storage Systemãã®ç¥ã§ã·ã³ã°ã«ãã¡ã¤ã«ä¸ã«ã¦ã¼ã¶ãã¼ã¹ã®ç¬èªãã¡ã¤ã«ã·ã¹ãã ãæ§ç¯ãã¦ããã«ãã£ãã·ã¥ãã¼ã¿ãé
ç½®ã,ãã¼ã¿é
ä¿¡ãããã¨ãããã®ã .
ããã¤ã¾ãã§ããã¨ãã£ã¹ã¯ã®å¹ççãªå©ç¨ãè¡ãããã«,é©åãªãããã¯ãµã¤ãºãã¨ã«å®ãã¼ã¿é ç½®ãè¡ããã¨ã«ãã,ãã¡ã¤ã«ä½ç½®ã®åå®ã«ãããã³ã¹ããªã©ã稼ãã§ããã¨ããã®ããã¢ã®ããã§,Squid2.6 のCOSSがいい感じã«ããã¨å®éã«å¹æãåºã¦ããããã .
COSSã®ã¦ã¼ã¶ãã¼ã¹ã®ãã¡ã¤ã«ã·ã¹ãã ã使ãã¨ããã¢ã¤ãã£ã¢èªä½ã¯ç¹ã«æ°ããã¯ãªã.
Posixãã¡ã¤ã«ã·ã¹ãã çãªå¦çããã£é£ã°ããã,ãã¡ã¤ã«ãµã¤ãºãä¸å®ãè¶
ããªããªã©ãªã¬ãªã¬ãªã«ã¼ã«ã¨ä»®å®ãç½®ããã¨ã«ãã,æ±ç¨ã®ãã¡ã¤ã«ã·ã¹ãã ãããéãã§ããã,ãã®ã»ãã«ãä¾ãã°Oracleããã¼ãã«é åã®ä½æã¨ããå½¢ã§ç¬èªã®ãã¼ã¿æ ¼ç´å½¢å¼ãæºåãã¦ããã,ãã¡ã¤ã«ã·ã¹ãã ä½ææã®ãããã¯ãµã¤ãºãªã©ã®ãã©ã¡ã¼ã¿ãã¥ã¼ãã³ã°ãªã©ã¯ã¾ãã«ããã¨åãçºæ³ã«ç«ã£ã¦ãã.
ãã®ãã¨èªä½ã¯åé¡ãªããã ããã©ãç§ãé常ã«çåã¨ãããéåæãæãã¦ããã®ã¯ãã®ããã©ã¼ãã³ã¹ã§,ã¡ã¢ãªã«å ¨é¨ã³ã³ãã³ããè¼ããæã¨æ¯è¼ãã¦ãéè²ãªãããã©ã¼ãã³ã¹ãåºã¦ãããã¨ãããã¨ã .
å®éã¨ããã·ã¹ãã ã§ã¯100GBç¨åº¦ã®åä¸ãã¡ã¤ã«ã«æ°åä¸åç¨åº¦ã®ãªãã¸ã§ã¯ããè¼ãã¦COSSã¨ä¼¼ããããªæ¹å¼ã§é ä¿¡ãã¦ããã®ã ã,ç¹ã«ããã©ã¼ãã³ã¹çãªåé¡ã¯èµ·ãã¦ããªãã£ã.
ãã®ä¸æ¹画像配信の負荷分散も比較的簡単?(その1)ã®ä¸é£ã®ã¨ã³ããªã§è¿°ã¹ã¦ããVFSã®ãããã¡ãã£ãã·ã¥ã«ä»»ããæ¹æ³ã ã¨,ãããã¡ãã£ãã·ã¥ãããµããã¨æ¥µç«¯ã«ããã©ã¼ãã³ã¹ãè½ã¡ã¦ããã¨ããäºå®ããã£ã¦,ãªãCOSSã®ãããªæ¹å¼ã§ãããã¡ãã£ãã·ã¥ã®ãµã¤ãºãè¶ ãããããªãã¼ã¿ãä¿æ/é ä¿¡ãã¦ãã¦ãååãªããã©ã¼ãã³ã¹ãã§ã¦ããã®ãèªåã¨ãã¦ã¯ç´å¾ã§ãã説æãè¦ãã ãã¦ããªã.
ã¨ã¯ããã¡ããã¨ããã©ã¼ãã³ã¹ãåºã¦ããã¨ããäºå®ã¯ãã£ã¦,ããã¯åãããªã.
ããããèããçµæ,100Mã¤ã¼ãµã¯100Mbpsã§,bpsã¯BitPerSecondã®ç¥ã§,12.5MByte/secã¨ãããã¨ãªã®ã§,
æè¿ã®é度ã®éããªã£ãHDD+æé©åãããã¦ã¼ã¶ãã¼ã¹ã®ãã¡ã¤ã«ã·ã¹ãã ãªãã°ã¡ã¢ãªã«å
¨é¨ã®ãã¼ã¿ãè¼ã£ã¦ãªãã¦ã100Mã¤ã¼ãµã®å®è¡é度(60ã70M)ç¨åº¦ã®ããã©ã¼ãã³ã¹ã¯åºãã®ããª.ã¨ããçµè«ã§èªåãç¡çç¢çç´å¾ããã.
ãã ãã®èª¬æã¯ããã«ãå¾ä»ãã§,èªåã§è¨ãã®ããªãã ã,å®ã«ã¦ã½ããã.
ãªã®ã§,ããã©ãªãããªã«ããã³ãã«ãªããã¨ããã£ãããã²æãã¦ããããã.
(ã¤ã¥ãããããããããªã)
åèURL
Squid2.6 のCOSSがいい感じ
http://wiki.squid-cache.org/SquidFaq/CyclicObjectStorageSystem
squid vs apache
画像配信の負荷分散も比較的簡単?(その1)
yamazçæ¥å¸¸
ぴろ日記ã®ã´ãããã¨COSSã«ã¤ãã¦è©±ãã¦ãã¨ãã®ä¼è©±.
yamaz : å®ã®ã¨ãã2Gè¶ ãããããªãã¡ã¤ã«ãæ¥å¸¸ã§ã¯æ±ã£ã¦ãªãããæè¦ãããããããªããã§ãããã
piro : å®ã®ã¨ãã2Gã«æºããªããããªãã¡ã¤ã«ãæ¥å¸¸ã§ã¯æ±ã£ã¦ããªãããæè¦ãããããããªãï½
ãããã¯ã´ããã.æ¥æ¬ã§ããããã¯ã©ã¹ã®ãã¼ã¿éãæ¥ã
æ±ã£ã¦ãã ããã.
yamazçæ¥å¸¸(ãã®2)
æ¸è°·ã®æ±æ¥æ¬åºã§æ¥æ¬æ©æ¨å±ã®ç ã師ã®æ¹ãå®æ¼ããã¦ããã®ã§,
æã家ã®å
ä¸ãç ãã§ããã£ã.
æ±æ±åºããæ¸è°·ã¾ã§å
ä¸ãæ°èã§ã°ã«ã°ã«å·»ãã«ãã¦éãã ãã ãã©,
ä»ã®ç§ã¯ãã²é¢ã§é»è»ã®ä¸ã§ã¯èãäºã¨ãããããã¦,ã©ãã²ããç®ã«
è¦ã¦ãããããæºç¹ã .ãªã®ã§ä¸ä¸ã«ãé»è»å
ã§è½ã¨ããããªãã¨ã¯ãã£ã¦ã¯ãªããã¨é常ã«ãããããã.
yamazçæ¥å¸¸(ãã®3)
æè¿éåä¸è¶³ã ã¨å¥¥ããã«éé£ãããã®ã§,ä¸ç·ã«å¤ã®æ£æ©ããã.
éå仲çºããåºçºãã¦æ島âè±æ´²âéå仲çºã¨ããã£ã¨åã£ããã ãã©,æ島ãè±æ´²ã¨ãæãã®ã»ãè¿ã,éå仲çºããæ©ãã¦30åãããã§è¡ãããã¨ãããã£ã.
æ島ã¯ããããå±ãããããã§ããã¨ããããããã£ã¦ã¡ãã£ã¨ã³ã£ãã.