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)
In questa pagina del sito puoi guardare il video online Adding python serverless functions as Django workers 🗡 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tom Dekan 26 febbraio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 464 volte e gli è piaciuto 23 spettatori. Buona visione!