â [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ãªãã¸ã§ã¯ãã§ãªãçã®çµæã»ããã«ãª
ã¯ã¦ã㧠lighty ã®ããã°ããããã¨ãç¥ã£ã¦ããã°ãè¦ã¦ã¿ã¾ãããlighty ã®ä¸ã®äººãæ¸ãã¦ã¾ãã ãã³ããlighty 1.5 ç³»ã pre release ããã¦ããã§ã¯ããã¾ãããï¼ ãªãã§ãã1.5 系㯠ãã¾ã¾ã§ãã 80% ã®ã¹ã«ã¼ãããåä¸ãè¦è¾¼ããã¨æ¸ããã¦ãã¾ããæ¿éã® lighty ãæ´ã«é«éã«ãªãã£ã¦ããã§ãããΣ(ï¾Ðï¾ï¼ Using Async IO allows lighttpd it overlap file-operations. We send a IO-request for the file and get notified when it is ready. Instead of waiting for the file (as in the normal sendfile()) and blocking the server, we ca
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}