Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
FiNCにおけるFault Isolationの取り組み / An approach to b...
Search
qsona
September 29, 2018
0
1.2k
FiNCにおけるFault Isolationの取り組み / An approach to build fault-isolated system in FiNC
Rejectcon 2018 Sponsor Talk
qsona
September 29, 2018
Tweet
Share
More Decks by qsona
See All by qsona
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
4
400
Backend エンジニア視点からの GraphQL / GraphQL from a perspective of backend engineer
qsona
27
8.3k
3 Practices about Service-to-Service GraphQL Ruby Client
qsona
1
890
いかにして GraphQL を組織に導入するか (新規開発編) / how we introduce GraphQL on scratch development
qsona
6
3.9k
Well-organized Transaction Script - リファクタリングの妥協的手法 -
qsona
4
1.3k
GraphQL と Prisma から考える次のN年を見据えた技術選定 / Architecture decision for the next N years at StudySapuri
qsona
25
14k
最高のマスターデータ管理手法考察 & VSCode Extension を活用した話 / developing masterdata management tool by using vscode extension
qsona
9
6.2k
GraphQL を活用したスキーマ駆動開発の実践 / schema-driven development with GraphQL
qsona
6
5.1k
GraphQL を利用したアーキテクチャの勘所 / Architecture practices with GraphQL
qsona
37
15k
Featured
See All Featured
A Tale of Four Properties
chriscoyier
158
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
No one is an island. Learnings from fostering a developers community.
thoeni
20
3.1k
Docker and Python
trallard
43
3.2k
The Cult of Friendly URLs
andyhume
78
6.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
Transcript
'J/$ʹ͓͚Δ 'BVMU*TPMBUJPOͷऔΓΈ 3FKFDUDPO !RTPOB ,ZVUBSP.PSJ 'J/$5FDIOPMPHJFT
ࣗݾհ !2 • !RTPOB ,ZVUBSP.PSJ • 'J/$ࣾྺ • 3VCZPO3BJMT/PEFKT.JDSPTFSWJDFT
• .JDSPTFSWJDFT.FFUVQओ࠵
'BVMU*TPMBUJPOͱʁ !3 • γεςϜোͷִɺہॴԽ • ಛʹϚΠΫϩαʔϏεͷจ຺Ͱɺ ͋ΔҰͭͷαʔϏεʹো͕ى͖ͯɺҰ෦ͷػೳ͕ ͑ͳ͘ͳΔ͚ͩͰɺશମͷܥͷӨڹ࠷খݶʹ৯͍ࢭ ΊΔ͜ͱ
'BVMU*TPMBUJPOΛ Ͳ͏࣮ݱ͢Δ͔ʁ
Πϯϑϥ໘ͷରԠ !5 • దͳλΠϜΞτΛઃఆ͢Δ • $JSDVJU#SFBLFS • ଞͷαʔϏε͕ҰఆҎ্ͷΤϥʔʹͳͬͨΒɺ͠Β͘ ϦΫΤετΛࢭΊͯΤϥʔѻ͍ʹ͢Δ •
#VMLIFBE ִน • &OWPZͰશ෦͔͍͚ͭʂʂʂ
Πϯϑϥ໘ͷରԠ͚ͩͰΓͳ͍ !6 • ͜Ε͚ͩͰͯ͢ղܾ͢ΔΘ͚Ͱͳ͍ • ྫ$JSDVJU#SFBLFS͕ൃಈͨ͠ΒɺΞϓϦͲ͏ৼΔ ͏͖ͳͷ͔ʁ • ΞϓϦέʔγϣϯͰԿରԠ͠ͳ͚Ε࿈ͯ͠ࢮ͵͚ͩ
ΞϓϦέʔγϣϯͰͷྫ֎ॲཧ !7 • "αʔϏε͕མͪͨ࣌ʹɺ#αʔϏε ͷৼΔ͍Ͳ͏͢Δ͖ͳͷ͔ʁ • ػೳԼͯ͠αʔϏεΛܧଓͤ͞Δͷ ͔ʁ • ͦΕͱɺ#αʔϏεશ͑͘ͳ͍
ͷ͕ਖ਼͍͠ͷ͔ʁ • Ϗδωε໘ͷཧղඞཁ ճ෮ੑͷ͋ΔγεςϜͷߏஙʹෆՄܽͳͷɺ ҆શʹ ػೳԼ(σάϨʔυ)ͤ͞ΔೳྗͰ͢ɻ - ϚΠΫϩαʔϏεΞʔΩςΫνϟ 11.3 ػೳԼ
ΠϯϑϥɾΞϓϦɾϏδωε ࡾҐҰମͷ'BVMU*TPMBUJPO
࣮ྫ όφʔ !9 • ΞϓϦʹόφʔΛग़͍ͯ͠Δ • ϢʔβʔʹΑͬͯग़͚͕͋͠Δ • 'J/$Ϟʔϧͷόφʔ
• શͯͷϢʔβʔʹग़͢ • ๏ਓ͚όφʔ • ๏ਓ͚ 'J/$GPS#VTJOFTT Ϣʔβʔ ʹ͚ͩग़͢ • 'J/$ϓϨϛΞϜҊ • 'J/$ϓϨϛΞϜձһʹग़͞ͳ͍
ొ͢ΔαʔϏε !10 • όφʔΛఏڙ͢ΔαʔϏε • ϢʔβʔͷೝՄλάΛཧ͢ΔαʔϏε
GET /banners GET /users/1/tags όφʔαʔϏε ೝՄλάαʔϏε ["finc_for_business", "finc_premium_registerable"]
Πϕϯτ (e.g. FincPremium Registered) o FiNC Mall όφʔ o ๏ਓ͚όφʔ o ϓϨϛΞϜొόφʔ
োΛہॴԽ͢Δ !12 • ͠ɺೝՄλάαʔϏε͕མͪͨΒͲ͏͖͔͢ʁ • ·ͣ͋Δ͖ڍಈΛߟ͑Δ • શϢʔβʔʹग़ͤΔόφʔग़ͤΔ • ͦΕҎ֎جຊతʹɺग़͞ͳ͍ํʹͤΑ͍
GET /banners GET /users/1/tags όφʔαʔϏε ೝՄλάαʔϏε HTTP 503
Πϕϯτ (e.g. FincPremium Registered) o FiNC Mall όφʔ x ๏ਓ͚όφʔ xϓϨϛΞϜొόφʔ tags = [] ͱͯ͠ ѻ͏
ଞʹɾɾɾ !14 • ͜Ε΄ΜͷҰྫ • ࣮ࡍʹɺ͋ΒΏΔ"1*ݺͼग़͠Λ͢ΔՕॴͰ͜ΕΛߟ ͑ͳ͚ΕͳΒͳ͍ • ΕΔ͚ͩোͷੑ͕ߴ·͍ͬͯ͘
࣮ྫ 'J/$ΞϓϦͷϚΠϖʔδ !15 • ͍ΖΜͳαʔϏεͷσʔλΛ ·ͱΊͯද͍ࣔͯ͠Δ
͋ΔػೳͰͷग़དྷࣄ !16 • ظؒதͷ߹ܭาʹԠͯ͡ɺ5BCMF'PS5XPʹدΛ͢ ΔΠϕϯτ
ͱ͋Δো !17 • લɺԯาಥഁͨ͠ͳʙͱ͍͏Λͨ͠ • ேى͖ͨΒେྔͷΤϥʔ͕
ͱ͋Δো !18 • લɺԯาಥഁͨ͠ͳʙͱ͍͏Λͨ͠ • ேى͖ͨΒେྔͷΤϥʔ͕ • ߹ܭา͕NBYJOUΛ͑ͨ͜ͱͰαʔόʔଆͰΦʔόʔ ϑϩʔͯ͠Τϥʔ͕ى͖͍ͯͨ •
͋Θͯͯͨ͠ɺɺ
ͱ͋Δো ଓ !19 • "OESPJEͰಉ͘͡ΞϓϦͷϚΠ ϖʔδʹग़ͳ͘ͳ͍ͬͯΔ • +BWBͷJOUͰΦʔόʔϑϩʔ • Β͔͠ँΔɺँΔ͕ɾɾɾ
• ֘ͷίϯϙʔωϯτ͚ͩͰͳ͘ɺ ϚΠϖʔδ͕શ෦දࣔ͞Εͳ͍ͷ Α͘ͳ͍
ϑϩϯτΤϯυͷ'BVMU*TPMBUJPO !20 • ϑϩϯτΤϯυɺϚΠΫϩαʔϏεͷ݁߹ϨΠϠʹͳ Γ͍͢ • ͔ͤͬ͘όοΫΤϯυ͕োͷہॴԽΛؤுͬͯɺϢʔ βʔ͕ݟΔॴͰো͕࿈ͯ͠ແҙຯ • վળ͕ඞཁ
ϑϩϯτΤϯυͷ'BVMU*TPMBUJPO !21 • ΞʔΩςΫνϟͷվળ • ΫϦʔϯΞʔΩςΫνϟ .77.ͷಋೖ • 6TF$BTFΛಋೖ͠ɺҰͭͷը໘ 7JFX$POUSPMMFS"DUJWJUZ
͕ෳͷ6TF$BTFΛ࣋ͭΑ͏ͳߏʹ • .JDSP'SPOUFOET • ओʹ8FCʹ͓͚Δ • ֤ϚΠΫϩαʔϏε͕ɺ7JFX·ͰΛఏڙ͢Δ • యܕతʹ8FC$PNQPOFOUTΛఏڙ • τοϓϨϕϧͰ֤αʔϏε͕ఏڙ͢Δ7JFXΛฒΔ͚ͩ • ඞવతʹ'BVMU*TPMBUJPO͞ΕΔ • ͍ͣΕઈࢍਐΊͯ·͢ʂ
·ͱΊ !22 • &OWPZ͍͍ͧ • 'J/$ͰಋೖΛਐΊ͍͖ͯ·͢ ݕূத • &OWPZ
4FSWJDF.FTIΛೖΕΕͯ͢ղܾ͢ΔΘ͚Ͱ ͳ͘ɺ҆શʹػೳԼͤ͞Δඞཁ͕͋Δ • ΞϓϦέʔγϣϯϨϕϧͷྫ֎ॲཧ • ಛʹɺϑϩϯτΤϯυʹΓ͍͢ • Ϗδωε໘ͷཧղ • ૯ྗઓͰ͍͖ͬͯ • োʹڧ͍ϓϥοτϑΥʔϜ