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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lee Edwards
November 11, 2016
Technology
78
0
Share
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
More Decks by Lee Edwards
See All by Lee Edwards
When not to build a service-oriented architecture
ledwards
0
540
Bringing the Pivotal Process to an Early Startup
ledwards
2
400
SideTour at StartOut Demo Day
ledwards
1
120
Building a Technical Team
ledwards
1
240
Refactoring
ledwards
4
410
Life After LSM
ledwards
2
180
Attack of the Zombie Dynos
ledwards
2
270
Keeping Your Clients ‘NSync - Node.js and Derby: The New Kids on the Block
ledwards
2
220
Test Driving with RSpec and Cucumber
ledwards
3
480
Other Decks in Technology
See All in Technology
「使われるデータ基盤」を目指してデータアナリストとワークショップをやった話
jackojacko_
2
940
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.7k
OpenID Connectによるサービス間連携
takesection
0
140
Strands Agents超入門
kintotechdev
1
140
Claude Codeを組織で使いこなす— サーバサイドAIエージェント運用の実践知
techtekt
PRO
0
130
さきさん文庫の書籍ができるまで
sakiengineer
0
320
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
660
プラットフォームエンジニア ワークショップ/ platform-workshop
databricksjapan
0
140
GitHub Copilot のこれまでとこれから: From Copilot to Collaborative Agents
yuriemori
1
230
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
350
string地獄を脱出する
sansantech
PRO
1
110
食べログのサーキットブレーカー導入を振り返って
atpons
1
150
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
290
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
How to build a perfect <img>
jonoalderson
1
5.5k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
290
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
370
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
Writing Fast Ruby
sferik
630
63k
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