Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
remix + cloudflare workers (DO) docker上でいい感じに開発する
Search
TomoakiYoshida
March 25, 2025
Programming
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
remix + cloudflare workers (DO) docker上でいい感じに開発する
remix + cloudflare workers
docker develpment tips
TomoakiYoshida
March 25, 2025
Other Decks in Programming
See All in Programming
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
470
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
100
アクセシビリティから考える情報設計
high_g_engineer
0
390
FreeBSDでZabbixを動かす
kenkino
0
320
Are APIs Still Relevant in the AI Era?
soyuka
0
300
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
220
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
200
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
570
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
360
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
390
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
190
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
330
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Mind Mapping
helmedeiros
1
370
Statistics for Hackers
jakevdp
799
230k
Docker and Python
trallard
47
4.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
710
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
560
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
420
Marketing to machines
jonoalderson
1
5.8k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Transcript
remix + cf workers (DO) docker 上で いい感じ に開発する by
@tech_yda
yda(わいだ) 東京でフリーランスエンジニアしてます Frontendメイン(特にReact周り)の技 術が好きです Remix(RR) の Web標準 を大事にする感じ が大好きです
Remix (cf worker) + DurableObject ユーザー情報のセッションストレージとして DurableObject(以下DO)を採用しています) 負荷分散のために、別のワーカーでDOを起動し、Remix のワ ーカーとServiceBinding
で接続している → 早くて安くてとってもよい!
開発環境もいい感じにしたい! みんな使いやすいようにdocker化しよう!
もしかして...、 別々のコンテナに立てた ワーカー同士は接続できな い...? ref: https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/#local- development
ref: https://github.com/cloudflare/workers-sdk/issues/5770#issuecomment-2465900809 !!!!!!!!!!!!!!
やってみた
None
別々のコンテナ同士でも Service Bindingで繋がった 🎉🎉🎉
まとめ WRANGLER_REGISTRY_PATH を使うことで、 ServiceBinding の情報が共有できる ネットワークを共有してあげれば(擬似的に)別々の環境 で動いているワーカー同士をServiceBindingで繋げられる Remix(RR) は wrangler
の API をかなり最新まで追従してく れていて、ニーズがあることは調べればできるように開発 してくれている!
最後に.... Sentry 周り や BFF からの投げるエラーレスポンスの型など、 皆様がどう扱っているか気になっています! ぜひ知見共有させてください! Twitter: @tech_yda
Github: YoshidaTomoaki ありがとうございました! 🎉