V
V
v_b2020-11-16 13:51:45
Django
v_b, 2020-11-16 13:51:45

What's the optimal way to run three Python applications on the same server?

There are two applications: telegram bot and parser. The parser is a separate application that performs some work every N minutes and accumulates data that the telegram bot uses if necessary. Both work as related systemctl units.

We decided to move forward. We are launching a site made on Django, which we would also like to integrate with a bot and a parser (including the ability to use ORM). What is the best way to put them on the same server? Integrate into Django or separately Django, processes - through units, for example, etc.

I only comprehend many things, so I apologize for possible stupidity in the question)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dr. Bacon, 2020-11-16
@bacon

Also, systemd units. All Django integration is run as a custom command for manage.py

O
Oleg Volkov, 2020-11-16
@voleg4u

O! A modern approach to solving any problem - every crap - in a container, everything - in kubernetis, of course, deploy it on a cluster. And then you can have a smoothie. And outsource support at the expense of the client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question