ã¡ã«ã«ãªã§CDNã«ãã£ãã·ã¥ãããã¹ãã§ãªããã¼ã¸ããã£ãã·ã¥ããããã¨ã«ããå人æ å ±ã®æµåºãçºçãã¦ãã¾ãã¤ã³ã·ãã³ããããã¾ãã
èªåã¯åçã³ã³ãã³ããCDNã§é ä¿¡ãããã¨ã«ãã¾ãç©æ¥µçã§ã¯ãªãç«å ´ã ã£ãã®ã§ããæµåºã¸ã®åå¿ãè¦ãã¨CDNãå©ç¨ãã¦ãããµã¼ãã¹ã¯ããªãå¢ãã¦ãã¦ããããã§ã
å人æ å ±ãã¦ã¼ã¶ã¼ã®ãã©ã¤ãã¼ããã¼ã¿ã決ãã¦æµåºããªãããã«ãã¤ã¤CDNãå©ç¨ããæ¹æ³ãèãã¦ã¿ã¾ãã
CDNå©ç¨ã®ã¡ãªãã
ãã®ãµãã¤
- çµè·¯ãæé©åããã¬ã¤ãã³ã·ãå°ãããªã
- DDoS対çã¨ãªã
ãã£ãã·ã¥ãããªãããã«ããæ¹æ³
Twitterã§åçã³ã³ãã³ããCDNéãã®å½ããåã§ããã¼ã¨è¨ã£ã¦ã人ã«ãªããã¦ããã¦ã¿ã¾ãã
- CDNã¨ã¬ã¹ãã³ã¹ãããã§äºéã«ãã£ãã·ã¥ãç¡å¹åãã
- ãã£ãã·ã¥ãç´°ããã³ã³ããã¼ã«CDNã使ã
- ãã¯ã¤ããªã¹ãæ¹å¼ã§ç¹å®ã®ãã¹ã®ã¿ãã£ãã·ã¥ã許å¯
- ãã°ã¤ã³ã»ãã·ã§ã³ãæã£ã¦ããå ´åã«ã¯ãã£ãã·ã¥ãããªãããã«ãã
- ãã£ãã·ã¥ãç´°ããã³ã³ããã¼ã«CDNã使ã
- CDNãå«ããç°å¢ã§ãã£ãã·ã¥å°ç¨ã®ãã¹ãã±ã¼ã¹ãä½æããã¹ããå¿
è¦ãªãã¹ã¦ã®actionã«ã¤ãã¦ä¸æ£ã«ãã£ãã·ã¥å°ç¨ããã¦ããªããã¨ããã§ãã¯ãã
- å½ç¶actionã®è¿½å ããã£ãå ´åã«ã¯å¿ ããã£ãã·ã¥ã®ãã¹ãã追å ãã
ãªãã»ã©ãããããããã£ããã¨ãã対çããã¦ãã°å®å ¨ã«ä½¿ãããã§ãã
CDNã®é¸å®
è¨å®ãç´°ããã§ããªããã®ã¯ãããªãããã§ã
ãããã§ããã³ã³ããã¼ã«ã§ããªã Google Cloud CDN ã¯ãããããã¹ããã¨å³æ»ã§ã
ã¾ãç´æçã§ãªãæ¯ãèããããCDNãé¿ããæ¹ãããããã§ã
Fastlyã§ã¯ Cache-Control: no-store, no-cache ããã£ãã·ã¥å¯¾è±¡ã¨ãªã£ã¦ãã¾ãäºæ ã®ã«ããããã¾ã
https://community.fastly.com/t/fastly-ttl/882
CDNãåçã³ã³ãã³ãã«ä½¿ãã¹ãã
ç¨éãå¾åãã¨ã«
使ãã¹ã
- ã¢ã¯ã»ã¹ãä¸çä¸ããæ¥ã
- æ¥æ¬ã«ãµã¼ãã¼ããã£ã¦æ¥æ¬ããã®ã¢ã¯ã»ã¹ã99%ã¨ãã ã¨çµè·¯æé©åå¹æã¯èãã§ããã
- æ¼ãã¦å°ããã¼ã¿ããªã
- 失æãã¦ã失ããã®ã¯ããã¾ãããã¬ã³ã¬ã³ããã¾ã
- DDoSãæ¥ã¦ãããããCDNã§é²ãããã®ã§ãã
- æè¿ã¯AWSã«ããã©ã«ãã§å¯¾çãããã¦ããããã¦ãããã§é²ãã¦ãããã®ãããããã§ã
- éã«CDNãå°å ¥ãã¦ããã¡ãªãã®ãããã®ã§ã¯ãªãã§ãããã
- ä»æ»æãæ¥ã¦ãã¦ãããCDNã§é²ãããªãå°å ¥ããã°ããã¨æãã¾ããCDNå ¥ããã°å®ç§ã¨ãããã®ã§ã¯ãªã
- ãµã¼ãã¹å
¨ä½ã«ã¤ãã¦å
åãªç®¡çãè¡ãå±ãã¦ãã CDNã®è¨å®ã«ã¤ãã¦ããµã¼ãã¹ã¨ã¨ãã«ç®¡çã§ããä½å¶ãæ´ã£ã¦ãã
- å®å ¨ã«éç¨ããã«ã¯é©åãªã³ã¹ãããããå¿ è¦ãããããã§ã
使ãã¹ãã§ãªã
- ã»ã³ã·ãã£ããªãã¼ã¿ããã
- ã¦ã¼ã¶ã¼ã¨ãµã¼ãã¼éã®ã¬ã¤ãã³ã·ãå åã«çã
- DDoSãæ¥ã¦ããªã
- ãµã¼ãã¹ã巨大ã§å ¨ä½ãã³ã³ããã¼ã«ãããã¨ãããããã
- ãµã¼ãã¹ãæ¾ç½®ãããã¡
- å®å ¨ã«ãã£ãã·ã¥ãããªãããã«ããªããå°å ¥ããã³ã¹ããå¹æã«è¦åããªã
ã¾ã¨ã
æåã¯å¦å®çã ã£ãã®ã§ããããããã¹ãæéããããã°å®å ¨ã«éç¨ã§ãããã§ãã
5å¹´å¾ã®æ å½è ãå°é·ãè¸ãã¨ãã£ãäºã«ãªããªãããã«ãã¤ã¤ãã£ã¦ããã¾ãããï¼