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
130
クックパッドマート SORACOMを使って 高速プロトタイピング
shinsuke_imai
0
65k
クックパッドマート開発の裏側 ~ステーション編~
shinsuke_imai
0
1.4k
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
520
クックパッドマートを支えるIoT 技術
shinsuke_imai
0
1.1k
Reliable distribution system with Ruby x IoT
shinsuke_imai
0
710
クックパッド流食品流通の作り方
shinsuke_imai
0
240
Data analysis of cookpad storeTV
shinsuke_imai
1
5.6k
cookpad storeTV ~クックパッド初のハードウェア開発~
shinsuke_imai
1
16k
Other Decks in Technology
See All in Technology
技術負債による事業の失敗はなぜ起こるのか / Why do business failures due to technical debt occur?
i35_267
0
190
GoとアクターモデルでES+CQRSを実践! / proto_actor_es_cqrs
ytake
1
160
ソフトウェアエンジニアリングの知見を活かして データ基盤をいい感じにする on Snowflake [MIERUNE BBQ #10]
mtpooh
2
150
ギークの理想が7つ集まるエムスリーで夢を叶えよう - エムスリー株式会社
m3_engineering
1
260
推薦システムを本番導入する上で一番優先すべきだったこと~NewsPicks記事推薦機能の改善事例を元に~
morinota
0
130
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
コミュニティサービスに「あなたへ」フィードを リリースするまでの試行錯誤
takapy
1
150
プレイドにおけるDatadog APMの活用方法
plaidtech
PRO
2
120
大規模ドラレコデータ収集・機械学習基盤を支える AWS CDK 〜導入・運用事例紹介〜
pemugi
0
110
累計ダウンロード数1億8000万を超えるアプリケーションプラットフォームのレガシーシステム脱却とモダン化への道
kmitsuhashi
0
120
How to Think Like a Performance Engineer
csswizardry
4
590
Featured
See All Featured
Teambox: Starting and Learning
jrom
130
8.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
Navigating Team Friction
lara
181
13k
Into the Great Unknown - MozCon
thekraken
20
1.3k
Six Lessons from altMBA
skipperchong
24
3.2k
Git: the NoSQL Database
bkeepers
PRO
423
64k
Building a Modern Day E-commerce SEO Strategy
aleyda
25
6.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
Facilitating Awesome Meetings
lara
46
5.8k
Producing Creativity
orderedlist
PRO
340
39k
Being A Developer After 40
akosma
72
580k
Creatively Recalculating Your Daily Design Routine
revolveconf
214
11k
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