I'm working on django project that requires a real time communication, i found on google that best way to do is using MQTT protocol, in this way i need to write my own broker by subclassing HBMQTT
broker , but it seems hard to run MQTT broker and django web server on the same service, also i found channels
and ASGI
application its very good at local using channel layers
and redis
, but i can't use redis
on the web host 'some limitation in the host.
Some solution told me to use channels
with BACKEND channels.layers.InMemoryChannelLayer
but according to their docs, its not for production.
is any idea? or better solution than using mqtt and channels?
or i can mix HBMqtt.Broker
with channels
as any consumer?
English is not my native language ,so I'm sorry for any errors.