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
500
野生の onbording と onbording 設計 #kyototechtalk
ne_sachirou
0
580
メトリックはいかにして見え續ける樣になったか #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
850
Monitoring Containerized Elixir
ne_sachirou
1
920
Other Decks in Programming
See All in Programming
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
910
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
130
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
360
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
Haze - Real time background blurring
chrisbanes
1
510
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
280
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
780
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
340
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
33
3k
Typedesign – Prime Four
hannesfritz
40
2.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
A designer walks into a library…
pauljervisheath
204
24k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Large-scale JavaScript Application Architecture
addyosmani
510
110k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Building Applications with DynamoDB
mza
91
6.1k
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 QPPMCP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