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
imashin
March 21, 2019
Technology
0
170
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 TECH TALK 2024/04/09
shinsuke_imai
1
140
クックパッドマート SORACOMを使って 高速プロトタイピング
shinsuke_imai
0
66k
クックパッドマート開発の裏側 ~ステーション編~
shinsuke_imai
0
1.4k
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
530
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
1.1k
Reliable distribution system with Ruby x IoT
shinsuke_imai
0
710
クックパッド流食品流通の作り方
shinsuke_imai
0
250
Data analysis of cookpad storeTV
shinsuke_imai
1
5.6k
cookpad storeTV ~クックパッド初のハードウェア開発~
shinsuke_imai
1
16k
Other Decks in Technology
See All in Technology
Analytics-Backed App Widget Development - Served with Jetpack Glance
miyabigouji
0
210
AWSを始めた頃に陥りがちなポイントをまとめてみた
oshanqq
1
3.4k
Oracle Database Backup Service:サービス概要のご紹介
oracle4engineer
PRO
0
4.1k
Swift Testingのconfirmationを コードリーディング/Dive into Swift Testing confirmation
laprasdrum
1
210
LLVM/ASMを使った有限体の高速実装
herumi
0
110
Agile in Automotive Industry, puzzles and lights.
hiranabe
0
180
「家族アルバム みてね」における運用管理・ オブザーバビリティの全貌 / Overview of Operation Management and Observability in FamilyAlbum
isaoshimizu
4
140
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
40k
可視化により内部品質をあげるAIドキュメントリバース/20240910 Hiromitsu Akiba
shift_evolve
0
180
標準ライブラリの奥深アップデートを掘り下げよう!
logica0419
2
450
Optuna: a Black-Box Optimization Framework
pfn
PRO
1
100
Oracle Autonomous Database:サービス概要のご紹介
oracle4engineer
PRO
1
7k
Featured
See All Featured
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Building Your Own Lightsaber
phodgson
101
6k
A designer walks into a library…
pauljervisheath
201
24k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Thoughts on Productivity
jonyablonski
66
4.2k
Code Review Best Practice
trishagee
62
16k
Designing for Performance
lara
604
68k
GitHub's CSS Performance
jonrohan
1029
450k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
24
600
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