Adding python serverless functions as Django workers 🗡

Publié le: 26 février 2024
sur la chaîne: Tom Dekan
464
23

After 14 hours of research, here's the simplest way I found to add a python serverless function to my product as a Django background worker 🗡.

The simplest way is using DigitalOcean Functions, and I'll show you development, deployment to production, and setting up GitHub Actions.

✍️ Written version here: https://www.photondesigner.com/articl...

🚀 More free content here: https://www.photondesigner.com/articl...

From doing this guide, I'll also show you how to:
— Develop serverless functions locally (including Python packages, without AWS Lambda layers, and without cumbersome Docker)

— Call the serverless python function async. Both in your development app and in production (i.e., without blocking your server response)

— Deploy the serverless function to production automatically in CI (using GitHub Actions)


Sur cette page du site, vous pouvez voir la vidéo en ligne Adding python serverless functions as Django workers 🗡 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tom Dekan 26 février 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 464 fois et il a aimé 23 téléspectateurs. Bon visionnage!