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
300
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
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
310
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
340
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
130
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
140
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
Seven New Principles of Software Engineering
yegor256
0
210
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.8k
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
110
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
840
Vue Fes Japan の “作る側”に関わってみて
naokihaba
1
180
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
300
contenteditable と日本語入力に向き合う
colorful12
0
210
Featured
See All Featured
Making Projects Easy
brettharned
120
6.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
The Art of Programming - Codeland 2020
erikaheidi
57
14k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
The Cult of Friendly URLs
andyhume
79
7k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Producing Creativity
orderedlist
PRO
348
41k
Are puppies a ranking factor?
jonoalderson
2
4.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Skip the Path - Find Your Career Trail
mkilby
1
260
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 ありがとうございました! 🎉