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)
En esta página del sitio puede ver el video en línea Adding python serverless functions as Django workers 🗡 de Duración hora minuto segunda en buena calidad , que subió el usuario Tom Dekan 26 febrero 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 464 veces y le gustó 23 a los espectadores. Disfruta viendo!