Top Banner
How we make MOO
53

How we made MOO

Jan 23, 2015

Download

Technology

Sharing insights from MOO’s development setup, methods, technologies, processes, and experiences, Stefan Magdalinski will outline the fundamental
differences between doing a pure-web play and an “API-to-the-world” business.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How we made MOO

How we make MOO

Page 2: How we made MOO

What, moo?

(cc) http://www.flickr.com/photos/laughingsquid

Page 3: How we made MOO

more MOO

Page 4: How we made MOO

A brief history

• Founded April 2006

• Launched September 2006

• shipped to 87 countries in the first month

• Offices in London

• 30 people

• Partners: Flickr, Facebook, Etsy, Bebo, iStockPhoto, etc, and you

Page 5: How we made MOO

The MOO Philosophy

• Digital Print can be different, better (as well as) cheaper

• Make everyone a designer

• A consumer to{y,ol}, not a geeky machine

• Simplicity of experience trumps 'features'

• A global business from day 1

Page 6: How we made MOO

Challenges

• How do you sell a 2.01D object?

• MOO has few 'advanced' users

• Printing, compiling, distributing, returning, fixing

Page 7: How we made MOO

Coding

• Agile (-ish)

• weekly releases

• short projects (max 6-8 weeks)

• bugs can lead to physical costs

• Lots and lots of reporting and alerting, feedback.

Page 8: How we made MOO

Tech metrics

• All the usuals, re: uptime etc

• 5% feedback to order ratio, declining each year

• <1% reprint rate due to code errors, declining each year

Page 9: How we made MOO

Scaling Characteristics

• Growth slower than a pure online play

• Higher barrier to participation

• A data sink,

• Not a communication platform, either asynchronous, nor synchronous

• Hurrah, keeps costs low!

• Build for integrity, accuracy

Page 10: How we made MOO

Storage

• Store every image for reorders but must be accessible

• decrease in HD cost outstrips growth rate

• 6 months capacity max

• Why not S3, etc?

Page 11: How we made MOO

CPU, bandwidth scaling

• Users don't linger (hurrah!) - find, make, checkout (~15 pageviews)

• International responsiveness is very important

• but growth rates are relatively predictable

Page 12: How we made MOO

Opening global datacentres

• US is our biggest market, but

• US performance was lower

• US Googlejuice was way lower

• US conversion was lower

Page 13: How we made MOO

Solution

• virtually hosted squid caching proxies in NY

• 90% US traffic served from the US

• Googlejuice jump (but down slightly in UK!)

• model extends to other countries, flexes with demand

• <100 USD/month!

Page 14: How we made MOO

Scaling issues

That sounds easy?

Page 15: How we made MOO

Scaling issues

• Customer service (cost, quality)

• Distribution

• Physical production

• Quality control

Page 16: How we made MOO

Customer Service

• http://www.moo.com/service

• Actually feeds into Salesforce.com

• All other customer service tools are web-based and home grown

Page 17: How we made MOO

Salesforce.com

• 2 hours to implement (September 18th 2006)

• Cheap (a few hundred dollars/year)

• Reliable

• Ugly, clunky, web 0.5 interface

• Slows down CSRs, hinders their ability to serve excellently

Page 18: How we made MOO

Workerbee

Page 19: How we made MOO

Hidden Complexity

• At launch:

• 1 product, 1 price, 1 currency, 1 shipping method, 1 shipping rate

• Now:

• 23 products, 1 price, tiered multi-item discounts, 3 currencies, 2 shipping methods, variable discounted bulk shipping rates, 5 languages

• 495,038+ combinations

Page 20: How we made MOO

Distribution

• Global Airmail

• Vastly different local performance

• Weight/size limitations

• 2% of everything goes missing

• Returns

Page 21: How we made MOO

Finishing

• Used to outsource everything

• now we buy commodity printed sheets

• laminate, cut, pack, ship ourselves

• Why? QUALITY CONTROL, (cost), Turnaround time

• Every pack gets looked at by a human (not infallible, but...)

• One day, may insource printing

Page 22: How we made MOO

Manufacturing

• Conceived in London

• Designed in Oakland

• Made in China (via Hong Kong)

• lead time on proofs: weeks

• Quality control

Page 23: How we made MOO

QA

Quality Control

Page 24: How we made MOO

Graphs and monitoring

• Top level measures

• Nagios, MRTG

• Orders/hour graphs, alerts

• The Big Board

• Daily email, all employees

Page 25: How we made MOO

The Big Board

Page 26: How we made MOO

Bugs

• AJAX breaks ability to test

• Authenticated APIs break ability to test capacity/performance

