Google cloud platform intro, Csoftmty FACPYA 2014

12
Relaciones con Desarrolladores América Latina Francisco Solsona +solsona Nick Bortolotti +NicolasBortolotti Alvar López +AlvarLopez 2014 - Q2

Transcript of Google cloud platform intro, Csoftmty FACPYA 2014

Page 2: Google cloud platform intro, Csoftmty FACPYA 2014

Por 15 años, Google ha construido la infraestructura de nube más poderosa del planeta.

Page 4: Google cloud platform intro, Csoftmty FACPYA 2014

3M de búsquedas1000 nuevos dispositivos100 horas

1000M usuarios1000M usuarios

100M gigabytes

y también...

1000M dispositivos activos

1 minuto a escala Google

La confianza viene del software

1 dispositivo

MTBF = 10 años

100K dispositivos(servers, routers, networking,

power supplies, cooling, …)

MTBF = 1 hora

Page 6: Google cloud platform intro, Csoftmty FACPYA 2014

IaaS / PaaS: ¿Cómo seleccionar?

IaaSInfrastructure-as-a-Service

PaaSPlatform-as-a-Service

Compute Engine App Engine

Compute WorkloadHadoop, simulation software

Web Workload Mobile Backend

unpredictable load, autoscaling

Capabilities checkLanguage not supported PaaS(not Java, Python, PHP or Go)

need root access to VMsC++ librariesweb sockets

SI NO

Background processingpossible on both

Google Compute Engine

Images by Connie Zhou

Page 7: Google cloud platform intro, Csoftmty FACPYA 2014

Project

VMs:● Debian or CentOS

○ Pronto: RedHat, SUSE y Windows Server 2008

● shared core or 1 - 16 cores● Up to 60GB of RAM

API:

JSO

N o

ver

HTT

P

CLI

Code

UI

PersistentDisk Cloud Storage

VMVM

VMVM

VM

Load balancing

Fire

wal

l

Private Network

Internet

Compute Engine Arquitectura

Google Confidential and Proprietary

+Compute Engine MinuteSort nuevo record en 2013

ordenar 15mil millones de entradas de 100 bytes en 59sec1.5TB de datos, 4200 cores

Page 8: Google cloud platform intro, Csoftmty FACPYA 2014

1,000,000solicitudes por segundobalanceador de cargasin hacer "pre-warming"

Sub-hour billing

Persistent IP

addressesFast boot

times

Shearable persistent

disks...

10 other benefits: bit.ly/1dGrQKy

Google App Engine

Python, Java, PHP, Go

Page 9: Google cloud platform intro, Csoftmty FACPYA 2014

LVM LVM LVM LVM LVM

LVM LVM LVM LVM LVM LVM

LVM

LVM LVM LVM LVM LVM LVM

LVM LVM LVM LVM LVM LVM

LVM LVM LVM LVM LVM LVM

Web server

Operating System

App server

etc...

This scales fast and efficiently

LVM LVM LVM LVM LVM LVM

LVM LVM LVM LVM LVM LVM

This scales

A True PaaS

LVM = Language-specific virtual machine

Multi-tenant

User Service

Sockets

Image Service

Mail Service

Logs API

Mem-cache

Data-store

Task Queue

URL Fetch

Search

Cloud SQL

Datastore (NoSQL)or cloud SQL

App Engine arquitectura de app

Memcache

statelessfront instances

statelessload balancing

cloud storage

Internet HTTP

serviciosdisponibles:

and more...

Page 10: Google cloud platform intro, Csoftmty FACPYA 2014

¡Intercambio de 400M de fotos por

día!

rechazaron una oferta de $3mil millones de

Facebook

*DAU(Daily AverageUsers)

May 2011

Jan. 2012

July 2012

Dec. 2012

500K

1 Million

2.5 Million

100,000 DAU*Opened apremier account.

Scaling SongPop with App Engine & Cloud Storage

500,000 DAU*Denormalized Datastore data

& used Memcache to

reduce latency.

1,000,000 DAU*

after a year.Datastore index optimizations.

0

2,400,000 DAU*

and serving 17TB a day from

cloud storage

“Only one engineer working full-timeon the backend

portion of our app”

Page 11: Google cloud platform intro, Csoftmty FACPYA 2014

GetAround: TechCrunch disrupt winnershuge traffic spike while the whole team is on stage

cloud.google.com

Images by Connie Zhou

Page 12: Google cloud platform intro, Csoftmty FACPYA 2014

Referencias

● InfoWorld: "Google is fastest, Azure is slowest, and Amazon is priciest"goo.gl/JX64Wm

● Google Cloud Platform LiveMarch 25, 2014goo.gl/QyJKmy

● GCP at Githubgoo.gl/cQ1ASu

cloud.google.com

us$500 en créditos en GCP

1. goo.gl/ESjitc2. Apply Now3. dr-con

Aplicaciones, cómputo, almacenamiento y servicios

de big data.