Redis ã®ã¤ã³ã¹ãã¼ã« https://github.com/defunkt/resque ãåç §ã git clone git://github.com/defunkt/resque.git cd resque rake redis:install dtach:install rake redis:start gem install bundler bundle install ã¢ãã¿ãªã³ã°ç¨ç®¡çWebã¢ã㪠resqueã®gitã¬ãã¸ããªã®ä¸ã®ç®¡çã¢ããªã±ã¼ã·ã§ã³ãèµ·åããã cd resque/examples/demo rackup config.ru ãã©ã¦ã¶ã§ http://localhost:9292/ ã®ããã«ã¢ã¯ã»ã¹ãããã¨ã§ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ã§ããã rails 3 㧠resque ã使ã Gemfile ãç·¨éãã vi Gemfile 以ä¸ã®ä¸è¡ã
FlexãRuby on Railsãªã©ã§ä½¿ãæ¹ã¨ããèªåãå¾ã§ãããããã«ã¡ã¢ãã¦ããããã°ãæè¿ã¯Flexç³»ã«é£½ãã¦ã¾ãã Railsã®éåæå¦ç Resque åããç·¨ ä»åã¯Resqueãåããæå°é度ã®è¨å®ããã¦ããã¾ã Redisããã¼ã«ã«ã§ç¨¼åä¸ã§ãããã¨ãåæã«ãã¦ãããããã¤ã³ã¹ãã¼ã«ããã¦ããªãå ´åã¯ã¤ã³ã¹ãã¼ã«ãã¦ãã御確èªãã ãã ãªããRedisã®ãµã¼ãIPãæå®ããããã¹ãã¯ã©ãããã®ããªã©ã®ç´°ããã¨ããã¯æ¬¡å説æãã¾ã Resqueã®é å : Resqueæ¨æºæ·»ä»ã®ç¶ºéºãªç®¡çç»é¢ æ¤è¨¼ç°å¢ ruby-1.9.2@290 rails 3.0.9 resque 1.17.1 redis 2.2.11 (port 6379ã§èµ·åæ¸ã¿) Resqueãåããããã®æºå Gemfileã¸ã®ç»é² 以ä¸ãGemfileã«è¿½å ãã¾ã(developmentã°ã«ã¼ãçã«ã¯ãããª
ããã¨ããã®ç¶ãããã®å¾ãããå°ã調æ»ãã¦ãResqueãå®éã®ã·ã¹ãã ã®ä¸é¨ã§ä½¿ãå§ãã¦ã¿ãã®ã§ãã®ææ³ã¨ã¡ã¢ã ååã¾ã§ã®ãããã Resqueã¯ããã¯ã°ã©ã¦ã³ãã§ã¸ã§ãã®å®è¡ããããã®ã§ãããªãã®å¤§è¦æ¨¡ãµã¤ãã§ãã¤æ´æ°ç³»ã®å¦çãå¤ãããªã·ã¹ãã ã§ããGithubã§éçºãã使ããã¦ããããããã使ãæ¹ã¨ãã¦ã¯ããWeb UIã軽ãè¦ãããããå¦çã®ä¾é ¼ã ããåãä»ããå®éã®å¦çã¯ããã¯ã°ã©ã¦ã³ãã§å®è¡ãããããå¦çãªã©ã§ã大éã®JobãQueueã«çªã£è¾¼ãã§ããã¦ã(è¤æ°ã®)workerã§ä¸¦åã§å¹çããå¦çããªã©ãããã ä¸å®ãªã¨ãã Resqueã®å¤§ããªç¹å¾´ã¯ãQueueãRDBMSã§ã¯ãªãRedisä¸ã«ä½ãã¨ããã«ãããRedisã¯ãMemcacheã®ããã«ã·ã³ãã«ã«ä½¿ãããã¹ã¦ã®ãã¼ã¿ã¯ã¡ã¢ãªä¸ã«å±éãããã®ã§ã¨ã¦ãéãããã¼ã¿ã¯ãã£ã¹ã¯ä¸ã«ãæ°¸ç¶åãããã®ã§ãä½ããã£ãã¨ãã«ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}