open source at facebook - finos 2019/2019 slides...react change the look and feel of the website...

56

Upload: others

Post on 08-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it
Page 2: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Open Source at Facebook

Kathy KamHEAD OF OPEN SOURCE

Page 3: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

PyTorch Buck Reason Yoga Zstandard Infer IGListKit Litho

HHVM fresco ComponentKit React Native Profilo Duckling pop Docusaurus

Proxygen Hack Presto Flow Immutable-JS GraphQL Flipper Hermes

React Redex RocksDb McRouter Jest osquery ProphetCreate React

App

Page 4: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

450+ Projects

Linux

Blockchain

Security

Developer Operations

DataInfrastructure

Virtual Reality

Front End (Android, iOS, Web)

Development Tools

Languages

Artificial Intelligence

Page 5: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Focused on

Developers

Designed for

Scale

Built with

Community

Page 6: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Focused on

Developers

Designed for

Scale

Built with

Community

Page 7: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

PyTorchDeep Learning Platform for

Research and Production

Page 8: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

AI ML DL

AI/ML Primer

Page 9: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

AI/ML Workflow

Deploy Model for Inference

Build & Train Model

Get & PrepareData

Page 10: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Translation Spark AR Oculus VR Blood Donations

Page 11: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Predictions Per Day

Page 12: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Research to Production at FacebookTHE PREVIOUS PROCESS

Page 13: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

R E S E A R C H P R O D U C T I O N

Page 14: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Focused on

Developers

Designed for

Scale

Built in

Community

Page 15: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

React NativeBuild Mobile Apps with React

Page 16: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

60,000 apps include the React Native framework.

Source: Bugsnag

Page 17: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

CASE STUDY

Marketplace

Benefits for Marketplace

• React Ecosystem

• Iteration Speed

• Cross-Platform Code Sharing

1 in 3People in the US use

Marketplace every

month

Page 18: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it
Page 19: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace StartupH2 2017

Startup Time

Fast H2 2017

Page 20: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace StartupH2 2017

network + server native render

js + renderreact native startup pre-render js

Page 21: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace Startup

network + server native render

js + renderreact native startup pre-render js

Page 22: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

// index.js

const MarketplaceFeed = require('./MarketplaceFeed');

const MarketplaceItemDetails = require('./MarketplaceItemDetails');

const SafetyCheck = require('./SafetyCheck');

const CityGuides = require('./CityGuides');

// ...

Page 23: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

// index.js

const MarketplaceFeed = require('./MarketplaceFeed');

const MarketplaceItemDetails = require('./MarketplaceItemDetails');

const SafetyCheck = require('./SafetyCheck');

const CityGuides = require('./CityGuides');

// ...

const MarketplaceFeed = require('./MarketplaceFeed');

Page 24: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace Startup

network + server native render

js + renderreact native startup pre-render js

Page 25: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace Startup

network + server native render

js + renderreact native startup pre-render js

Page 26: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace Startup

native render

js + renderreact native startup pre-render js

network + server

Page 27: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Marketplace StartupH1 2019

react native startup pre-render js

network + server

native render

js + render

Page 28: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

HermesJavaScript Engine Optimized for

React Native

Page 29: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it
Page 30: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

TTI

Time to Interaction

APK

Application Size

Memory

Memory Utilization

Primary Mobile Metrics

Page 31: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

TTI

Time to Interaction

APK

Application Size

Memory

Memory Utilization

Primary Mobile Metrics

Stock RN: 4.30s

Hermes RN: 2.01s

Stock RN: 185mb

Hermes RN: 136mb

Stock RN: 41mb

Hermes RN: 22mb

2.29s 19mb 49mb

Page 32: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Focused on

Developers

Designed for

Scale

Built in

Community

Page 33: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

ReactA Declarative Way to Build UI

Page 34: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

React Developers

1,800,000+

Source: Chrome Web Store

Page 35: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Top contributors on GitHub

Source: octoverse.gi thub .co m /pro jec t s

Page 36: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Responded to almost 500 issues and closed about 300

Page 37: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Merged over 600 PRs

Page 38: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Focused on

Developers

Designed for

Scale

Built in

Community

Page 39: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Designed for

Scale

Built in

CommunityFocused on

Developers

Open Source TeamAdvocacy Tooling

Page 40: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Narrative and

RoadmapContent Engagement

Page 41: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Narrative and

RoadmapContent Engagement

Page 42: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Narrative and

RoadmapContent Engagement

Page 43: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Repo

Profile Page

Page 44: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Automated

Checkup

Page 45: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Stack

Overflow

Integration

Page 46: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

DocusaurusEasy to create and maintain open

source documentation websites

Page 47: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Features

Markdown

Save time and

focus on your

project's

documentation

Page 48: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Features

Search

Make it easy for

your community

to find they need

Markdown

Save time and

focus on your

project's

documentation

Page 49: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Features

Search

Make it easy for

your community

to find they need

Localization

Translate your

docs into over 70

languages

Markdown

Save time and

focus on your

project's

documentation

Page 50: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Features

Localization

Translate your

docs into over 70

languages

React

Change the look

and feel of the

website using

React

Search

Make it easy for

your community

to find they need

Markdown

Save time and

focus on your

project's

documentation

Page 51: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Features

Versioning

Support users on

all versions of

your project

React

Change the look

and feel of the

website using

React

Localization

Translate your

docs into over 70

languages

Search

Make it easy for

your community

to find they need

Markdown

Save time and

focus on your

project's

documentation

Page 52: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it
Page 53: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it
Page 54: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

opensource.facebook.com

For more information:

Page 55: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it

Thank You!

Page 56: Open Source at Facebook - FINOS 2019/2019 Slides...React Change the look and feel of the website using React Localization Translate your docs into over 70 languages Search Make it