ã¢ããªã±ã¼ã·ã§ã³ã§ã©ããã¦ãæããªãéã®ãªã¯ã¨ã¹ããä¸æçã«æ¼ãå¯ãã¦ãã¾ãå ´åãã¢ããªã±ã¼ã·ã§ã³ãµã¼ããæ»ã¬ã®ãé¿ããããã« GET ã¯å¶éãæãããããPOST ã¯ãªãã©ã¤ãé¢åãªã®ã§ãªãã¹ãéãã¦ãããããã¨ãããããªè¦æ±ã nginx ã§å¦çã§ãããã©ããã å®è£ ã¨ãã¦ä¸çªæã¾ããã®ã¯ GET 㯠100 req/sec ã§å¶é (è¶ ããã503) POST ã¯ç¡å¶é ã®ããã«ã¡ã½ãããã¨ã«å¥ã ã®å¶éãæãããã¨ã ã£ãã®ã§ãããã¨ãããã HttpLimitReqModule ã使ããã¨ã§ãã¡ã½ãããã¨ã«åä¸ã®ä¸éãè¨å®ãããã¨ã¯ã§ãã¾ããã http { limit_req_zone $request_method zone=method:1m rate=100r/s; server { listen 80; location / { limit_req zone=method;
{{#tags}}- {{label}}
{{/tags}}