Pro Yearly is on sale from $80 to $50! »

Sidekiqでクラスターモードは使えるのか? / kawasakirb_060

227427c9146ca16f86f78a6a021105ec?s=47 masaru-tech
May 23, 2018
340

Sidekiqでクラスターモードは使えるのか? / kawasakirb_060

227427c9146ca16f86f78a6a021105ec?s=128

masaru-tech

May 23, 2018
Tweet

Transcript

  1. 4JEFLJRͰΫϥελʔϞʔυ ͸࢖͑Δͷ͔ʁ LBXBTBLJSC

  2. ͸͡ΊΔલʹɾɾɾ

  3. प೥͓ΊͰͱ͏͍͟͝·͢

  4. ࣗݾ঺հ w େఉɹকʢ͓͓͹ɹ·͞Δʣ w !NBTBSVUFDI w ීஈ͸3BJMTʢ͋ͱ7VFKTʣͰ͓࢓ࣄ w LBXBTBLJSC͔ΒࢀՃ

  5. 4JEFLJRͰΫϥελʔϞʔυ ͸࢖͑Δͷ͔ʁ

  6. ݁࿦ w ࢖͑·ͤΜʂ ͱXJLJ΍JTTVFͷίϝϯτʹ͋Δ

  7. ΫϥελʔϞʔυʁ ˞3FEJT͸"84&MBTUJDBDIFͱͯ͠࿩͠·͢

  8. None
  9. ͳͥΫϥελʔϞʔυʁ w ϑΣΠϧΦʔόʔ࣌ͷӨڹ౓ w 3FBE͸ڞʹ໰୊ͳ͍ w 8SJUF͸ඇΫϥελʔϞʔυͩͱશମʹӨڹ w ϑΣΠϧΦʔόʔͷ࣌ؒ w

    ΫϥελʔϞʔυɿTFD w ඇΫϥελʔϞʔυɿʙNJO ެࣜͷ'"2ʹ͸ʙ෼ͱ΋  w ΦϯϥΠϯϦαΠζػೳ w μ΢ϯλΠϜͷεέʔϧΞ΢τ
  10. ͸͍ͦ͏Ͱ͔͢ͱࣺͯΔʹ͸੯͍͠

  11. ࣮ࡍʹࢼͯ͠Έͨ &3303.07&% (›˃˘˃)›ớᵲᴸᵲ

  12. ͳͥ 10.0.5.153:6379> get test1 -> Redirected to slot [4768] located

    at 10.0.4.135:6379 "hello1" 10.0.4.135:6379> get test2 -> Redirected to slot [8899] located at 10.0.5.153:6379 "hello2" 10.0.5.153:6379> get test3 "hello3" 10.0.5.153:6379> get test1 -> Redirected to slot [4768] located at 10.0.4.135:6379 "hello1" w ΫϥελʔϞʔυͩͱHFUTFU͢ΔͱϦμΠϨΫτઌΛڭ͑ͯ͘ΕΔ w SFEJTDMJ͸ϦμΠϨΫτʹରԠ͍ͯ͠Δ
  13. ͳͥ w ͔͠͠4JEFLJR͕ར༻͍ͯ͠Δ3FEJTΫϥΠΞϯτͷSFEJTSC͕ͦ΋ ͦ΋ରԠ͍ͯ͠ͳ͍ w ϓϧϦΫ͸ग़͍ͯΔ w IUUQTHJUIVCDPNSFEJTSFEJTSCQVMM w SFEJTSC͕ରԠͯ͠΋4JEFLJR͕3FEJTOFX͢ΔͷͰΫϥΠΞϯτΛ

    ࠩ͠ସ͑ΒΕͳ͍ w Ծʹࠩ͠ସ͑Ͱ͖ͯ΋ɺ4JEFLJRͷ࡞ऀ͕ΫϥελʔϞʔυͰ σβΠϯ͞Ε͍ͯͳ͍ͱݴ͍ͬͯΔͷͰଞͷӨڹ͕ෆ໌
  14. ͪΐͬͱ؆୯ʹ͸͍͔ͳͦ͏Ͱ͢Ͷɻɻ 5P5

  15. ͱ͍͏͜ͱͰ w ࠓճ͸ͱΓ͋͑ͣɺϚϧν";Λར༻͢Δ͜ͱͰՄ༻ੑΛߴΊΔ w ࣗಈϑΣʔϧΦʔόʔ෇͖ w εέʔϧΞοϓͷ࣌Ͳ͏͢Δ͔͕͋Δ͕ɺ4JEFLJR͚ͩར༻ͳΒ଍ΓΔ ͷͰ͸ͱࢥ͍ͬͯΔ w Ϛϧν";ʹͰ͖Δ࠷খλΠϓͷDBDIFNNFEJVN͕(#

    w ֬ೝͷ্ݕ౼ w 4JEFLJR1SPͩͱͲ͏ͳΜͩΖ͏ʁ w Կ͔஌ݟ͋Δํ͍ͨΒ