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
remix + cloudflare workers (DO) docker上でいい感じに開発する
Search
TomoakiYoshida
March 25, 2025
Programming
250
0
Share
remix + cloudflare workers (DO) docker上でいい感じに開発する
remix + cloudflare workers
docker develpment tips
TomoakiYoshida
March 25, 2025
Other Decks in Programming
See All in Programming
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.1k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
310
JCON - Create Agentic AI Apps, The Easy Way!
kdubois
1
100
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
110
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
130
My daily life on Ruby
a_matsuda
3
200
Programming with a DJ Controller — not vibe coding
m_seki
3
810
From Formal Specification to Property Based Test
ohbarye
0
2.4k
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
190
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
180
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
680
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.7k
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5k
From π to Pie charts
rasagy
0
180
Designing for Performance
lara
611
70k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
HDC tutorial
michielstock
2
650
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
A better future with KSS
kneath
240
18k
Marketing to machines
jonoalderson
1
5.2k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
500
Claude Code のすすめ
schroneko
67
220k
Odyssey Design
rkendrick25
PRO
2
610
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 ありがとうございました! 🎉