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.1k
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
350
Backend エンジニア視点からの GraphQL / GraphQL from a perspective of backend engineer
qsona
28
8.1k
3 Practices about Service-to-Service GraphQL Ruby Client
qsona
1
830
いかにして 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.1k
GraphQL を活用したスキーマ駆動開発の実践 / schema-driven development with GraphQL
qsona
6
5k
GraphQL を利用したアーキテクチャの勘所 / Architecture practices with GraphQL
qsona
37
15k
Featured
See All Featured
Happy Clients
brianwarren
98
6.7k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Ruby is Unlike a Banana
tanoku
97
11k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
A Philosophy of Restraint
colly
203
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
A designer walks into a library…
pauljervisheath
204
24k
For a Future-Friendly Web
brad_frost
175
9.4k
Code Review Best Practice
trishagee
64
17k
Become a Pro
speakerdeck
PRO
25
5k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
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ΛೖΕΕͯ͢ղܾ͢ΔΘ͚Ͱ ͳ͘ɺ҆શʹػೳԼͤ͞Δඞཁ͕͋Δ • ΞϓϦέʔγϣϯϨϕϧͷྫ֎ॲཧ • ಛʹɺϑϩϯτΤϯυʹΓ͍͢ • Ϗδωε໘ͷཧղ • ૯ྗઓͰ͍͖ͬͯ • োʹڧ͍ϓϥοτϑΥʔϜ