Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
http { # proxy_cache_pathã¨proxy_temp_pathã¯åããã¡ã¤ã«ã·ã¹ãã ä¸ã«é ç½®ããã®ãããã©ã¼ãã³ã¹ä¸ãã # keys_zoneã®1mã¯å ±æã¡ã¢ãªã®ãµã¤ãºã1MiBãããç´8000åã®ãã¼ãä¿æã§ããã®ã§ãããã»ã©å¤§ãããªãã¦è¯ã # max_sizeã¯å ¨ãã£ãã·ã¥ãã¡ã¤ã«ã®ãµã¤ãºåè¨ã®ä¸é # inactiveã§æå®ããæéå ã«ã¢ã¯ã»ã¹ãããªãã£ããã£ãã·ã¥ãã¡ã¤ã«ã¯ããã®æå¹æéã«é¢ãããåé¤ãããï¼ããã©ã«ãã§10åï¼ proxy_cache_path /var/cache/nginx keys_zone=zone1:1m max_size=1g inactive=24h; proxy_temp_path /var/cache/nginx_tmp; # ãªãªã¸ã³ããæ¥ãCache-Controlãç¡è¦ãã #proxy_ignore_headers
ã¡ã¢ãnginxã®ãªãã¼ã¹ãããã·ã§ãã¡ã¤ã«ããã£ãã·ã¥ããæ¹æ³ã è¨å®ãããã¼ã¸ã¯ãããããã¯ã¨ã³ãã¯GoogleAppEngineã http://www.nullpobug.com/ 試ããnginxã®ãã¼ã¸ã§ã³ã¯0.7ãUbuntu10.04ã®ãªã®ã§å¤ãã nginxã®è¨å® nginx.confã®ä¸ã§conf.dãsites-enabledãincludeãããããã«ãªã£ã¦ããã¨ãåæã /etc/nginx/conf.d/proxy_cache.conf proxy_cache_path /var/cache/nginx/cache levels=1:2 keys_zone=my-key:16m max_size=100m inactive=120m; proxy_temp_path /var/cache/nginx/tmp;httpãã£ã¬ã¯ãã£ãã«proxy_cache_pat
ä»äºã§ç»åãã£ãã·ã¥ãµã¼ãã¼ãæ§ç¯ããæã®ã¡ã¢ã大è¦æ¨¡äºä¾ã®è¨å®ä¾ãæ¤ç´¢ãã¦ããã¾ãè¦ã¤ãããªãã£ãã®ã§åããããªå¢éã®èª°ãã®åèã«ãªãã°ã ãã¼ã¯æã®ãã©ãã£ãã¯ã¯æ°Gbps ç»åç·å®¹éã¯æ°åTB ããã¯ã¨ã³ãã®storageãè¤æ°ç¨®é¡ è¦æ¨¡ã¨ã¢ã¯ã»ã¹éã¨ã¢ã¯ã»ã¹ãããç»åã®ç¨®é¡ãå¤ãã®ã§ãsquidã§disk cacheã使ç¨ããã¨COSSçã使ç¨ãã¦ãdiskIOã§è©°ã¾ãçºãå ¨ã¦on memory cacheãcache容éã確ä¿ããçºã«å¿ ç¶çã«cacheãµã¼ãã¼ã®å°æ°ãæ°åå°ã 1. squidãsiblingæ§æã§ä¸¦åã«ä¸¦ã¹ã cache_peer 10.0.1.1 sibling 80 3130 no-query no-digest proxy-only cache_peer 10.0.1.2 sibling 80 3130 no-query no-digest proxy-o
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}