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

Henry のサーバーサイドアーキテクチャ 狙いと課題 2022.08.25 / Server-Side Architecture at Henry, Inc.

Agata Naomichi
August 25, 2022
2.5k

Henry のサーバーサイドアーキテクチャ 狙いと課題 2022.08.25 / Server-Side Architecture at Henry, Inc.

Agata Naomichi

August 25, 2022
Tweet

Transcript

  1. 4FSWFSTJEF,PUMJOⲰ䍚⚡
    )FOSZסئ٭ف٭ئؕغؓ٭؞طؠزٔ
    斤ַכ鐐갭

    View full-size slide

  2. /BPNJDIJ"HBUB
    ˝ _8BOUFEMZ *OD
    ˝ ئ٭ف٭ئؕغ 嚀危㰢綗 ظ٭ذ㓹泅
    ˝ _)FOSZ *OD
    ˝ ئ٭ف٭ئؕغ
    舅䄕磆☭
    !BHBUBO!BHBUBO@

    View full-size slide

  3. )FOSZס舅䄕磆☭؅⪵ניյئ٭لتסؓ٭؞طؠزٔכאס斤ַמ
    חַיֽ鎇׊׊ױ׌ն
    ˝ )FOSZע⛰؅⛼זיַ׾ס־
    ˝ "SDIJUFDUVSF0WFSWJFX
    ˝ 䤗软鹟㲊ס斤ַ
    ˝ )FOSZסꝧ氦تذٜؕ
    ˝ ☪仼ױךסר׽־ֻ׽
    ˝ ☪䏲מ⺸ׄי
    ☪仼鎇׌׆כ

    View full-size slide

  4. )FOSZע⛰؅⛼זיַ׾ס־
    ؓ٭؞طؠزٔ٬䤗软鹟㲊ס⯥䬠ס⪦僗

    View full-size slide

  5. IUUQTTQFBLFSEFDLDPNIFOSZPDJBMIFOSZDVMUVSFEFDL TMJEF
    )FOSZע⛰؅חׂזיַ׾ס־

    View full-size slide

  6. )FOSZע⛰؅חׂזיַ׾ס־
    ˝ ׉זׂ׽րٝجؤ٤┉⛮㑔꧅㯸؜ٜطցכַ؂׿׾׵ס؅חׂזיַױ׌ն
    ˝ ꧅㯸؜ٜط⵳殴䗯㕔؅鋗ꎰ٬畘杼׌׾خنعؘؗؓ
    ˝ ٝجؤ٤ ٝجوعؤ٤مٖ٭ذ
    錚殴㕔ꀥ⯆䈱מ㓹טַג⚡銶䗯㕔؅畘
    杼׌׾خنعؘؗؓ
    ˝ 攐מٝجؤ٤ֿ攐墤ךـ٭غ˟!
    ˝ غْؕ٤湳閁ס釐姲ٝيֿٜ냕ַ
    ˝ ⸬劲מٜ٭ٜמ⯞׾׆כֿ姲״׼׿׾

    View full-size slide

  7. "SDIJUFDUVSF0WFSWJFX

    View full-size slide

  8. "SDIJUFDUVSF0WFSWJFX

    View full-size slide

  9. "SDIJUFDUVSF0WFSWJFX

    View full-size slide

  10. 3FBDU邮نٞ٤عؙ٤غ
    "QPMMP$MJFOU
    5ZQF4DSJQU邮
    鏀錞յ(SBQI2-̭H31$
    ,PUMJO邮
    H31$+BWB؅⮵榫
    ,PUMJO邮
    H31$+BWB؅⮵榫
    &YQPTFE 03.
    ؅⮵榫
    "SDIJUFDUVSF0WFSWJFX
    OFYUע/FYUKTכע扛꞊➟ך׌

    View full-size slide

  11. 䤗软鹟㲊ס斤ַ

    View full-size slide

  12. "SDIJUFDUVSF0WFSWJFX

    View full-size slide

  13. 8IZ#'' 8IZ(SBQI2-
    ˝ فشؠؙ٤غئ٭لت؅⮆Ⱏ׌׾⮭了ֿ⩝מֵזג 䏲鳭

    ˝ ̜نٞ٤عؙ٤غֿ⹆拨׌׾ئ٭ف٭؅꥗硜׊יֽ׀גַ
    ˝ ̜鏀錞؅┉甙䢥ך׷׽גַ
    ˝ نٞ٤عؙ٤غ釱憠ס釐姲
    ˝ ̜نٞ٤عؙ٤غꝧ氦מ׵ت؞٭ֿُ培׊ַ
    ˝ ̜"QPMMP$MJFOUס敯䛜畘杼מסז־׽גַ

    View full-size slide

  14. 8IZ#'' 8IZ(SBQI2-
    ˝ #''ס㲔逷עյH31$סت؞٭ُ㲊紶־׼ⶐ舅Ⳃ氳מؤ٭غ榟䡗׊יַ׾
    ˝ H31$כ(SBQI2-ס◅ꄆت؞٭ُ畘杼ゖ갭؅鉮寕׌׾
    ˝ ٞةشؠֿ┘䑒釐מ丆鶱׌׾׆כ؅ꡔ׃
    ˝ QSPUP־׼׮כ؆לסؤ٭غ؅榟䡗׌׾ֿյ(SBQIכ׊יחםׁ׆؆ד׽׌
    ׾鼧⮆ע䣆Ⳃ

    View full-size slide

  15. "SDIJUFDUVSF0WFSWJFX

    View full-size slide

  16. 8IZ,PUMJO
    ˝ ꪐ氳㑔♀銧鏤ךֵ׾
    ˝ غْؕ٤ֿ邾ꥭյ־ח㓹䇠بتطّכ׊יס㔋擱䓪ֿ姲״׼׿׾
    ˝ 䫑榫ס׊׷׌׈
    ˝ 銧鏤☔⹾ס䇶׈
    ˝ ٓر٤ם銧鏤ךֵ׽חחյ☽ס銧鏤־׼סتؕشز٤ءؤتعֿ⛥ַ
    ˝ 㓹䇠بتطّ؅+BWBך傴ַג磬꽦סֵ׾亠׫ؓوٞ٭ز׊גַ
    ˝ ׮־מ׵˟
    ˝ ؛٤وٝ嚀㉺כס鵽䯥 31$磬榺ךםַ鵽䯥
    םל؅縒ֻגכ׀յ+BWB؅
    癨ⶡמ鉴׿׾׆כֿ僗⮵מ⥸ׂ⺎耆䓪
    ˝ 4%,ֿ鿥׼׿יַג׽˟/&5硌ס׮ֹֿ䍚ַꯛ㓊־׵׊׿םַ

    View full-size slide

  17. 8IZH31$
    ˝ ت؞٭ُ껮Ⳃꝧ氦؅䑩⺸׊ג־זג 䏲鳭

    ˝ 3&45GVMמ׷׾׻׽յٗ٭تآ٭ت䧗⺸ך31$؅㲊紶׊ג־זג
    ˝ אס☽מ׵ր*%-؅䧏ח31$نٝ٭ّ٠٭ؠցע㰆㏇׌׾ֿյ攐⮯⨣⛣ם憠
    ؅釤ַד׊גכַֹ׻׽עյْ٤ف٭ס⮵榫磬꽦׷㲔竮־׼鹟䥃׈׿ג

    View full-size slide

  18. "SDIJUFDUVSF0WFSWJFX

    View full-size slide

  19. 䎎⮣ס斤ַ
    ˝ SFDFJQUٝجوع٬錚殴㕔ꀥ⯆䈱מחַיס銶畀؅╚ם鞊ⳉכ׌׾
    ˝ 哕ⱱ)FOSZ"HOPTUJDםٓظٛ٤ء٬㲔逷؅泘䧗׊גַ
    ˝ ꄆ釱׈׿׾סעր㔋擱䓪ց
    ˝ 㵱䅻׋׶םׂ䇶㛻ך邾ꥭםסךյ㵧全氳מ缿כם׾
    ˝ ̜斻玮׊י氦㷣ך׀׾׻ֹמ׊גַ
    ˝ HFOFSBM哅ⳉ؅车םֹ槆ꪫ׷ٝجوع♓㛙סظ٭ذס畘杼؅╚ם鞊ⳉכ׌׾
    ˝ )FOSZס6*69מ泡מ㳝׽岣זגٓظٛ٤ء٬㲔逷؅泘䧗׊גַ
    ˝ ꄆ釱׈׿׾סעր刎鬁䓪ց

    View full-size slide

  20. ꝧ氦تذٜؕ
    ˝ بتطّؤ٤َ٭ؾ٤عׇכמ斻玮׊ג (JU
    3FQPTJUPSZ
    ˝ 㱦佄ם٬ِتמ׻׾㗞槡ס滭㙗؅錉׈םַ
    ˝ ت؞٭ُ껮Ⳃםꝧ氦؅䑩⺸
    ˝ QSPUPעIFOSZBQJTכַֹ3FQPTJUPSZמ╈㜆꥗嘤氳מ鿥糋
    ˝ (JU)VC1BDLBHFT HJUTVCNPEVMF
    ך⺨ؤ٤َ٭ؾ٤عמ鿥䄭
    ˝ *'ס伺澬⴫מ׻זי鏀閁ס룲뤕؅ꡔַד׽┾车ꝧ氦ס⺎耆䓪؅냕״׾
    IFOSZBQJT
    IFOSZC
    IFOSZHFOFSBMBQJ
    IFOSZSFDFJQUBQJ
    IFOSZXFC
    (SBQI2-סت؞٭ُכ׊י❣㰆

    View full-size slide

  21. HFOFSBMSFDFJQU؅⮆Ⱏ׌׾כַֹ⮭了

    ˝ 䎎⮣ס斤ַ׮ל伺澬ם⮆ꦕֿך׀יַ׾־כַ؂׿׾כ˟
    ˝ غْؕ٤מ㵚׌׾ⶇ⮆ם磬꽦⡁ֿםַג״מյ㗞槡؅科뜍מ錃ׄ׾׆כֿ
    ׳׍־׊־זג
    ˝ 湳閁ֿ鞎ױ׾ױך䙫㍲氳מ㗞槡ס錃㲊؅⩝䋝ף׊מ׊ג
    ˝ 䓦ַךַי鑽״ג
    杼䘶ס꞊➟
    IFOSZHFOFSBMBQJ
    IFOSZSFDFJQUBQJ
    SFDFJQUֿ嚀耆؅䬠❠ HFOFSBMֿ鸵⺬׊י⮵榫
    ❣㰆ס亠⺸
    杯㲔ס꞊➟
    IFOSZHFOFSBMBQJ
    IFOSZSFDFJQUBQJ
    HFOFSBMֿظ٭ذ؅㲊紶׊鴜⟓
    SFDFJQUֿ鸵⺬׊י⮵榫
    ❣㰆ס亠⺸

    View full-size slide

  22. HFOFSBMSFDFJQU؅⮆Ⱏ׌׾כַֹ⮭了

    ˝ ┉亠ךյ⮣僿־׼⮆Ⱏ׌׾⮭了؅׊ג׆כך荁־זג׆כ׵ֵ׾
    ˝ 鴫ؤ٤ؘؗؕס嫎⯞氳םⲖ冽ֿ榟ױ׿ג
    ˝ SFDFJQUز٭ّס斻玮䓪מ┉㲊爊䈱㳝┙׊יַ׾

    ˝ 䅻מ☔䣆┘餉ךز٭ّ稴䡗עױדױד孱Ⳃ氳ךעֵ׾ֿ˟!
    ˝ 錃銶ס䧗ꄠ؅罫؆ד
    ˝ 㱭梗כַ؂׍כ׵鞊ⳉ؅䙫閁׌׾乃⴫סꃘ䡗מע㳝┙׊יַ׾ע׍
    ˝ ⠕☔氳מע⮣״מ䍚⯆ⱱסֵ׾㗞槡؅錃ׄג׆כעյ稀⺬׊יَةطؔه
    דזגכ䚉׋יַ׾
    ˝ 鏰זג㳡磵⺬ע䑒׍BQJT QSPUP
    ؅磬榺׊י氦榟׌׾
    ˝ 㲔逷ֿ㳡磵⺬מם׾׻׽עדַשُب

    View full-size slide

  23. H31$ס䫑榫 㲔逷 ؕ٤نٚ

    ˝ 㲔逷ꪫ٬ؕ٤نٚꪫךעꪜ䅻מⲂׄ׼׿יַ׾
    ˝ ب٤وٜמؤ٭غ榟䡗ך哧
    ˝ ؙؤبتطֿّ⩗㲔׊יַ׾ 0QFO5FMFNFUSZס㵵⪌םל

    ˝ ⛷鐶H31$,PUMJO
    ˝ ⶡמ׵ֹH31$+BWBך㲔逷׊י׊ױזיַי㍭זיַםַסך儔䫑榫
    ˝ H31$,PUMJOעמֿٛٛ٭ت

    ˝ 4USFBNJOH31$ס3FRVFTU3FTQPOTF؅'MPXכ׊י䣽ֻ׾סע➘⮵אֹ
    ˝ ֿյ)FOSZךע4USFBNJOH31$؅ח־זיַםַ
    ˝ ם؆ם׼TVTQFOE׵׮ׯח־זיַםַ!
    ˝ ׇ湳釤ֵֿ׿ףֽ绂־׎ׂד׈ַ

    View full-size slide

  24. H31$ס䫑榫 㲔逷 ؕ٤نٚ

    ˝ 㲔逷ꪫ٬ؕ٤نٚꪫךעꪜ䅻מⲂׄ׼׿יַ׾
    ˝ ب٤وٜמؤ٭غ榟䡗ך哧ך׀׾
    ˝ ؙؤبتطֿّ⩗㲔׊יַ׾ 0QFO5FMFNFUSZס㵵⪌םל

    View full-size slide

  25. H31$ס䫑榫 *%- ت؞٭ُ껮Ⳃ

    ˝ QSPUP┕ךסؤِٖؼآ٭ب٘٤ס꡾槡؅䚉׋׾ب٭٤ע磵啶ֵ׾
    ˝ QSPUPֿغ؞ْٖ٤عךֵ׽յQSPUPס催二13ֿ錃銶ס閱鑜㕙דזגֿ˟
    ˝ QSPUPך辐杯׊׀׿םַ׵ס FH邾ꥭם敯䛜鹜燯
    ע鏀閁룲뤕סذؾמם׾

    View full-size slide

  26. ☪䏲מ⺸ׄי
    לֹ䷉ャ׊יַׂ־

    View full-size slide

  27. ☪䏲מ⺸ׄי׷׽גַ׆כ
    ˝ 䎎⮣כ奂鬳׊י磬꽦٬湳閁ֿ蠷犉׊י׀ג☪յ䷉״י⮆Ⱏ㗞槡؅ץ׀םֽ׌
    ˝ لةؾت┕ס二גם釐姲׵釤ֻי׀ג
    ˝ ئ٭لت⮆Ⱏךעםׂյ(SBEMFٓةٖ٭ٜ⮆Ⱏמ׻׾㗞槡ס啶疣
    ˝ (SBEVBMמ鶟״׷׌ַ
    ˝ ┉鞉䓪؅䥵⟊׌׾疗㍱؅縒䜡׊յ׆׿♓┕َٝةعٛע⮆Ⱏ׊גׂםַ
    ˝ QSPUPך㒪ױ׼ם־זגؤِٖؼآ٭ب٘٤ס狌؅㖡׃
    ˝ غْؕ٤ٓظٜ؅,PUMJOך⩝מחׂזיٝلٖ٭׌׾鍱ײ
    ˝ %FTJHO%PDVNFOUס伺乃⴫
    ˝ 釐姲☼喋ס乃傴⴫

    View full-size slide

  28. )FOSZס舅䄕磆☭؅⪵ניյئ٭لتסؓ٭؞طؠزٔכאס斤ַמ
    חַיֽ鎇׊׊ױ׊גն
    ˝ )FOSZע⛰؅⛼זיַ׾ס־
    ˝ "SDIJUFDUVSF0WFSWJFX
    ˝ 䤗软鹟㲊ס斤ַ
    ˝ )FOSZסꝧ氦تذٜؕ
    ˝ ☪仼ױךסר׽־ֻ׽
    ˝ ☪䏲מ⺸ׄי
    ☪仼鎇׊ג׆כ

    View full-size slide