Standroid

Standup Meetings

... but asynchronous

Tech Stack

of my magnificent app

Firebase

Google Cloud

Slack

Angular

Clarity

Some spicy

Architecture

Drawings

Processes

Registration

First Setup

Serve

Register

Return User

OAuth Request

OAuth Redirect

Challenge Response

Access token

Save token

Redirect to website

Create standup

Trigger function

Messaging

Create standup document

Send question

Send message

Save answer

Trigger function

Problems

Problems...

Problems...

and more...

Documentation

Unpopular Opinion:

Googles Documentation is bloated and lacks code examples

Angular Firebase:

No proper documentation page

Firebase:

Important documentation hidden on stackoverflow

Performance

Cold starts:

Terrible performance for low traffic apps

Functions Speed:

Comparably slow for average work

Firestore:

Slow query speeds and only partial batch support

One hell of a bug

HTTPS Function has a very non-deterministic behaviour

Syntactically correct, should execute properly or log errors.

Neither logging nor execution is happens reliably

export const stupid_function = functions.https.onRequest(
    async (request, response) => {
        const body = request.body;
        console.log("New request from " + body.id)
    
        await db.collection("some_document")
            .doc(body.id)
            .set(body);

        console.log("Saved request in firestore");
        response.status(200).send();
    
        // Code that does some heavy lifting and time intesive stuff
        console.log("Now doing loads of work")
        doLoadsOfWork();
        
        console.log("Loads of work finished");
    }
);

Standroid

By Lukas Kurz

Standroid

  • 191