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
320
Backend エンジニア視点からの GraphQL / GraphQL from a perspective of backend engineer
qsona
28
7.9k
3 Practices about Service-to-Service GraphQL Ruby Client
qsona
1
800
いかにして GraphQL を組織に導入するか (新規開発編) / how we introduce GraphQL on scratch development
qsona
6
3.8k
Well-organized Transaction Script - リファクタリングの妥協的手法 -
qsona
4
1.3k
GraphQL と Prisma から考える次のN年を見据えた技術選定 / Architecture decision for the next N years at StudySapuri
qsona
25
13k
最高のマスターデータ管理手法考察 & VSCode Extension を活用した話 / developing masterdata management tool by using vscode extension
qsona
9
6k
GraphQL を活用したスキーマ駆動開発の実践 / schema-driven development with GraphQL
qsona
6
4.9k
GraphQL を利用したアーキテクチャの勘所 / Architecture practices with GraphQL
qsona
37
15k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Gamification - CAS2011
davidbonilla
80
5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
We Have a Design System, Now What?
morganepeng
49
7.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
A better future with KSS
kneath
235
17k
Designing Experiences People Love
moore
138
23k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
38
2.1k
Documentation Writing (for coders)
carmenintech
65
4.3k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
Debugging Ruby Performance
tmm1
73
12k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
30
2.6k
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ΛೖΕΕͯ͢ղܾ͢ΔΘ͚Ͱ ͳ͘ɺ҆શʹػೳԼͤ͞Δඞཁ͕͋Δ • ΞϓϦέʔγϣϯϨϕϧͷྫ֎ॲཧ • ಛʹɺϑϩϯτΤϯυʹΓ͍͢ • Ϗδωε໘ͷཧղ • ૯ྗઓͰ͍͖ͬͯ • োʹڧ͍ϓϥοτϑΥʔϜ