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
Phoenix at Scale
Search
さっちゃん
October 20, 2018
Programming
0
1.3k
Phoenix at Scale
Phoenix framework (Elixir) with Redis, at Scale. tokyo.ex#9 #tokyoex
さっちゃん
October 20, 2018
Tweet
Share
More Decks by さっちゃん
See All by さっちゃん
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
1.2k
作ってよかったgraceful shutdownライブラリ #kyotogo
ne_sachirou
0
1.1k
path 依存型って何?
ne_sachirou
0
480
野生の onbording と onbording 設計 #kyototechtalk
ne_sachirou
0
570
メトリックはいかにして見え續ける樣になったか #devio2022
ne_sachirou
0
69
名實一致
ne_sachirou
0
610
まかれるあなとみあ ―Mackerel のしくみを理解する 30 分― @ Hatena Engineer Seminar #16
ne_sachirou
0
3k
tacit programming : Point-free, Concatenatives & J
ne_sachirou
0
830
Monitoring Containerized Elixir
ne_sachirou
1
910
Other Decks in Programming
See All in Programming
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
Jakarta EE meets AI
ivargrimstad
0
560
Jakarta EE meets AI
ivargrimstad
0
630
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Arm移行タイムアタック
qnighy
0
330
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
610
Remix on Hono on Cloudflare Workers
yusukebe
1
290
CSC509 Lecture 13
javiergs
PRO
0
110
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
290
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
220
Amazon Qを使ってIaCを触ろう!
maruto
0
410
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
31
6.3k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Scaling GitHub
holman
458
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
A Tale of Four Properties
chriscoyier
156
23k
Designing Experiences People Love
moore
138
23k
Transcript
1IPFOJYBU4DBMF
ŇP0 ͬͪ͞ΌΜͰ͢Αʌ ʏM@M ůƄˑ
ŇP0 さっちゃん ですよʌ ʏM@M ůƄˑ ℷ၊໊
1IPFOJYͰSFBMUJNF1W1(BNF Λ࡞Δؒʹى͖ͨۤႾ IUUQTTQFBLFSEFDLDPN OF@TBDIJSPVTVUFUPIVSVEFEB HVJNPBLVTFTVGBMTFBSVTPGU SFBMUJNFOBHFNVTBCBXPFBTZOJU VLVSV ʮ&MJYJSͬͯΈͨʯˠʮ&MJYJSʹ ೖͨ͠ʯͷܨ͗ʹͳΔࣝ IUUQTTQFBLFSEFDLDPN
OF@TBDIJSPVFMJYJSXBORVBO OJMJKJFTJUB
-FU`TTUBSUGSPNTNBMMVTFST
1IPFOJY$IBOOFM 8FC4PDLFU ,74 1VC4VC
8IZ3FEJT 8FBMSFBEZLOPXBCPVU3FEJT 3FEJTIBTNBOVVTBCMFGFBUVSFT BMMJOPOFTFSWFS ,74 -JTU 4FU )BTI 4PSUFE4FU
)ZQFS-PH-PH (FPSBEJVT 1VC4VC 4USFBN -VB 4QFFEZ QIPFOJY@QVCTVC@SFEJTJTEFGBVMU
6TF3FEJTGSPN&MJYJS &YSFEJT QPPMCPZ QPPMCPZ &54 FSFEJT@DMJFOU HFO@UDQ FSFEJT@DMJFOU HFO@UDQ FSFEJT@DMJFOU
HFO@UDQ 6TFS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