Teddy the 3rd, a Serverless Bear


Teddy the 2nd is a great bear, but things has to evolve.

This is why I've implemented the same flow using Google Cloud Serverless Functions.

Before, it was just a basic Python script calling Google APIs behind.
Like this.

The new approach involves five serverless functions and several topics to exchange data.
Despite the perceived complexity, I find it easier to develop (and maintain !) the system (even, to be honest, a smart bear is not the best use case for serverless). You really get peace of mind having to focus on just one screen clear contract function at a time, and not having to think about servers, scaling, maintaining environments. 

Check my presentation (Romanian) and slides (English) below.