Upgrade to Pro — share decks privately, control downloads, hide ads and more …

俺の中で今Kafkaが完全に熱い

 俺の中で今Kafkaが完全に熱い

Hosting Casual Talks #5 で今後の話をしました。

Kazuhiko Yamashita

March 22, 2019
Tweet

More Decks by Kazuhiko Yamashita

Other Decks in Programming

Transcript

  1. ʙ೤͍ʂʂʂ೤͗͢Δʂʂʂʂ͍΍΄ΜͱʹΞπ͍ʂʂ̍
    !QZBNB(.01FQBCP *OD
    ϗεςΟϯάΧδϡΞϧ
    ԶͷதͰࠓ,BGLB͕׬શʹ೤͍

    View full-size slide

  2. ΤϯδχΞ
    ࢁԼ࿨඙!QZBNB
    γχΞɾϓϦϯγύϧ
    IUUQTUFOTOBQPODPN

    View full-size slide

  3. झຯ
    wཱྀߦ
    wࠗ׆
    w͝൧

    View full-size slide

  4. 45/4
    -JOVY/444FSWFS
    TUOTKQ

    View full-size slide

  5. ͳͥࠓɺ,BGLBͳͷ͔

    View full-size slide

  6. ,BGLBͷಛ௃
    wߴ଎ॲཧ͕ՄೳͳϝοηʔδϯάγεςϜ
    w෼ࢄॻ͖ࠐΈɺඇಉظϨϓϦέʔγϣϯ˞ɺ෼ࢄಡΈࠐΈ
    wॳظ͸-JOLFEJOʹͯ։ൃɺݱঢ়͸"QBDIFࡒஂʹͯ؅ཧɺ-JOLFEJO͔
    ΒεϐϯΞ΢τͨ͠$POqVFOU͕։ൃΛओମతʹߦ͏
    wݴޠ͸+BWBɺ4DBMBͰ։ൃ
    wΫϥελϦϯά͕ՄೳͰ଱ো֐ੑɺૹୡอূɺݎ࿚ੑ͕ߴ͍
    ˞ઃఆ࣍ୈͰಉظϨϓϦέʔγϣϯ΋Մೳ

    View full-size slide

  7. LBGLBDMVTUFS
    ඵͰཧղ͢Δ,BGLB
    QSPEVDFS
    ૹΓख

    LBGLBCSPLFS
    UPQJD
    QBSUJUJPO
    LBGLBCSPLFS
    UPQJD
    QBSUJUJPO
    DPOTVNFSHSPVQ
    DPOTVNFS
    ड͚ख

    DPOTVNFS
    ड͚ख

    DPOTVNFS
    ड͚ख

    ૹΓखͱड͚खΛ/ͱ͢ΔόοϑΝʔ

    View full-size slide

  8. ,BGLBͷ࠾༻اۀ
    w௒େن໛σʔλΠϯϑϥΛܝ͛ΔαʔϏε
    w)BEPPQج൫
    wߴ଎ɾϦΞϧλΠϜॲཧ͕ඞཁͳαʔϏε
    wϦΞϧλΠϜݕࡧɾ޿ࠂೖࡳ

    View full-size slide

  9. ͳͥࠓʹͳͬͯ,BGLBͳͷ͔

    View full-size slide

  10. Ϋϥ΢υ
    ωΠςΟϒ
    ͩ

    View full-size slide

  11. ϖύϘ໨ࢦͭͭ͋͠ΔΫϥ΢υωΠςΟϒ
    wϖύϘ͸ϗεςΟϯάΛ࢝Ίͱ͢ΔΦϯϓϨɾαʔϏεΛ͓࣋ͬͯ
    ΓɺͦΕ͸͠͹Β͘ଓͩ͘Ζ͏
    w0QFO4UBDLͷ࣮ߦج൫ʹ͍ͭͯ΋ݱঢ়"84΍($1ͱൺֱͯ͠ίε
    τ໘ͷ༏Ґੑ͕ߴ͍
    wҰํͰɺෆಘҙͳྖҬ͸Ϋϥ΢υαʔϏε ϚωʔδυαʔϏε
    ΁

    ֎ग़͢͠Δ͜ͱͰɺຊདྷڧΈͷ͋Δͱ͜Ζ΁ूத͢Δ

    View full-size slide

  12. ͜Ε·Ͱͷྫϩά
    7.
    MPH
    XFCBQQ
    qVFOUE
    ͦΕͧΕͷ7.͕੹຿Λ࣋ͬͯॲཧ͍ͯͨ͠

    View full-size slide

  13. ͜Ε͔ΒͷྫLT
    ͜͏ͳΔ͡Όͳ͍Ͱ͔͢
    7.
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    QPE QPE QPE QPE QPE

    View full-size slide

  14. ͜Ε͔ΒͷྫLT
    ίϯςφԽͨ͜͠ͱʹΑΓɺ7.͕૬खʹ͢Δ
    ϩάͷྔ͸૿͑Δ
    7.
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    QPE QPE QPE QPE QPE

    View full-size slide

  15. QZBNB͕ࢥ͏ϙετίϯςφ࣌୅ͷߏ੒
    ϝΠϯϓϩηεҎ֎͸-JOVYͷίϯϙʔωϯτͷ
    ༻ʹৼΔ෣͏ΫϥελϫΠυͳίϯϙʔωϯτΛ४උ͢Δ
    ΄͏͕Ϧιʔεޮ཰͕ྑ͍
    7.
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    MPH
    XFCBQQ
    qVFOUE
    QPE QPE QPE QPE QPE
    ͜ͷ෦෼ΛSTZTMPHEΈ͍ͨͳ૚ʹ͢Δͷ͕
    ྑ͍ͷͰ͸ͳ͍͔ʁ

    View full-size slide

  16. QZBNB͕ࢥ͏ϙετίϯςφ࣌୅ͷߏ੒
    LTOPEF
    LBGLBDMVTUFS
    LTOPEF
    LTOPEF
    LT্Ͱಈ͘ϩά͸͢΂ͯLBGLBʹ౤͛Δ
    LBGLBͰόοϑΝϦϯάͭͭ͠ɺޙଓ͸
    ϏϡοϑΣతʹ޷͖ͳͱ͜ΖʹσʔλΛྲྀ͢

    View full-size slide

  17. ͳͥ,BGLBΛڬΜͩ΄͏͕͍͍͔ʁ
    wLTOPEFͷϦιʔεΛ༗ޮར༻͢ΔͨΊʹɺϝΠϯΞϓϦҎ֎ͷ࢓
    ࣄΛͤ͞ͳ͍
    wLBGLBΛڬΉ͜ͱͰσʔλ͕ू໿͞ΕΔ͜ͱ͕ɺࠓޙߋʹਐΉϚΠΫ
    ϩʔαʔϏεԽͱͷ૬ੑ͕Α͘ɺଟ͘ͷαʔϏε͔Βͷ৘ใΛҰՕॴ
    Ͱѻ͑ΔΑ͏ʹͳΔ
    w,BGLBDPOOFDUΛར༻͢Δ͜ͱͰଟ͘ͷ044ɺϚωʔδυɾαʔϏε
    ͱ࿈ܞͰ͖Δ͜ͱ͔ΒɺͦΕ͚ͩͰ΋े෼ϝϦοτʹͳΓ͏Δ

    View full-size slide

  18. ϖύϘతͳϝϦοτ
    wϖύϘʹ͸ଟ͘ͷ঎ࡐ͕͋ΓɺͦΕΒΛҰͭͷ,BGLB$MVTUFSͰॲཧ
    Ͱ͖Δ͜ͱ͸ίετ༏Ґੑ͕ߴ͍
    w,BGLBͷ଱ো֐ੑ΍ϝοηʔδ౸ୡੑ͸ෳ਺঎ࡐΛ·͍ͨͩͱ͖ͷӨ
    ڹΛݶఆతʹͰ͖ΔͨΊσϝϦοτ΋গͳ͘Ͱ͖Δ
    wಠࣗͷ$POOFDUPSͷ։ൃ͕঎ࡐΛލ͛Δ͜ͱ͔ΒϨόϨοδޮՌ͕ߴ
    ͍
    w
    ͜ΕΒͷϊ΢ϋ΢Λͦͷ··
    ϗεςΟϯά΁

    View full-size slide

  19. ༨ஊ
    w؂ࢹͱ͔΋ͦ͏ͳ͍ͬͯ͘Μ͡Όͳ͍͔ͳʁ
    wαΠυΧʔతʹ͜Ε·Ͱͱಉ͡ؤுΓํΛ͢ΔͷͰ͸ͳ͘ɺαΠυΧʔ
    Ͱநग़ͷΈΛߦ͍ɺ࣮ଶ͸֎Ͱ΍Δͷ͕Αͦ͞͏

    View full-size slide

  20. ҰํͰ࠷ۙϘΫ͸Ϋϥ΢υωΠςΟϒɺ·ͨ͸Ϋϥ΢υωΠςΟϒɾω
    ΠςΟϒͱ͍ͬͯΫϥ΢υαʔϏεΛ࡞ΔଆͳͷͰࢥ͏͜ͱͳͷ͔΋͠
    Εͳ͍ͷ͚ͩͲɺΫϥ΢υωΠςΟϒͳΞʔΩςΫνϟʹ͓͍ͯ؂ࢹͷ
    ͋Γํ͸େ͖͘มΘͬͯߦͩ͘Ζ͏ɻίϯςφ͸͋͘·ͰϓϩηεͰ͋
    ΓɺͦΕΒΛ͜Ε·Ͱͱಉ͡Α͏ʹ؂ࢹ͠Α͏ͱ͢ΔͱͦΕ͸ސ٬ͷ๬
    Ή΋ͷͰ͸ͳ͍ͱ͍͏͜ͱ͕େ͍ʹى͜ΓಘΔ͔ΒɺίϯςφɾΦʔέ
    ετϨʔγϣϯͷைྲྀʹ߹Θͤͯ·ͨมԽ͕ඞཁʹͳΔͩΖ͏ɻ
    ʮ.BDLBSFMΞϯόαμʔʹͳͬͨʯ
    IUUQTQZBNBGVOBSDIJWFT

    View full-size slide

  21. झຯ͸ࠗ׆Ͱ͢

    View full-size slide

  22. ,BGLB͕೤͍ཧ༝͸ͭ

    View full-size slide

  23. ͜Ε·Ͱ͸ଟ͘ͷاۀ͕,BGLBΛඞཁ
    ͱ͍ͯ͠ͳ͔͕ͬͨɺίϯςφͷߴू
    ੵԽ͕ਐΉͱϩά͸γεςϜϫΠυͳ
    STZTMPHͷΑ͏ͳѻ͍Λͨ͠΄͏͕

    ޮ཰͕͍͍

    View full-size slide

  24. ,BGLBͷ଱ো֐ੑɺ

    ϝοηʔδ౸ୡอোͳͲͷ࢓૊Έ͸

    ϚΠΫϩαʔϏε΍ෳ਺঎ࡐͱ

    ૊Έ߹Θͤͨ৔߹ʹɺ
    ҆ఆతʹӡ༻͕Ͱ͖͏Δ

    View full-size slide

  25. ,BGLB$POOFDUΛར༻ͨ͠
    ϏϡοϑΣతͳޙଓબ୒ࢶͱ
    ಠࣗͷ$POOFDUPS։ൃͷ༰қ͞͸
    ͱͯ΋ັྗత

    View full-size slide