D
D
Denis2018-09-25 03:51:45
MySQL
Denis, 2018-09-25 03:51:45

On which platform is it better to keep a telegram bot in python?

Bot functionality:
Once every %N minutes, connects to the database and checks the lines for certain values->sends a message to the user
. What is the best way to keep it? vps, heroku?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Teslaman, 2018-09-25
@Dennes

1. Heroku, but you have to periodically pull the bot, otherwise it will fall asleep. Well, you need to link a card to increase the number of free hours up to 1000 per month (the standard is 450).
2.Pythonanywhere. It's free, the virtual machine is a little weaker than Heroku's, but for a bot like yours it's quite suitable. Plus the bot does not fall asleep.
3. Cheap VPS arubacloud - $1 per month.
4. AWS gives a year of free use, then you can create a new account. You need to link a card from which $1 will be debited (then returned).
5. Hosting on Raspberry / your laptop / phone - for originals.

O
Oleg, 2018-09-25
@OlegPyatakov

PaaS (Heroku, IBM, PythonAnywhere) solutions are easier to use, there are free plans , but, as a rule, there are limitations, plus you need to study the specifics of the platforms.
VPS is better in terms of capacity utilization, the applicability of the acquired knowledge and the absence of functional restrictions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question