(追è¨) ãã®åé¡ã«ã¤ãã¦ãåå ã¯Rubyã®å´ã«ããã®ã§ã¯ãªããã¨èãã¦ãã¾ããç¹å®ã®æ¡ä»¶ä¸ã§TCPSocket#flushãå®è¡ããã¨ãã¹ã¬ãããåæ¢ããã¾ã¾å¦çãæ»ã£ã¦ããªããªãã¾ãã以ä¸ã®æ稿ã§ãRailsã使ããåç¾ããæ¹æ³ã説æãã¾ããã http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/43356 (追è¨ããã) éçºãµã¼ããç¿æ¥ã«ãªãã¨ãããããã¯ãããã¨ããç¾è±¡ãç¶ãã¦ãã¦æ©ã¿ã¾ããã 解決æ¹æ³ã¯ãMongrelã®FAQã«ä¸ãã£ã¦ãã¾ããã http://mongrel.rubyforge.org/faq.html Q: Mongrel stops working if itâs left alone for a long time. If you find that Mongrel stops work
â 1. ä¸æ¸å»ºã¦ã¿ã¤ã ãã®ã¢ããªç¨ã«å°ç¨ã®ãã·ã³ãæºåã§ããã±ã¼ã¹ãä¾ãã°ãã¢ã¯ã»ã¹æ°ãå°ãªãβãªãªã¼ã¹æãªã©ã¯ mongrel ãç´æ¥80ãã¼ãã§éç¨ãããã¨ãããã ãããããã¦ãè² è·ã®å¢å ãã¾ãã¯ãã«ãã³ã¢ãæ´»ããã¨ãã次ã®æ®µéã§ãcluster åãã mongrel ãæ±ãå¿ è¦ã«è¿«ãããå ´åããã®ã¿ã¤ãã«ãªãããã®å ´åãããã³ãã®ä»äºã¯ããã¯(Rails)ã¸ã®å²ãæ¯ãã ãã ãããã®ããã«ãããã Apache2 ãæã¡åºãã®ã¯ä»°ã ããã¨æãããããããªãããããªäººã«ã奨ããããã®ã Pound ãµã¼ãã ããããªã Apache ãã話ãé¸ãã¦ãã¾ããããã®ã±ã¼ã¹ã ã¨ãªã¢ã«ã§ã奨ãã§ããã Pound + mongrel Pound ã¯ãªãã¼ã¹ãããã·ç¨ã®Webãµã¼ãã§ãããç¹åãã¦ããã ããã£ã¦ãå¿ è¦æä½éãã¤ç´æçã§ç°¡åãªè¨å®ã§æ¸ããããæ·å± ãä½ãã®ãé åã ãããã§ãã¦ããã¸
â [Rails] Railsåå¼·ä¼@æ±äº¬#18 åå: QueryCache / MMC å¾å: ä»ã ããããéç¨ç°å¢ãèãã ã«åå ã â åå: QueryCache / MMC QueryCache ã¨ã¯ãAR.find ã®çµæã memcached ãç¨ãã¦ãã£ãã·ã¥ãã pluginã(rakuto ä½) rakutoå¼ QueryCache ã®èª²é¡ with_scope ã©ãããï¼ memcache ã®ãã¼ åé¤æ¦ç¥ 1ã¯ãAR.find ã®å¼æ°ã ããè¦ã¦ãã£ãã·ã¥ã®ãã¼ãä½æãã¦ãããããwith_scope ã¨æ··ãããªå±éºã解決çã®1ã¤ã¯ããã£ãã·ã¥ããã¬ã¤ã¤ã¼ã select_xxx ã¾ã§å¼ãä¸ããããã¨ããããã㨠find_by_sql ã¾ã§å¯¾è±¡ã«å ¥ãã¨ããå¬ããå¯ä½ç¨ãããããã ãã®å ´åããã£ãã·ã¥ã®å¯¾è±¡ãåã¬ã¤ã¤ã¼ã«ããã¨ARãªãã¸ã§ã¯ãã§ãªãçã®çµæã»ããã«ãª
Unitl this week we used Lighttpd and FastCGI for MeinProf.de. The setup was nearly the same as described in the must read series scaling rails (1, 2, 3, 4) from poocs.net. We used this setup from day 1 but always had some small issues with Lighttpd. Lighttpd was crashing every couple of days. Nothing dramatic, we had a script that monitored Lighttpd and restarted it if necessary. During the last
ã10åã§ä½ãRailsã¢ã㪠for Windowsãã®å¢äºããã«ç´ã«è©±ãèãæ©ä¼ããã£ã¦ãååã ãç¥ã£ã¦ãMongrelãããããããæãã¸ã£ãã¤ã«ã¨ãããã¨ãèããã®ã§ãã¨ããããç°å¢ãä½ã£ã¦ã¿ãã Mongrel: Home What is Mongrel? Mongrel is a fast HTTP library and server for Ruby that is intended for hosting Ruby web applications of any kind using plain HTTP rather than FastCGI or SCGI. ã§ãå ·ä½çã«åèã«ããã®ã¯ã³ã³â Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel Lighttpdããã³ãã³ã¨ã¯ã©ãã·ã¥ããããã«ãªã£ã¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}