D
D
Dmitry Matveev2019-03-12 01:22:19
Python
Dmitry Matveev, 2019-03-12 01:22:19

Choice of communication between services?

Hello, I don’t know how to properly create a communication architecture between services. There are currently two main services. One Web on django + rest fraemwork. 2nd service on asyncio and aiormq(RabbitMq). Many windows machines are connected to the second service, which execute the commands sent by the 2nd service and return the result of these commands. The 2nd and 3rd service communicates via RabbitMQ RPC. I don't think RabbitMQ looks very much like RPC. REST is more suitable here, but I don’t understand a little. For 1 service right now it costs django + gunicorn + nginx. For 2 you can most likely use aiohttp. And what about 3 services? These 3 services run on windows and there can be many of them. Flask and Django don't want to go there. How to do the right thing? Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question