Chris-DiBona-The Open Source Revolution

Embed Size (px)

Citation preview

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    1/33

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    2/33

    Who Am I?

    Open Source Programs Manager, Google Inc.

    License Compliance

    Code Release

    The Summer of Code & Google Code-In

    Protocol, specification and API Licensing

    Public Sector: Google Moderator

    Polling Locations API

    Also and Formerly:Slashdot, Co-Editor Open Sources & Open Source 2.0,Floss Weekly Podcast,

    TechTV, Cranky Geeks.

    2 Google Confidential

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    3/33

    Agenda

    3Google Confidential

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    4/33

    Me

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    5/33

    Then Your Questions

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    6/33

    A Bit About Open Source

    6Google Confidential

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    7/33

    7

    License Use Across 31m Crawled Files

    FLOSS License De Duped Files Percentage

    GPL 14,851,615 47.06%

    LGPL 7,145,795 22.64%

    BSD 4,245,335 13.45%

    Apache 1,778,692 5.64%

    MIT 1,565,673 4.96%

    Mozilla 567,604 1.80%

    Perl 333,829 1.06%

    QPL 206,085 0.65%

    Artistic 150,555 0.48%

    CPL 144,128 0.46%

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    8/33

    8

    Amounting to >2 billion lines of code.License Use

    GPL

    48%

    LGPL

    23%

    BSD

    14%

    Apache

    6%

    MIT

    5%

    Mozilla

    2%

    Perl

    1%

    QPL

    1%

    Artistic

    0%

    CPL

    0%

    Other

    5%

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    9/33

    9

    Why do people release code at all?

    A BCG/OSDN Study found that open source developers aremotivated by:

    Intellectual Curiosity/Stimulation (44.9%)

    Skills Improvement (41.3%)

    Work needs (33.8 %)

    Open Source Idealism (33.1%) Non-Work Functionality (29.7%)

    Professional Status (17.5%)

    Reputation building within Open Source (11%)

    Dislike/distrust of proprietary software (11.1%)

    http://osdn.com/bcg

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    10/33

    10

    Implications:

    OSS Developers understand OSS licenses.

    They know they are giving away their software.

    They know and hope people will use it.

    The majority expect no more $$$ for the work.

    If they did, theyd just do it as a commercial offering, if they

    can. Which is pretty remarkable.

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    11/33

    Open Source Software Use

    at Google

    11Google Confidential

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    12/33

    12

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    13/33

    13

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    14/33

    14

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    15/33

    15

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    16/33

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    17/33

    What is Google

    17

    In-house rack design

    PC-class motherboards Low-end, large size storage and

    networking hardware

    Running Linux + in-housesoftware

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    18/33

    18

    How does Google use Open Source?

    As Infrastructure

    Linux kernel

    Many Apache Project Tools

    SSH, and other system management tools

    The Languages and compilers that we use.

    Engineers and others running Linux (Goobuntu)As building blocks

    Our repositories have hundreds of libraries used in Google

    software

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    19/33

    19

    But Why does Google use Open Source

    Control and Ownership

    Maintain our independence from external softwarecompanies

    Adaptability and Flexibility

    We can drill down to repair and enhance our services

    If we want to do something out of the ordinary, we can do sowithout showing our hand

    No one is incentivized to hurt us

    Roots Appeals to the Google ethic

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    20/33

    How does Google take part?

    20

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    21/33

    21

    Googles Open Source Programs

    Patching and Code Release

    Internal License DisciplineAPI/Protocol License Discipline

    Open Source Infrastructure & LeadershipSummer of Code

    Donations/FundingIndustry Trade Group Participation

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    22/33

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    23/33

    We release open source code

    We Patch into hundreds of projects each month

    Strategically important

    Helps the internet grow fairly.

    ~900 projects to date.*

    API Examples

    Dev Tools

    Linker Build/test

    Memory and thread management

    Plugins for eclipse

    DVCS patches.

    Infrastructure

    Approximately 18m lines of code released

    *See Label:Google on http://code.google.com/p

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    24/33

    Patch Targets Include

    24

    The Linux KernelApache Tomcat and AxisThe Gnu Compiler Collection

    SubversionPython

    PerlMySQL

    SSH/OpenSSLEclipse

    Emacs

    Vim

    GaimAdium

    ICUWineDerby

    AspellDSpaceGlib

    Autoconf/automake

    MakeGlibc

    Binutils

    Java

    Samba

    Various Emulators

    And Many More

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    25/33

    Major Projects: Chromium

    What is it: A browser

    What license: Mostly BSD (some lgpl)

    What does it do?

    Incredibly Fast

    Safe, smart, sandboxing Multiple processes/tab.

    Implements HTML5

    Offline, Worker pools, Geo-location, File uploading Desktop like experiences inside the browser

    ChromiumOS, (demostration)

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    26/33

    Major Projects: Android

    What is it: Full cell phone OS.

    What license: Apache + Linux Kernel

    What does it do?

    Raises the minimum bar for smart phone os

    Allows for a solid web experience Allow for multiple applications to co-exist.

    Provides a smart app marketplace.

    Makes cell phone development a snap. >250,000 devices sold worldwide across many carriers

    per day.

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    27/33

    WebM/WebP

    What it is: WebM is an open, royalty-free, media file formatdesigned for the web.

    Vorbis Audio

    Vp8 video

    In a matroska-like container

    Very high quality

    Releasing in a very open source way.

    Bsd licensed

    Patents granted freely, no fees required.

    Our goal is to get html5 to recognize webm as a standardcodec for web video/audio.

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    28/33

    What is VP8

    A Transform based codec based on the same basicparadigm as its main rivals. But the devil, as always, is inthe detail.

    Based on VP7 (as used in Skype) but with many newfeatures.

    Top flight compression performance but lower underlyingcomputational complexity than its main competitors (even

    than VP7). Designed with multi-core and custom silicon devices in

    mind.

    Extensive use of char math to maximize the benefits fromSIMD.

    Support for pseudo-SIMD even on processors with no

    dedicated SIMD instructions.

    28

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    29/33

    Some Longer Term Engineering Goals

    20% improvement fixed quality

    75% improvement to encoder speed

    50% improvement to decode speed on windows

    Implemented in Google-Talk

    Implemented in make the web faster project - Images?

    Hardware Support Support in 50% of all external apps that use video.

    Improved Feature Set like Scalability

    29

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    30/33

    Free

    Open Source (BSD)

    OSS Patent Grant compatible with gplv2/3, bsd, apache, etc..

    Open Specification

    Free and Open source High Quality Implementations

    Free and Open Source Compression / Decompression Toolsand Applications

    Free and Open Test streams and Automated test tools

    30

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    31/33

    31

    The Summer Of Code, 2010

    1049 students

    150 Organizations

    Over 2000 Mentors

    >6000 applications

    94 Countries

    81% pass rate!

    ~3 million lines of code in 2009 alone

    (~13m since 2005)

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    32/33

    32

    How it Works

    1) Student applies to work on a project for, say, the ASF

    2) ASF mentors review the application and accept the student

    3) Google pays student $500 for being accepted

    4) Student works with an ASF mentor to create project

    5) Mid-Term, good students are paid $2250 by Google

    6) Student continues work with mentor to create project

    7) Final: If the student has completed the goals set forth in theapplication and student is paid $2250 by Google

    8) Successful student gets t-shirt, certificate and valuable experience

    along with the money.

  • 8/8/2019 Chris-DiBona-The Open Source Revolution

    33/33

    33

    The End

    Questions?

    [email protected]

    http://code.google.com/opensource