Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Sidekiq vs Solid Queue

Sidekiq vs Solid Queue

kaigi on rails 2024の発表資料です

https://kaigionrails.org/2024/talks/willnet/

Shinichi Maeshima

October 26, 2024
Tweet

More Decks by Shinichi Maeshima

Other Decks in Technology

Transcript

  1. 3BJMT޲͚όοΫάϥ΢ϯυϫʔΧʔͷྺ࢙ w "DUJWF+PCҎલ w #BDLHSPVO%3C w %FMBZFE+PC w 3FTRVF w

    4JEFLJR w "DUJWF+PCҎޙɺ3BJMTҎલ w (PPEKPC w 3BJMT w 4PMJE2VFVF
  2. 4PMJE5SJGFDUB w 4PMJE2VFVF 4PMJE$BDIF 4PMJE$BCMFʹڞ௨͢Δ࿩ w 3FEJT͔Βͷ୤٫ w ೥ͷσΟεΫ )%%

    ੑೳͱࠓͷσΟεΫ 44% ͷੑೳΛൺ΂Δͱ໿ഒྑ ͘ͳ͓ͬͯΓɺ%#ʹର͢Δ3FEJTͷ༏Ґੑ͸౰࣌ͱൺ΂ͯ૬ରతʹݮ͍ͬͯΔ w ϝϞϦͷ༰ྔ͋ͨΓͷՁ֨ͱσΟεΫͷ༰ྔ͋ͨΓͷՁ֨Ͱൺ΂Δͱѹ౗తʹ σΟεΫͷ΄͏͕҆ՁͰ͋ΓɺϢʔεέʔεʹΑͬͯ͸σΟεΫͷ΄͏͕༗ར w SBJMTOFXͨ͠ͱ͖ͷߏ੒ཁૉΛҰͭݮΒͤΔ w 0OF1FSTPO'SBNFXPSL
  3. ػೳൺֱͷલʹ4JEFLJRͷػೳΛ΋͏গ͠ਂງΓ w ࢓ࣄͰ͸গͳ͘ͱ΋঎༻൛ͷ4JEFLJR1SP ೥ Λ࢖͏ͷ͕લఏ w 4JEFLJR1SPʹ͸ೋछྨͷ৴པੑΛߴΊΔػೳ͕͋Δ w ΤϯΩϡʔ࣌ʹ3FEJTʹΞΫηεࣦഊͨ͠ΒϝϞϦ্ʹࣦഊͨ͠δϣϒͷ৘ใ ΛͨΊ͓͖ͯɺ࣍ͷΤϯΩϡʔ࣌ʹ࠶ૹ͢Δ

    w δϣϒ࣮ߦதʹͳΜΒ͔ͷཁҼͰϓϩηε͕ࢮΜͰ΋δϣϒͷ৘ใΛࣦΘͣʹ ࠶࣮ߦͰ͖Δ w ࣮ࡍʹ͸4JEFLJR&OUFSQSJTF d݄ Λਪ঑ w DSPO౳ͷศརͳػೳΛެࣜαϙʔτ෇͖Ͱར༻Մೳ
  4. ετϨʔδ w 3FEJT͔3%#͔ w 4PMJE2VFVF͸جຊతʹ͸δϣϒઐ༻ͷ%#Λ࣋ͭલఏ͚ͩͲ૬৐Γ΋Ͱ͖Δ w খ͍͞αʔϏεͰ͋Ε͹ΞϓϦέʔγϣϯͷ%#ͱ૬৐Γ͕Ͱ͖Δ4PMJE2VFVF͕؅ཧ͠΍ ͯ͘͢༗ར w େྔͷδϣϒΛѻ͏αʔϏεͰ͋Ε͹4JEFLJR

    3FEJT ʹ༏Ґੑ͕͋Δ w )&:͸4PMJE2VFVFͰສδϣϒ೔Λѻ͍ͬͯΔ࣮੷͕͋ΔͷͰಉ౳ͷϨϕϧͰ͋Ε ͹4PMJE2VFVFͰӡ༻Մೳ w 4JEFLJRͩͱສδϣϒඵͷ࣮੷ΞϦͱͷ͜ͱ w 4JEFLJR͸3FEJTޓ׵ͷ%SBHPO fl Z΋ར༻ՄೳͳͷͰɺ͞Βʹͨ͘͞Μͷδϣϒ΋ѻ͑Δ͸ͣ
  5. ػೳ w 4PMJE2VFVF͸ݱ࣌఺Ͱ͸)&:͕ٻΊ͍ͯΔػೳΛ͍࣋ͬͯΔ w DSPO w ಉ࣮࣌ߦͷ੍ޚ w 4JEFLJRʹ΋্هػೳ͸͋Δ w

    ݱ࣌఺Ͱ4JEFLJRʹ͋ͬͯ4PMJE2VFVFʹͳ͍ػೳ͸͍͔ͭ͋͘Δ w IUUQTHJUIVCDPNTJEFLJRTJEFLJRXJLJʹ4JEFLJRͷ͢΂ͯͷػೳͷ৘ ใ͕·ͱ·͍ͬͯΔ