17 ms·
I'm trying DRF now (last project in Golang) and one point I have no idea which way to go is how to deliver updates to the mobile client (avoiding polling every
by swah 8y ago
I'm trying DRF now (last project in Golang) and one point I have no idea which way to go is how to deliver updates to the mobile client (avoiding polling every N seconds).
I'm not sure I want to try Django channels, which comes with its own spec (ASGI?) and possibly changes the entire way the Django application is run[1].
Should I go with Django channels or - my alternative idea - deploy a separate Golang server only for "real time updates" ?
Then I can send updates by simply POSTing from Django to Golang, which forwards the update to the mobile client.
[1] For example: https://channels.readthedocs.io/en/latest/topics/databases.html https://channels.readthedocs.io/en/latest/topics/databases.h...