Hi, Want to know Django channel capability to perform back-end complex calculation by running multiple consumers for one request. I am about to build one back-end calculation system under which for one client request there will be 1 job request and for that 1 job request can have upto 1k candidates (sometimes up to 10k). Doing calculation for 1k candidates at a time is very time consuming and load on database.
So in this case, can i create 10 consumers ( it can be many more or less based on no. of candidates under job request ) per 100 candidates and each consumer to process calculation for those 100 candidates. Will this be possible with Django channel, if yes, then which protocol should i use WebSocket or http and why? do i need to create multiple channels? how much consumers can split max upto? how will i send response to after every consumer processing finished. i was referring this Worker and Background Tasks — Channels 4.0.0 documentation <https://channels.readthedocs.io/en/latest/topics/worker.html> but its not giving full confidence whether it is possible with this or not. How will my Django channel system basic system architecture or is there any best way to handle this using Django? Any help will really be really appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ffe64a52-a2d6-4cf8-8a7d-e80f6a9c0281n%40googlegroups.com.