Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
willol13896y@walid upload the video as is and have another worker/process do the conversion. Django is here for answering http requests, not for big processing.
So, upload using Django => add a job in a queue => have another worker picking up the jobs in the queue
That means you need a more complex infrastructure though. If by chance you're using AWS, SQS and a worker environment would work -
waldz3676y@willol thanks for your help, im going with GCP, still need to figure out how kubernetes and CI/DI work, by worker you mean something like celery or just a separated function that receives the video? And what about storing the output files, knowing that my model only have one FileField() is it gonna work that way? Sorry for that much of questions, but ppl at SO seem to care more about "how you wrote the question" rather than question itself
Related Rants
Any Django developers here? I'd like to have some advice
question
django python
django