Refactoring a Python 2 Cloud NDB app to Python 3 & Cloud Firestore (Module 9)


Module 9 resources:
Codelab → https://goo.gle/3pYGwzA
Python 2 START (“mod8”) code → https://goo.gle/3j3TyYa
Python 3 FINISH (“mod9”) code → https://goo.gle/3BCemfZ

Serverless Migration Station is a Serverless Expeditions mini-series, designed to help developers modernize their applications to run on a Google Cloud serverless compute platform. In this third and final episode covering App Engine push queues, Google engineers Martin & Wesley refactor and rewrite a Python 2 Cloud NDB app already migrated to Cloud Tasks as a Python 3 app that uses Cloud Firestore. All three of these migrations are optional, so this represents a more realistic example involving more updated and added code than the samples featured in other episodes.

Chapters:
0:00 Introduction
2:57 Updates to configuration
5:12 Application updates
8:49 Wrapping up the migration
9:51 Summary and references

Other Migration Module references:
All “Serverless Migration Station” resources → https://goo.gle/3EINuh6
Migrating to Python 3 documentation → https://goo.gle/3w4cWJQ
Migration Module 8 “App Engine push tasks to Cloud Tasks” codelab → https://goo.gle/3GFgNlr
Migration Module 8 “App Engine push tasks to Cloud Tasks” video → https://goo.gle/3CBPh65
Migration Module 6 “Cloud Firestore: switching from Datastore to Native mode” codelab → https://goo.gle/3BDKGip

App Engine Task Queue and Cloud Tasks references:
App Engine Task Queues overview → https://goo.gle/3w735mr
App Engine Push Tasks → https://goo.gle/3GSDbYX
Migrating App Engine Push Queues to Cloud Tasks → https://goo.gle/3bzolrA

Cloud Tasks client library → https://goo.gle/3w5aGlJ
Cloud Tasks documentation → https://goo.gle/3BB30Zm
Differences between App Engine Task Queues and Cloud Tasks → https://goo.gle/3buJ00b

Cloud NDB and Cloud Firestore references:
Cloud NDB client library → https://goo.gle/3hGof5z
Cloud Firestore client library → https://goo.gle/3pTHbCh
Cloud Firestore documentation → https://goo.gle/3nS6bXZ

Check out more episodes of Serverless Expeditions → http://goo.gle/ServerlessExpeditions

Subscribe to Google Cloud Tech → http://goo.gle/GoogleCloudTech
Subscribe to Google Developers → http://goo.gle/developers

#ServerlessExpeditions

product: Cloud – Migration – Migrate for Compute Engine; fullname: Wesley Chun, Martin Omander;


Duration: 00:12:23
Publisher: Google Cloud
You can watch this video also at the source.


Inxy Hosting CDN Marketplace