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
Running global manufacturing on Ruby (among oth...
Search
Lee Edwards
November 11, 2016
Technology
0
68
Running global manufacturing on Ruby (among other things)
How Teespring runs a global manufacturing operation on Ruby, and other programming languages.
Lee Edwards
November 11, 2016
Tweet
Share
More Decks by Lee Edwards
See All by Lee Edwards
When not to build a service-oriented architecture
ledwards
0
490
Bringing the Pivotal Process to an Early Startup
ledwards
2
390
SideTour at StartOut Demo Day
ledwards
1
110
Building a Technical Team
ledwards
1
220
Refactoring
ledwards
4
400
Life After LSM
ledwards
2
170
Attack of the Zombie Dynos
ledwards
2
250
Keeping Your Clients ‘NSync - Node.js and Derby: The New Kids on the Block
ledwards
2
210
Test Driving with RSpec and Cucumber
ledwards
3
460
Other Decks in Technology
See All in Technology
Data Hubグループ 紹介資料
sansan33
PRO
0
2.6k
VRTと真面目に向き合う
hiragram
1
360
【northernforce#54】SalesforceにおけるAgentforceの位置づけ・事例紹介
yutosatou_kit
0
110
Vivre en Bitcoin : le tutoriel que votre banquier ne veut pas que vous voyiez
rlifchitz
0
350
AWS監視を「もっと楽する」ために
uechishingo
0
240
Kaggleコンペティション「MABe Challenge - Social Action Recognition in Mice」振り返り
yu4u
1
680
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Riverpod3.xで実現する実践的UI実装
fumiyasac0921
1
230
サラリーマンソフトウェアエンジニアのキャリア
yuheinakasaka
42
20k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
230
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
970
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
290
Git: the NoSQL Database
bkeepers
PRO
432
66k
ラッコキーワード サービス紹介資料
rakko
1
2.1M
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
340
A Tale of Four Properties
chriscoyier
162
24k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
420
Discover your Explorer Soul
emna__ayadi
2
1k
Transcript
Running global manufacturing on Ruby (among other things) Lee Edwards
VP Engineering at Teespring RubyConf 2016 @terronk
Song Dynasty (960-1279) Screen printing
The original silk road
Andy Warhol 1950s-60s
Modern screen printing facility (Hebron, KY)
Artwork separation
Picking tees
None
None
None
None
None
None
How it works Digital printing
None
None
None
None
A few parts of Teespring Commerce Fulfillment Artwork
FulfillmentJob
CampaignEnder Campaign class Campaign < ActiveRecord::Base # state_id class CampaignEnder
< TeespringWorker def perform # Check: # valid campaign, and valid to end? # meet minimum to print? # profitable for orders placed? # all orders charged? end_successfully
Printer FulfillmentJob class Printer < ActiveRecord::Base has_many :fulfillment_jobs class FulfillmentJob
< ActiveRecord::Base has_many :fulfillment_line_items class FulfillmentLineItem < ActiveRecord::Base
None
None
Apollo
None
Shipping labels
Conveyor belts
None
None
None