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)
Auf dieser Seite können Sie das Online-Video Adding python serverless functions as Django workers 🗡 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Tom Dekan 26 Februar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 464 Mal angesehen und es wurde von 23 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!