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
Reliable label printer system
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
imashin
March 21, 2019
Technology
0
240
Reliable label printer system
Cookpad Tech Kitchen #21 Show-and-Tell
https://cookpad.connpass.com/event/122585/
imashin
March 21, 2019
Tweet
Share
More Decks by imashin
See All by imashin
NOT A HOTEL Smart Home - KNXフォーラム東京2025
shinsuke_imai
0
44
NOT A HOTEL - スマートホームの未来
shinsuke_imai
0
380
スマートホームのこれから - NOT A HOTEL TECH TALK 2024/04/09
shinsuke_imai
1
280
クックパッドマート SORACOMを使って 高速プロトタイピング
shinsuke_imai
0
69k
クックパッドマート開発の裏側 ~ステーション編~
shinsuke_imai
0
1.5k
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
590
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
1.2k
Reliable distribution system with Ruby x IoT
shinsuke_imai
0
750
クックパッド流食品流通の作り方
shinsuke_imai
0
290
Other Decks in Technology
See All in Technology
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
300
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2k
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
1.6k
なぜ今、コスト最適化(倹約)が必要なのか? ~AWSでのコスト最適化の進め方「目的編」~
htan
1
110
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
140
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
640
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.5k
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
200
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
560
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
210
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.2k
Rails Girls Zürich Keynote
gr2m
96
14k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
130
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Everyday Curiosity
cassininazir
0
130
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
GraphQLとの向き合い方2022年版
quramy
50
14k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
78
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Transcript
eliable label printer system Cookpad ech itchen #21 how-and- ell
2019.3.21 Shinsuke IMAI
whoami hinsuke A @imashin_ erverside engineer
Demo - print labels -
Agenda • When the label printer is used in our
service • Why we develop this remote label printer • ow we develop this system
rder flow rder products
rder flow rder end time comes (a day before delivery)
rder flow TSP743II E3-24J1 JP UD-LT1 / EX SORACOM VPC
AWS Printer CKPD VPC SORACOM Print batch rint product labels via celler network
rder flow roduct labels
rder flow A-2 A-1 B-2 B-1 Deliver labeled products to
users A-2 B-2
Agenda • When the label printer is used in our
service => Ans. sending ordered items • Why we develop this remote label printer • ow we develop this system
abel is mportant A-1
eliable label printer system is required
Agenda • When the label printer is used in our
service => Ans. sending ordered items • Why we develop this remote label printer => Ans. All people depend on labels • ow we develop this system
First label printer • i ad Air (Cellular model) ◦
Application crashes ◦ Difficult to auto update • abel printer ( -820 WB Brother) ◦ aper jam • Direct wired ethernet connection ◦ Connection lost
ew idea • eplace ◦ i ad to a cloud
computer ◦ unstable connection to stable connection ◦ the normal label printer to a stable label printer
Cloud computer
E router • D- 1 iodata ◦ ebooting ▪ Daily
▪ n connection lost ◦ onitoring ▪ ◦ ogging ▪ syslog
rinter • 743 tar icronics ◦ Controllable via C socket
▪ print / reboot / status check ◦ onitoring ▪ ◦ am less ▪ ??? ( est needed)
rinter • rints many labels ◦ never happen jam
rinter • rints many labels ◦ never happen jam ◦
many label cores are created
rinter • rints many labels ◦ never happen jam ◦
many label cores are created ◦ next seat engineers build unreliable Android tower
et’s build!!!
Direct print TSP743II E3-24J1 JP UD-LT1 / EX SORACOM VPC
AWS Printer CKPD VPC SORACOM Print batch end label data from a batch to the printer
Development • etwork: @sorah ◦ Build a network to use
soracom ◦ Device management
Development • rinter: @imashin ◦ Develop gem to control printer
via C socket https://www.starmicronics.com/support/Mannualfolder/starline_cm_en.pdf https://rubygems.org/gems/star_ethernet
Development • Assemble: @imashin ◦ ake holes at the box
◦ lace devices in one box
Agenda • When the label printer is used in our
service => Ans. reparing orders • Why we develop this online label printer => Ans. All people depend on labels • ow we develop this system => Ans. Assembling reliable devices and services
None