Nuevo DEV_APPSERVER Python de Google AppEngine 1.7.6

Con la nueva release de App Engine SDK 1.7.6 hemos recibido grandes y novedosos cambios en el SDK espcialmente orientados a los desarrolladores en Python en el DEV_APPSERVER 2.

Ahora este nuevo servidor de desarrollo nos permitirá desarrollar más deprisa y de manera más fiable ya que reproduce fielmente el HRD (High Replication Datastore) mediante el uso de SQLite, con lo que las pruebas que realicemos contra nuestro servidor de desarrollo local serán idénticas al comportamiento que podamos esperar contra el servidor de explotación.

Se han producido cambios estéticos como puedes ver aquí.

dev_appserver.png

También hay muchos cambios en el rendimineto, la velocidad del nuevo dev_appserver es increíble.

El acceso al panel de administración ha cambiado y ahora está en la siguiente url http://localhost:8000

Otro cambio interesante es que es 100% compatible con Python 2.7 con lo que podemos ir desinstalando la versión 2.5 de Python que teníamos que mantener para Google AppEngine Launcher.

Nota oficial del anuncio:

In the 1.7.6 release of App Engine we’ve included a major upgrade to the Development Server in the Python SDK, designed to make development faster and more faithfully reproduce the production App Engine runtime environment. The new version more faithfully simulates elements of the production App Engine environment, such as concurrent requests and backends, and in most cases this will also mean your apps run faster. We previously included this in the 1.7.5 release as dev_appserver2.py, in this release it has become the default dev_appserver.py

While we’re confident the improvements are substantial, as with any major change, some things work a little differently with the new dev_appserver. Here’s a few changes to watch out for:
Your local development admin console will run on it’s own server and port, rather than under /_ah/admin
We’ve changed the defaults for new applications, such as using HRD rather than Master/Slave, and using SQLlite to emulate the datastore.
We’ve cleaned up many command line flags and arguments
Python 2.5 applications are no longer officially supported on the new Development Server in line with our deprecation announcement (although they may still be run)
We’ve provided a detailed summary of all the changes to the Development Server in our documentation.

The the legacy dev_appserver.py remains available in the Python SDK as old_dev_appserver.py for those who still require it. However if you encounter any issues with the new Development Server we strongly encourage you to report them on our issue tracker.

We hope you like the new changes, and that you enjoy snappier app development with fewer surprises on deployment. Keep on coding!

– Andrew Jessup, for the App Engine team


Google+

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s