At a very rudimentary level, create 4 separate Flask Applications, and use API calls to get work done.
You have to decide on an API to communicate between your services, Http + rest is one option, GRPC is another one, using a queue service like rabbitmq is another one
Обсуждают сегодня