2👍
Django-celery is great for background task processing. It sounds like you could just make your arduino code a celery task. That makes things really easy – the task has full access to your django models, and the django process can kick off a task anytime.
Plus celery is a great Swiss Army knife tool that you can use anytime you need something that takes longer than a request and response cycle.
This looked like a good ref to me:
I’d probably suggest using redis as a broker these days, b/c you can use redis as your cache too.
👤Nils
Source:stackexchange.com