Front End Ops Conf

Make serving web apps easier and faster
April 24-25, 2014 | San Francisco

Front end ops - 1

Alex Sexton, Stripe  

  • What is a  front-end operations engineer?

    • The bridge between an application's intent and an
      application's reality
    • host front-end resources/grunt/modules
    • versioning, caching and deployment
    • own external performance


    Alex Sexton, Stripe

    • Speed of the app
      • make a dashboard
      • speed index & link to the diff
      • page weight (gzipped/ungzipped)
      • # of requests, errors, build times

    • Speed of the development
      • Goal: change -> app should approach 0
      • source map 
      • easy cmd to get things works
      • LiveReload
      • set a calender remainder to update dependencies
      • rigorous styles checking - lint

    Performance and Maintainability with
    Continuous Experimentation

    Seth Walker, Esty

    • Continuous delivery with analytic capabilities
      • 400 experiments in 2013
      • collecting both performance data and 
        product data
      • a heads up display for admin that shows perf
        info, currently running experiments



      Seth Walker, Esty

      • Feature flags
       Feature::isEnabled('my_feature') // returns true when feature is enabled
       Feature::variant('my_feature') // returns the name of the variant
       server_config['foo'] = array(     'enabled' => 10, // enabled for 10% of regular user     'admin' => 'on'  // enabled for all admins  );

      Deliver the goods in under 1000ms

      Paul Irish, Google Chrome
      • bring speed index under 1000
        • TCP handshake
        • TCP slow start
        • max of 200ms server resp time
        • 14k bytes
          • Critical Rendering Path

        Critical Rendering Path

        1. Allow early discovery of dependent resources (CSS/JS/IMG)
        2. Get CSS down to the client as fast as you can
        3. Eliminate blocking JS
        • do you need scripts in your critical rendering path?

        Code Example

        The critical rendering path

        Reducing Complexity With
        a component api

        Ian Feather, Lonely Planet 

        • Problems with big site:
          • complex UI components, high risk and high fear
          • interwinded, low reuse,  technical debt


          • Should feel as ez as working on a small site
          • Need to decouple the UI and the apps
          • Components
            • a template with associated css and js
            • and API to fetch them

            A COMPONENT API

            • Style guide == a data-driven application


            • Image Regression 
              • wraith (a responsive screenshot comparison tool)
              • grunt-photobox
              • (pixel comparison & dom css context)

            • Performance Regression
              • phantomas (phantomJS based)
              • Browser-perf (npm)
              • chrome telemetry (a wrapper around the chrome's dev tool)

            • CSS Regression
              • (a cmd-line tool)

            • General
              • Sauce Labs (browsers, platforms, language, devices)
              • Appium (test automation framework for mobile apps)

            Copy of Front End Ops Conf

            By Nianpeng Li

            Copy of Front End Ops Conf


            • 6,657