• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Incremental deployment of new features
 

Incremental deployment of new features

on

  • 1,567 views

 

Statistics

Views

Total Views
1,567
Views on SlideShare
1,563
Embed Views
4

Actions

Likes
1
Downloads
6
Comments
0

1 Embed 4

http://a0.twimg.com 4

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Incremental deployment of new features Incremental deployment of new features Presentation Transcript

    • Incremental deployment of new features Sean Sullivan Portland Java User Group January 17, 2012
    • • Gilt Groupe• International Shipping project• Incremental deployment
    • Gilt Groupe
    • online retailer
    • venture backed company
    • May 2011
    • What does Gilt sell?
    • Apparel
    • Home furnishings
    • Food
    • Local deals
    • Travel
    • Gilt HQ
    • Gilt Portland
    • International Shipping
    • November 2011
    • Project goals• allow Gilt’s customers to ship merchandise worldwide• display price information in customer’s preferred currency• accept payment in customer’s preferred currency
    • Project goals• legal compliance• fraud prevention• streamlined user experience
    • Technical scope• Checkout UI • Warehouse• Data model • Finance• Order processing • Reporting• Payment processing • Web analytics• Email • Third party integration
    • Checkout UICheckout 1.0 Checkout 2.0• Ruby on Rails • Java + JSP• Domestic checkout • Domestic checkout only • International checkout • Clear separation between UI logic and business logic
    • International Checkout
    • Project roadmap
    • 1. Write code2. Deploy to production3. Profit!
    • Deploy to production?
    • We need adeployment strategy!
    • Deploy early, deploy often?
    • Velocity conference June 2009
    • Dark launch?
    • Facebook Engineering July 2009
    • Feature flags?
    • Flickr engineering December 2009
    • Ramp up gradually?
    • Facebook Engineering May 2008
    • Dog food?
    • wikipedia.org
    • joelonsoftware.com
    • Gilt deployment strategy
    • 1. dev team builds feature using “feature flags”2. QA testing3. deploy new feature to production
    • 4. make feature available to a subset of Gilt employees5. make feature available to all Gilt employees
    • 6. make feature available to a subset of customers7. gradually ramp up to all customers 100%
    • User partitions
    • Partition 1 Partition 2 Partition 3 ... Partition 1000
    • Intelligent routing
    • Checkout 1.0Zeus Checkout 2.0
    • Detecting featureavailability at runtime
    • Java APIimport com.mycorp.FeatureService;if (featureService.isFeatureEnabled(appRequest, INTERNATIONAL_SHIPPING)) { // do something}else { // do something else}
    • Custom JSP tag<%@ taglib uri="/WEB-INF/mycorp.tld" prefix="mycorp" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><c:choose><c:when test=”${mycorp.isFeatureEnabled(‘internationalShipping’, pageContext)}”> International Shipping!</c:when><c:otherwise> <img src=”nyan-cat.jpg”/></c:otherwise></c:choose>
    • Questions?
    • THE END