知っておくと便利な Exponential Backoff / Exponential Backoff
by
Yoshiaki Yoshida
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
濼גֶֻה⤑ⵃז &YQPOFOUJBM#BDLP 爡ⰻ⹈䓼⠓ !LBLBLBLBLLV
Slide 2
Slide 2 text
8IBUJT &YQPOFOUJBM#BDLP ؙؒأهطٝءٍٕغحؙؔؿג
Slide 3
Slide 3 text
&YQPOFOUJBM#BDLPJT ‣ ؒٓ٦ָ涪欰׃הֹךٔزٓ؎ꥫ 䭷侧ꟼ侧涸ח㟓װ׃גְֻ➬穈،ٕ؞ٔؤي ‣ ؙٓؐس"1*꽀⹛و؎ؙٗ؟٦ؽأזוךⵖ秈ה׃ג طحزٙ٦ؙח⣛㶷׃♧儗涸זؒٓ٦ָ涪欰ֿׅהכ֮ ‣ ׃♧儗涸זؒٓ٦䲿חٔزٓ؎Ⳣ椚䮠ֿהח״ג ؒٝآص،ך麊欽؝أزָ♴ָ ‣ ٓٝتيז鹼䒀儗 +JUUFS ⸇皾ׅ㜥さ֮
Slide 4
Slide 4 text
&YQPOFOUJBM#BDLPJT ‣ ؒٓ٦ָ涪欰׃הֹךٔزٓ؎ꥫ 䭷侧ꟼ侧涸ח㟓װ׃גְֻ➬穈،ٕ؞ٔؤي ‣ ؙٓؐس"1*꽀⹛و؎ؙٗ؟٦ؽأזוךⵖ秈ה׃ג طحزٙ٦ؙח⣛㶷׃♧儗涸זؒٓ٦ָ涪欰ֿׅהכ֮ ‣ ׃♧儗涸זؒٓ٦䲿חٔزٓ؎Ⳣ椚䮠ֿהח״ג ؒٝآص،ך麊欽؝أزָ♴ָ ‣ ٓٝتيז鹼䒀儗 +JUUFS ⸇皾ׅ㜥さ֮
Slide 5
Slide 5 text
猱
Slide 6
Slide 6 text
"84⢪ֲֶ⡲岀ה׃ג &YQPOFOUJBM#BDLPָ䱿㤺ׁגְ "844%,דכ傀ח㹋鄲ׁגְ IUUQTEPDTBXTBNB[PODPNKB@KQHFOFSBMMBUFTUHSBQJSFUSJFTIUNM
Slide 7
Slide 7 text
؟٦غ٦ؒٓ٦ YY תכأٗحزؚٔٝؒ ٓ٦「ֽ《⯋ךؙٔؒأزⱄ鑐遤ׅ䗳銲 ָ֮תׅկ׃ծؙٓ؎،ٝزؒٓ٦ YY כծⱄ鑐遤ׅחؙٔؒأز⥜姻׃ג㉏겗 鍑寸ׅ䗳銲ָֿ֮ה爙׃גְתׅկ
Slide 8
Slide 8 text
ֶ遤⭑葺ֻٔزٓ؎ׅ
Slide 9
Slide 9 text
꠹ꨡחٔزٓ؎ׅׯ 葺ְֽׄׯזְ
Slide 10
Slide 10 text
ֶ遤⭑葺ֻٔزٓ؎ׅ ‣ 湱䩛ך㡮׃ַה耀ֻٖأهٝأ؝٦س鋅 ‣ ٔزٓ؎ׅה⸬卓ָ֮ ‣ ؟٦غ٦ؒٓ٦ YY הأٗحزؚٔٝؒٓ٦ ‣ ؙٔؒأز⥜姻׃זְהٔزٓ؎׃ג⸬卓ָזְ ‣ ؙٓ؎،ٝزؒٓ٦ YY
Slide 11
Slide 11 text
ֶ遤⭑葺ֻٔزٓ؎ׅ ‣ 湱䩛ך㡮׃ַה耀ֻٖأهٝأ؝٦س鋅 ‣ ٔزٓ؎ׅה⸬卓ָ֮ ‣ ؟٦غ٦ؒٓ٦ YY הأٗحزؚٔٝؒٓ٦ ‣ ؙٔؒأز⥜姻׃זְהٔزٓ؎׃ג⸬卓ָזְ ‣ ؙٓ؎،ٝزؒٓ٦ YY
Slide 12
Slide 12 text
8IBUJT 5ISPUUMJOH أٗحزؚٔٝג
Slide 13
Slide 13 text
5ISPUUMJOHJT ‣ ♧㹀儗ⰻחⵖꣲ馄ִ㔐侧ךؙٔؒأز 굲ל׃㜥さחؒٓ٦חזֿה"1*؝٦ٕ♳ꣲהずׄ ‣ ؟٦ؽأ⩎ַׅה%%P4זוּ湡涸֮ ‣ "84ה؟٦ؽأ׀החأٗحزؚٔٝⵖꣲָ֮ ‣ $MPVE8BUDI"NB[PO"1*(BUFXBZזו ‣ 歍锜ד♳ꣲ箢ㄤכ〳腉"84麊欽罏זֶ꼧厩ך֮
Slide 14
Slide 14 text
鷞חٔزٓ؎䫇ⵖׅ
Slide 15
Slide 15 text
3FUSZ 5ISPUUMJOH ٔزٓ؎䫇ⵖׅ
Slide 16
Slide 16 text
3FUSZ5ISPUUMJOHJT ‣ ٔزٓ؎ָ넝然桦ד㣟侁׃䘔瘶儗ָꞿְ㜥さה ‣ ٔزٓ؎ֿׅהח״ג鷞חؙٓ؎،ٝز⩎ח堣腉♶Ⰻָ饯ֹ ‣ ך״ֲז㜥さחٔزٓ؎䫇ⵖׅ堣腉ךֿה鎉ֲ ‣ "844%,GPS+BWB"844%,GPS/&5חכ傀ח㹋鄲ׁגְ
Slide 17
Slide 17 text
圫ղז鎉铂ד㹋鄲ׁ &YQPOFOUJBM#BDLP
Slide 18
Slide 18 text
3VCZ3FUSJFT ‣ IUUQTHJUIVCDPNPPZBMBSFUSJFT ‣ ءٝفٕח㹋鄲ׁגְ ‣ رؿٕؓزה4UBOEBSE&SSPSSFTDVF׃גְ require 'retries' with_retries(max_tries: 10, max_sleep_seconds: 100.0) { puts Time.now raise StandardError }
Slide 19
Slide 19 text
3VCZ3FUSJBCMF ‣ IUUQTHJUIVCDPNLBNVJSFUSJBCMF ‣ 3FUSJFT״醱꧟זػًٓ٦ةדثُ٦صؚٝ〳腉 ‣ رؿٕؓزה4UBOEBSE&SSPSSFTDVF׃גְ require 'retriable' Retriable.retriable tries: 10 do puts Time.now raise StandardError end
Slide 20
Slide 20 text
0UIFS ‣ 1)1 ‣ IUUQTHJUIVCDPNZSJWFJSPQIQCBDLP ‣ (PMBOH ‣ IUUQTHJUIVCDPNDFOLBMUJCBDLP ‣ 1ZUIPO ‣ IUUQTHJUIVCDPNSIPMEFSSFUSZJOH
Slide 21
Slide 21 text
ىسٕؐؑ،ד㹋鄲ׁ &YQPOFOUJBM#BDLP
Slide 22
Slide 22 text
'MVFOUE ‣ IUUQTHJUIVCDPNVFOUVFOUE ‣ 0VUQVU1MVHJOכرؿٕؓزד&YQPOFOUJBM#BDLPדٔزٓ؎ׅ ‣ ꟼ鸬ׅ鏣㹀⦼ ‣ SFUSZ@MJNJU ‣ SFUSZ@XBJU
Slide 23
Slide 23 text
'MVFOUE ‣ 㹋ꥷחGPSXPSEח㣟侁ׅ橆㞮⡲ג鑐׃ג ‣ SFUSZ@MJNJU ‣ SFUSZ@XBJUT ‣ קרZ?Yח䖞ֲ ‣ 杝荈ךٗآحؙח״ג侧猱ך铎䊴 +JUUFS ָⰅ
Slide 24
Slide 24 text
No content
Slide 25
Slide 25 text
תה
Slide 26
Slide 26 text
׃➙䖓ٔزٓ؎Ⳣ椚㹋鄲ׅ堣⠓ָ֮ל ךֿה䙼ְ⳿׃גְֻׁ &YQPOFOUJBM#BDLP