I have a good Django project and a separate background process that will collect data from different sources and store this data in an index.
I have a model in a Django application called Sources that contains, in fact, a list of sources from which data can come! I managed to create a signal that is activated / called when a new record is placed in the Sources model.
My question is, is there an easy way for anyone to know for what reasons I can send some form of signal / message to the background process, indicating that the Sources model has been changed? Or should I just resort to polling the changes every x seconds because it is so much easier?
Thanks so much for the help received.
source share