Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
FiNCにおけるFault Isolationの取り組み / An approach to b...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
qsona
September 29, 2018
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FiNCにおけるFault Isolationの取り組み / An approach to build fault-isolated system in FiNC
Rejectcon 2018 Sponsor Talk
qsona
September 29, 2018
Transcript
22 slides
'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ΛೖΕΕͯ͢ղܾ͢ΔΘ͚Ͱ ͳ͘ɺ҆શʹػೳԼͤ͞Δඞཁ͕͋Δ • ΞϓϦέʔγϣϯϨϕϧͷྫ֎ॲཧ • ಛʹɺϑϩϯτΤϯυʹΓ͍͢ • Ϗδωε໘ͷཧղ • ૯ྗઓͰ͍͖ͬͯ • োʹڧ͍ϓϥοτϑΥʔϜ
More Decks by qsona
See All by qsona
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
4
640
Backend エンジニア視点からの GraphQL / GraphQL from a perspective of backend engineer
qsona
28
9.1k
3 Practices about Service-to-Service GraphQL Ruby Client
qsona
1
1.2k
いかにして GraphQL を組織に導入するか (新規開発編) / how we introduce GraphQL on scratch development
qsona
6
4.3k
Well-organized Transaction Script - リファクタリングの妥協的手法 -
qsona
4
1.6k
GraphQL と Prisma から考える次のN年を見据えた技術選定 / Architecture decision for the next N years at StudySapuri
qsona
25
17k
最高のマスターデータ管理手法考察 & VSCode Extension を活用した話 / developing masterdata management tool by using vscode extension
qsona
9
8.5k
GraphQL を活用したスキーマ駆動開発の実践 / schema-driven development with GraphQL
qsona
6
7.7k
GraphQL を利用したアーキテクチャの勘所 / Architecture practices with GraphQL
qsona
37
18k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The browser strikes back
jonoalderson
0
2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Navigating Weather and Climate Data
rabernat
0
600
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
Odyssey Design
rkendrick25
PRO
3
960
Balancing Empowerment & Direction
lara
6
1.4k