• IE6 (2001) is *still* a bitch

Page 27: How we made MOO

Robot QA I

• Emails and Daily summaries of

• PHP errors

• PHP Fatal errors

• (inc any SQL errors)

• Apache errors

• always save URI, browser details, stacktrace for these

Page 28: How we made MOO

Robot QA II

• Automated testing, using WATIR (Web automation testing in Ruby)

• ~400 tests run for rollout

• Ajax vs Flash vs PDF

• key thing: User gets what they ordered

Page 29: How we made MOO

Physical QA

• Low cost product: error rate must be minimised

• A small % of CS queries can eat all your margin

• Want to deliver most sympathetic CS

Page 30: How we made MOO

Physical QA

• Calibration test sheets with every print run

• All orders, batches tracked by barcodes

• Error rates in Finishing closely monitored

• Rapid turnaround for reprints

Page 31: How we made MOO

QA Control

• Every product has a control card

• but we like to make them fun

Page 32: How we made MOO

APIs

• Pitfalls of using a lot of APIs

• Authentication, scaling, performance

• Who builds?

Page 33: How we made MOO

MOO API

money, atoms

Page 34: How we made MOO

(UN)DESIGN GOALS

1. write-only API is for MOO Pack creation

2. Allow 100% flexibility in text and image layout on a pack of cards (eventually)

3. But make simple templates the default (now)

4. Be as easy to use as the Flickr API (or nearly so)

5. Provide decent preview tools for developers

6. Share revenue with API keyholders (after 1.0)

Page 35: How we made MOO

HOW MOO WORKS

1.Register for an API key (http://www.moo.com/api)

2.POST XML document to moo.com/api/api.php

3.Redirect users to MOO for checkout

4. Can specify return_path to bring user back to your site at the end

Page 36: How we made MOO

STEP 2: Boilerplate crap

1 <?xml version="1.0" encoding="UTF-8"?> 2 <moo xsi:noNamespaceSchemaLocation="http://www.moo.com/xsd/api_0.6.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 3 <request> <version>0.6</version> 4 <api_key> 88888888-4444-88888888-88888888-4444</api_key> 5 <call>build</call> 6 </request>

Page 37: How we made MOO

STEP 2: Payload

1 <?xml version="1.0" encoding="UTF-8"?> 2 <moo xsi:noNamespaceSchemaLocation="http://www.moo.com/xsd/api_0.6.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 3 <request> <version>0.6</version> 4 <api_key> 88888888-4444-88888888-88888888-4444</api_key> 5 <call>build</call> 6 </request> 7 8 <payload> <chooser> 9 <product_type>minicard</product_type> 10 <images> 11 <url>http://whitelabel.org/barcamplondon5.png</url> 12 </images> 13 </chooser> </payload> </moo>

Page 38: How we made MOO

STEP 3: Redirect user to MOO checkout

Page 39: How we made MOO

Details: images

1.Simplest format: drop upto 200 images, user chooses from within those.

2. Preselected images

3. Preselected images with specified crop, zoom data

4. Variable text, text colours, bold, etc

Page 40: How we made MOO

Details: text

• can specify all text fields on all cards individually

• 3 fonts (serif, sans serif, fixed)

• bold

• alignment (depending on product)

• fully variable colour per text line

• 600 different colours in a 100 pack of minicards

• avoid pale colors for text lines, especially yellows

Page 41: How we made MOO

Examples: variable text

Page 43: How we made MOO

http://dancoulter.com/projects/moo-builder/

• Dan Coulter’s MOO-Builder library for PHP

• http://dancoulter.com/projects/moo-builder/

• supports all features of the API

• totally easy to use.

Page 44: How we made MOO

http://dancoulter.com/projects/moo-builder/

Page 45: How we made MOO

http://dancoulter.com/projects/moo-builder/

Page 46: How we made MOO

COBOL coming soon

• Ruby: http://gems.github.com/list.html(James Darling)

• PERL: http://search.cpan.org/dist/Net-Moo/ (Aaron Straup)

• .NET: http://www.unfinitydesign.com/blog/2/ (Nathan Kleyn)

Page 48: How we made MOO

Ten Word Review

Page 49: How we made MOO

http://www.moolulu.com

Page 50: How we made MOO

Coming soon

•15% Revenue Share to API key holders(we will pay retroactively!)

•Business cards

•Fully variable text and imaging positioning

Page 51: How we made MOO

In Summary

• Scaling, QA issues for a physical business are fundamentally different from a typical Web 2.0 business

• Must be tailored to maximising the customer experience whilst minimising costs

Page 52: How we made MOO

Questions?