Académique Documents
Professionnel Documents
Culture Documents
Escala
Rendimiento
Estandares
Rentable
Integracion
Servicios
Distribucion
Un Tour por App Engine
Java runtime
Duke, la mascota de Java
#1283-+,5 9 &60 %-(314845*/4 $0("! '.. 3-+,54 3*4*37*)"
Python runtime
Java??
Y mucho mas!
Asegurando la portabilidad
Asegurando la portabilidad
Eclipse
PyDev
+
Django
Framework en Python
El ms popular
Plantillas. MVC
Administracin
CRUD
App-Engine-Patch
Servicios
+ Integracion a Google Apps (Integracion)
+ Database Import (portabilidad)
+ SDC (conectando la nube con la intranet)
+ Dashboard (Administracion)
+ App Engine Status (Administracion)
Integrando a Google Apps
http://appid.appspot.com/
http://yourapp.yourdomain.com/
2. Ingresar al dominio de Google Apps como
Administrador
3. Aceptar los terminos y especificar la
direccion web
4. La nueva funcionalidad esta ya en el panel
Google Apps + App Engine
Importar y Exportar Datos
Secure Data Connector (SDC)
Usando los Secure Data Connector
Instalacin
Reglas de acceso
El usuario se autentica
URL Fetch
Memcache
Imgenes
Cron
Cola de Tareas
Soporte a Cron
- clean-up DB
- prepare reports
- batch mail
- perform calcs
- call mom
<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
<cron>
<url>/recache</url>
<description>Repopulate the cache every 2 minutes</description>
<schedule>every 2 minutes</schedule>
</cron>
<cron>
<url>/weeklyreport</url>
<description>Mail out a weekly report</description>
<schedule>every monday of month 08:30</schedule>
<timezone>America/New_York</timezone>
</cron>
</cronentries>
Soporte a Cron
("every"|ordinal) (days) "of" (monthspec) (time)
every 5 minutes
every 12 hours
2nd,third mon,wed,thu of march 17:00
every monday of month 09:00
1st monday of sep,oct,nov 17:00
La importancia de la cola de
tareas
Procesamiento offline !!! (no se oye
revolucionario pero es muy nuevo)
Partir operaciones grandes en varias
operaciones sencillas
creative commons licensed photograph from cote
Una arquitectura de servicio
escalable
Escala dinamica y automaticamente
User
App Engine
Frontend
Apps
Runtime
Escala dinamica y automaticamente
User
App Engine
Frontend
Apps
Runtime
Escala dinamica y automaticamente
User
App Engine
Frontend
Apps
Runtime
User
User
User
User
Escala dinamica y automaticamente
Apps
Runtime
Apps
Runtime
User
App Engine
Frontend
Apps
Runtime
User
User
User
User
Multiples versiones
User
App Engine
Frontend
Version 1.1
Version 2.1
Datastore
http://2.1.fredsa.appspot.com/
http://fredsa.appspot.com/
No notan algo?
User
App Engine
Frontend
Version 1.1
Version 2.1
Datastore
http://2.1.fredsa.appspot.com/
http://fredsa.appspot.com/
Bigtable> Datastore distribuido
http://labs.google.com/papers/bigtable.html
Bigtable :
Un arreglo distribuido, fragmentado y ordenado
Row key Row data
Fragmento 1
Fragmento 2
.
.
.
Fragmento n
Row key Row data
Bigtable :
Un arreglo distribuido, fragmentado y ordenado
Indices del Datastore
Merge join
Diferencias?
Datastore - Diferencias
Distribuido
Replicacion y failover
automaticos
No existe un esquema de
datos
Diferencias?
Datastore - Similitudes
Indices
ACID transactions
GQL
SELECT * FROM Story
WHERE title = 'App Engine
Launch' AND author =
:current_user AND rating >=
10 ORDER BY rating, created
DESC
Entidades
Grupos de Entidades
Mejores practicas
Fcil de usar
Fcil de escalar
Fcil de mantener
Despliege sus aplicaciones en una
plataforma que es:
Siempre es gratis empezar
Cuota gratis
~5M vistas de pgina/mes
1 GB almacenamiento