Upload
firenze-gtug
View
374
Download
3
Embed Size (px)
DESCRIPTION
Presentazione Google App Engine Alessandro Aglietti - Lorenzo Bugiani GDG Firenze
Citation preview
Google App Engine
● Cloud Computing● Cos’è Google App Engine● Perchè PaaS● Performance● Esempi pratici
Agenda
● Iaas: Utilizzo di risorse hardware in remoto
● PaaS: virtualizzazione di una piattaforma
● SaaS: utilizzo di programmi installati su un server remoto
Cloud Computing
SaaS
PaaS
IaaS
GmailSalesforce
Google App Engine Windows Azure
Amazon AWSGoogle Compute Engine
Google App Engine is a Platform as a Service (PaaS) offering that lets you build and run applications on Google’s infrastructure
Cos’è App Engine
Perché PaaS
Web applications in un mondo IaaS:
● Gestione server virtuale
● Scalabilità?
● Bilanciamento del carico?
● Quali servizi implementare?
Perché PaaS
Perché PaaS
Scalabilità
Scalabilità
Bilanciamento del carico
Riduzione dei costi
App Engine Sandbox
App Engine Sandbox
Limiti:
● Connessioni in uscita: solo tramite i servizi offerti da App engine (URL fetch e le nuove socket Api)
● Connessioni in ingresso: solo HTTP(s) sulle porte 80 e 443
● No accesso in scrittura al Filesystem
● No codice nativo
● Tempi di esecuzione delle richieste limitati superiormente
App Engine Platform
https://developers.google.com/appengine/
Linguaggi disponibili
Batterie incluse
App Engine Demo
http://gdg-firenze.appspot.com/http://tiny.cc/gae-gdg-firenze
https://github.com/alessandro-aglietti/gdg-aperitivo-gae-1-aprile-2014
User Service
Single Sign-on for authentication
Integrated with all Google services
2-step authentication
https://developers.google.com/appengine/docs/java/users/
User Service Demo
Datastore
A distributed datastore that grows with your data
https://developers.google.com/appengine/docs/java/datastore/
Datastore Demo
Memcache
Distributed in-memory data cache in front of or in place of robust persistent storageSupports both synchronous and asynchronous caching
https://developers.google.com/appengine/docs/java/memcache/
Memcache Demo
Task Queue
For Background workSmall tasks are added to queues Process tasks based on the processing rate in the queue’s definitionApp Engine scales to make this possible
Cloud Endpoint
Authn/z with OAuth2APIs explorerDedicated frontendREST Client autogeneration
DOMANDE?