PSGI/Plackã¢ããªã±ã¼ã·ã§ã³ã®èµ·åæ¹æ³ããããã¨æ¬çªç°å¢ã¢ã¬ã³ã¬ 便ä¹ãã¹ããæè¿ã¯ãä¸è¨å ã®ãã·ã§ã«ã¹ã¯ãªããã§ã©ããããæ¹æ³ãã§éç¨ãã¦ãããã¨ãå¤ãã§ãããã®å ´åã®one more tips. appãµã¼ãã¼ãã¨ã«ãã·ã³ã¹ããã¯ãéãå ´åããã¾ã«ãã£ã¦ããã®å ´åãã·ã³ãã¨ã« workeræ°ã調æ´ããããã©ãdeployã®é½åä¸ãµã¼ãã¼èµ·åã¹ã¯ãªããã¯åããã¤ã使ãã ãã£ã¦ãã¨ãããã¾ãã ããã§ãããããªã®ããCPUã³ã¢æ°ã«å¿ãã¦workeræ°ãè¨ç®ããæ¹æ³ã§ãã ã·ã§ã«ã¹ã¯ãªããã®å ´åã % cat app.sh #/bin/sh NCPU=`getconf _NPROCESSORS_ONLN` WORKERS=$(expr $NCPU \* 5) exec plackup -E production -s Starlet --max-workers=$WORKERS ã¨
{{#tags}}- {{label}}
{{/tags}}