表é¡ã®éããçºè¡¨ãã¦ãã¾ããã
Sidekiq vs Solid Queue | Kaigi on Rails 2024
ã¹ã©ã¤ãã¯ãã¡ãã
çºè¡¨ã«è³ãã¾ã§ã®éã®ã
- ã¤ãã³ãã®æ親ä¼ãªã©ã§ã¨ã³ã¸ãã¢ã®äººã¨è©±ãã¦ããã¨ãã«ãæè¿æ°ã«ãªã£ã¦ããgemããã¾ãï¼ãã®ãããªè³ªåã«ãSolid Queueã§ãããããã¨è¿ãã¨ããªãã§ããããï¼ãã¨èãããããã
- ã¤ãã³ãã®æ親ä¼ãªã©ã§Sidekiqã使ã£ã¦ããä¼ç¤¾ããã®ä¸ã®äººã«ProãEnterpriseã¤ãã£ã¦ã¾ãï¼ã¨èãã¨ããªãã§ããããï¼ãã¨èãããããã
- æ°ããRailsã§æ¨æºã«ãªã£ãããæ¢åã®Railsã¢ããªã±ã¼ã·ã§ã³ã«ã¯å½±é¿ããªããã®(ä¾: importmaps)ã«å¯¾ãã¦ãRailsã¢ããã°ã¬ã¼ããããªããã対å¿ããªãã¨ãããªãã§ããï¼ãã¨èãããããã
Sidekiqã¨Solid Queueããé¡ã«ãã¦è©±ãã°ãã®æã®çåãä¸æ°ã«è§£æ±ºã§ããããªãã¨èããã¨ããã§ãSidekiq vs Solid Queueãã¨ãããã£ããã¼ãªã¿ã¤ãã«ãæµ®ããã§ãã¦ãããã¯ãããã¼ã¶ã«éãã ãããªã¨ãã確信ãå¾ãã«è³ãã¾ããã
ããã«ããã¾ã§ã®ããã¯ã°ã©ã¦ã³ãã¯ã¼ã«ã¼ã®å¤é·ã§å°ããã¤æ©è½ãã¤ã³ã¿ãã§ã¼ã¹ãæ´ç·´ããã¦ããã®ã¨2024å¹´ç¾å¨ã®ç¶æ³ãè¸ã¾ãã¦ã§ããã®ãSolid Queueãªãã§ãããã¨ãã説æããããã¦backgrounDRbããã®gemã®è§£èª¬ãçãè¾¼ãã ã®ã§ãããå®éã«è³æãä½ãã¨æéã®é¢ä¿ã§æ´å²ã«ã¤ãã¦ã¯å¤§å¹
ã«èª¬æãçç¥ããããå¾ãªãã£ãã®ãæ®å¿µãã¤ã³ãã§ããDelayed::Jobã®delay
ã¡ã½ããã«ã¤ãã¦ã¨ãResqueã®ã¸ã§ãå®è¡ãã¨ã«forkãã話ã¨ããããã£ãã®ã§ãããããã ã¨60åè¶
ã®çºè¡¨æéãå¿
è¦ãªã®ã§ããâ¦ã
1æ¥ç®
ãã¤ã¦ãªãã¬ãã«ã§æºåæéããªãã£ãã®ã§ãåºèª¿è¬æ¼ã ãè´ãã¦æ®ãã¯è³æä½æããã¦ãã¾ãããçºè¡¨è
æ§å®¤ãç¨æããã¦ãã¦ãããã§ä½æ¥ã«éä¸ã§ãã¦å©ããã¾ããã
åºèª¿è¬æ¼ã¯ãpalkanã®èæ¸ã§ãã Layered Design for Ruby on Rails Applicationsã¨ä¸»å¼µã¯ä¸è²«ãã¦ãããã ãã©æ¬ã®å
容ãã®ã¾ã¾ã§ã¯ãªãããµã³ãã«ãè¤æ°ã¹ãããã®ãã©ã¼ã ã«ãªã£ã¦ãã¦æ¬ãèªãã§ãã¦ã楽ãããå
容ã«ãªã£ã¦ãã¦ããã£ããªãã¨æãã¾ããã
Kaigi on Rails 2024ã«åå ãã - It's okay to be weird ã§nagatomiãããæ¸ãã¦ããã©ãäºåã«è¬æ¼è
ã®èæ¸ãèªãã¨ãããã©ã¯ãã£ã¹ã¯ç¾å ´ã§ã®è¬æ¼ã®ç解度ã¨æ¥½ãããä¸ããã®ã§å¤§å¤ãªã¹ã¹ã¡ã§ãã
Layered Design for Ruby on Rails Applicationsã¯åãããã¾ã§èªãã§ããRailsãæ¡å¼µããç³»ã®æ¬ã®ä¸ã§ä¸çªèªç¶ã«Railsã伸ã°ãããæ¹ãæ¡ç¨ããã¦ãã¦ãæ¥ã
ã®æ¥åã«çµã¿è¾¼ã¿ããããã©ã¯ãã£ã¹ãæ¸ããã¦ããæ¸ç±ãªã®ã§æ¥æ¬èªç¿»è¨³ã®è©±ãé²ãã§ãã£ã½ãï¼ãã©ç¿»è¨³ãå¾
ããã«åèãèªã価å¤ããããããªãããªãã¨æãã¾ãã
åã¯å®¶æã®åç以å¤ã«åçãæ®ãç¿æ
£ãå
¨ç¶ãªãã®ã§ããããã£ããã¹ãã©ããã®è²åããªã© rubyfriendsããããã®å·¥å¤«ãããã®ã«ãªã«ãããªãã®ãã¤ã¾ããªããªãã¨ååã®RubyKaigiã®ã¨ãã«æã£ãã®ã§æ親ä¼ã®ã¨ãã«ä¸åã ãrubyfriendsãã¦ããã¾ããã次åãæãåºãããrubyfriendsãã¦ããããã¨ããã§ãã
ãã®ã»ãæ親ä¼ã§ã¯å³¶ç°ããã«ãªãã»ã©TCPã½ã±ããæé«ã§ãï¼ã¨ææ³ãç´æ¥ãä¼ããããã¨ãã§ããã®ãããã£ãã§ããèªåãå·çããæ¸ç±ã誰ãã©ããããèªãã§ãã¦ã©ã®ãããªææ³ãæã£ã¦ããã®ããªããªãããããªãã®ã§èªãã ãã®ã«ã¤ãã¦ã¯ãªãã¹ãææ³ããä¼ãããã®ãè¯ããªãã¨æãã¾ããã
åã¯æ±äº¬å¨ä½ãªã®ã§ããææã¾ã§ã®ç§»åã¯ããããæéããããã®ã§ãæ親ä¼ã®ä¼å ´ã§ããã¯ã·ã³ãã³ããã«ãäºç´*1ãã¦ãã¾ãããæ親ä¼ãçµãã£ã¦ããã¨ã¬ãã¼ã¿ã§ä¸ã«ããã¨ããã«é¨å±ã«å
¥ãã¦æé«ã®ä½é¨ã
2æ¥ç®
è³æãåºæ¥ä¸ãã£ã¦ãããçºè¡¨ç·´ç¿ãããã«ã§ä½åº¦ãã§ããã®ã§ãããªããªã©ãã¯ã¹ãã¦çºè¡¨ã«è¨ãã¾ãããã§ãããã£ãçºè¡¨å
容ã¯ã©ã¡ããã¨ããã¨åå¿è
ãä¸ç´è
ãããã«åããå
容ã«ãªã£ã¦ãã¦è´ãã¦ããã人ãã¡ã«ã©ããããåºãã話ã«ãªã£ã¦ãããä¸å®ã ã£ãã®ã§ãããXã®åå¿ãªã©ãè¦ãéããããªãã«è©ä¾¡ãããããã§è¯ãã£ãã§ãã
çºè¡¨è³æã®æå¾ã®ã¹ã©ã¤ãã«ããã¾ããã顧åå
ã«é±1ç¨åº¦ã®ç©ºããã§ããã®ã§ããã¯ã°ã©ã¦ã³ãã¯ã¼ã«ã®è©±ããã£ã¨çªã£è¾¼ãã§èããããã¨ãææ°ã®Railsãªãããããããããã£ããã¢ããããã*2ã¨ãããä¼ç¤¾ããããããªãããã®æ¹æ³ã§ãåãåãããã ããã
ããã¦Kaigi on Rails2025ã¸
ãã§ã«Kaigi on Rails 2025ã«æ
å ±ãããã¾ããã次åã®éå¬ã¯9/26~27ãªãã§ããããããã¦åã®èªçæ¥(ãã¤çµå©è¨å¿µæ¥)ã¯9æ27æ¥ã ã£ãããã¾ãããªã®ã§æ¥å¹´ã¯ã©ãããå½¢ã§è¨ãã¨ããããªãã¨ä»ããææ¡ãå·¡ããã¦ããã¨ããã§ãã(ç®ç®ç¨ã«ãç¨ãããã¾ãã)27æ¥ã«ç»å£ãã¦å®¶æã¨ã¡ãã£ã¨ç¾å³ããã飯ãé£ã¹ãããã§ããã¨ããããªãã