Skip to content

Latest commit

 

History

History
71 lines (69 loc) · 2.57 KB

README.md

File metadata and controls

71 lines (69 loc) · 2.57 KB

Speed of Light Delivery

The talk about continues delivery for front-end engineers.

Outline

  1. Prelude: how did we write software
    1. Watefall: dev -> integration -> qa -> deploy
    2. Scrum: short sprints -> qa -> deploy
    3. Why it sucks?
      • Long release cycle: 4 releases/year at most
      • Inability to change: we push features our customers don't need
      • Lost competition and time to market
  2. Continuous Delivery at Wix * Deployble artifact after every commit * 50-100 deploys/day * Developers deploy into production * CD is a culture/mindset
  3. Let the journey begin
    1. Automation is the key
      • NPM & Bower: package registries with private features
      • Yeoman: scaffolding generator
      • Wix-angular-generator
    2. Test Driven Development
      • Why?
        • Manual QA is expensive
        • Better code
        • Faster development
        • No QA on the server side
      • How?
        • Write you tests first, see them fail
        • Write code
        • Run tests, see them passed
        • Do again
      • Tools
    3. Continues Integration
    4. Deploy often
      • Continuous Delivery is a risk management: deploys * probability of mistake * cost of mistake
      • Waterfall is risky
      • CD 4 times less risky than watefall
    5. Lifecycle
      1. Projects and versions
      2. Actions: RC & GA
    6. Monitoring
      • Business Intelligence
        • Analyze user behavior
        • Report about every significant action
        • Alerts
      • Performance w/ New Relic
        • Browser performance
        • JS errors before user start complaining
        • Alerts
    7. Feature Toggles
      • It is an if else statement in code
      • Commit unfhinished code
      • Rewrite and refactor
      • FT overrides
    8. A/B Tests
      • Divide and meauser (package picker story)
      • Gradual release
      • Guarantee consistency
      • Petri Experiments
  4. Coda
    1. CD is a culture
    2. We need to teach it