telebotter / django-telegrambot

Simple app for Telegram bot in Django
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Why not use botpolling in production? #23

Open autoantwort opened 3 years ago

autoantwort commented 3 years ago

For more details see https://stackoverflow.com/questions/68559521/gunicorn-django-telegram-mqtt-client

lukruh commented 3 years ago

The only reason that comes to my mind is that polling does not scale well when it comes to handle huge amounts of updates (i.e. large number of users). The original author probably mentioned this, because the quick start guide suggest to use djangos development server, which is not designed to be used in production. However, the warning should relate to the manage.py runserver command not the polling mode in general. Does the polling mode support SSL?