Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Reliable label printer system
imashin
March 21, 2019
Technology
0
110
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
クックパッドマート SORACOMを使って 高速プロトタイピング
shinsuke_imai
0
49k
クックパッドマート開発の裏側 ~ステーション編~
shinsuke_imai
0
1k
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
450
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
830
Reliable distribution system with Ruby x IoT
shinsuke_imai
0
610
クックパッド流食品流通の作り方
shinsuke_imai
0
220
Data analysis of cookpad storeTV
shinsuke_imai
1
5.2k
cookpad storeTV ~クックパッド初のハードウェア開発~
shinsuke_imai
1
14k
初めてのAngular 2
shinsuke_imai
6
5.4k
Other Decks in Technology
See All in Technology
さいきんのRaspberry Pi。 / osc22do-rpi
akkiesoft
4
4.9k
アーキテクチャを明文化して開発に臨んだ話
akihiyo76
0
260
2024卒_freee_エンジニア職(ポテンシャル採用)_説明資料
freee
0
110
HoloLens2とMetaQuest2どちらも動くWebXRアプリをBabylon.jsで作る
iwaken71
0
180
ウォーターフォールとアジャイルと楽楽明細/Waterfall×Agile×Rakurakumeisai
whitefox_73
1
350
#JP_Stripes Sapporo Stripeの活用例を色々ご紹介します!
miu_crescent
0
110
ひとりでも安定して 組織を変える活動を続けていくための ストレスマネジメント
pastelinc
0
810
越境チャレンジの現在地 〜Epic大臣制度の今〜
yousak
0
850
複数のスクラムチームをサポートするエンジニアリングマネジメントの話
okeicalm
0
1.1k
モブに早く慣れたい人のためのガイド / A Guide to Getting Started Quickly with Mob Programming
cybozuinsideout
PRO
2
1.7k
オンラインでのサーバー切替事例紹介/ColoplTech-05-01
colopl
0
170
Istio入門
nutslove
15
4.9k
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
113
15k
The Invisible Side of Design
smashingmag
290
48k
WebSockets: Embracing the real-time Web
robhawkes
57
5.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
940
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
It's Worth the Effort
3n
172
25k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
213
11k
Atom: Resistance is Futile
akmur
255
20k
Producing Creativity
orderedlist
PRO
333
37k
Pencils Down: Stop Designing & Start Developing
hursman
112
9.8k
Writing Fast Ruby
sferik
612
57k
Automating Front-end Workflow
addyosmani
1351
200k
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