Answer the question
In order to leave comments, you need to log in
Django+Celery/Tornado async?
Good day.
I'm not so long in programming, now I have an idea for a project, but I can't decide if it's better to use Django + Celery or Tornado (or something else).
The essence of the project is to create a platform for translators of one news site. Now everything is very complicated there - you need to monitor the emergence of new news yourself, then post it in a telegram chat that you took for translation, and then upload it to the cloud in mail.ru. I want to write a website that will collect all this in one place.
That is, there will be a cycle that will parse the news site (it does not have an api) and, if there is news, display it on my site (in fact, they will be the same in content), where translators will already be able to do visually observable actions - take it for translation, upload and so on.
I understand that, apparently, the main loop will take over the entire thread and you need to do something asynchronous. There are many different possibilities in Google, but it is not very clear what is suitable for this case (do I need to go to Tornado or can I get out on Django + Celery?). Please advise.
Answer the question
In order to leave comments, you need to log in
Asynchronous code is more difficult. Tornado is worth choosing when your server has to handle thousands of simultaneously open connections. For your task, a bunch of Django and Celery, or just Django and management commands run by cron, is quite suitable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question