M
M
Meekey2018-09-08 22:31:12
Django
Meekey, 2018-09-08 22:31:12

What is the best way to implement a real-time application?

Good afternoon. I have a question about a real-time web application.
There is a site based on django using drf. Objects are created in the admin panel. The front is accessed by url to get objects. There is a need to make sure that when creating an object in the admin panel, this object is immediately displayed on the front.
And here the question arises, how best to reproduce this?
With Django Channels or Celery + RabbitMQ?
If you have any examples on this subject, I would be very grateful if you provide them for reference.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2018-09-08
@leahch

I would raise a separate service on aiohttp for this particular task. And what kind of queue you will have there, rabbitmq, or redis - it doesn't matter. It will not be difficult to combine services through nginx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question