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
自作サービスの migration をした話
Search
keymoon
July 18, 2020
Programming
0
80
自作サービスの migration をした話
Zli × DMM 合同LT にて発表したスライドです。
発表URL:
https://youtu.be/BjFDjxSTR78?t=14495
keymoon
July 18, 2020
Tweet
Share
More Decks by keymoon
See All by keymoon
実践・最短経路問題
keymoon
0
200
総決算2020
keymoon
0
33
Other Decks in Programming
See All in Programming
slow types ってなんだろう?
karad
0
100
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
120
AppRouter Panel Talk
yosuke_furukawa
PRO
1
470
新宿ダンジョンを可視化してみた
satoshi7190
3
390
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1k
Let's learn code review
riofujimon
2
580
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
970
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
320
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
890
Ruby Function Composition
bkuhlmann
1
340
Elm Form Validation
bkuhlmann
0
510
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
220
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
14
1.6k
The Invisible Customer
myddelton
114
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
How to name files
jennybc
65
93k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
Building a Modern Day E-commerce SEO Strategy
aleyda
21
6.4k
Faster Mobile Websites
deanohume
300
30k
The Mythical Team-Month
searls
216
42k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
BBQ
matthewcrist
80
8.8k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Transcript
自作サービスの migration をした話 ac-predictorを改修するにあたっての再設計と使用した技術について 2020.07.18 keymoon 2年前に 作った
自己紹介 HN:keymoon プログラミングが好き 競技プログラミング: 得意っぽい
AtCoder 2254(highest:2310) 開発: 得意になりたい ac-predictorとか CTF: たまにやります @key-moon @keymoon @kymn_
開発したアプリ ac-predictor
要件 計算式 = { , , , , …
} 10000~ /users/###/history/json /users/###/history/json /users/###/history/json /users/###/history/json /users/###/history/json : = . . ∈ 1 1 + 6.0(−)/400.0 = − 0.5
基本的な設計
基本的な設計
案①
案①の破綻 0 500 1000 1500 2000 2500 19:37 19:52 20:07
20:22 20:37 20:52 21:07 21:22 21:37 21:52 22:07 22:22 22:37 時間ごとの新規登録者人数
案②(旧設計)
案②の破綻
問題点 クローラが配信サーバと同居してる 手動部分の存在 データ配信サーバの弱さ
問題点 クローラが配信サーバと同居してる 手動部分の存在 データ配信サーバの弱さ
クローラと配信サーバの分離 Azure Functions
問題点 クローラが配信サーバと同居してる 手動部分の存在 データ配信サーバの弱さ
手動部分の排除 cron 6:00 7:00 8:00 9:00
問題点 クローラが配信サーバと同居してる 手動部分の存在 データ配信サーバの弱さ
データ配信サーバの増強 GitHub Pages について より
現状
今後の展望 バックエンドは現状でひとまず良し フロントエンドの改善/機能追加 機械学習を用いた最終結果の予測
ご清聴 ありがとうございました リポジトリ: key-moon/ac-predictor | GitHub GitHub Pagesのリポジトリ: key-moon/ac-predictor-data |
GitHub Durable Functionsの資料 Serverless の世界を進化させるイノベーション - Durable Functions : https://www.youtube.com/watch?v=QuXO5plBiFM