I don't want to apply too much load on our main server seeing as it already has 6 or 7 services running from it. So I have recommended we try to push availability and rates for the TA connection from the ibp server. Lets hope this works.
So Django CMS has push capabilities via its Tasty Pie API. Its just a matter of figuring out how to configure it for the purpose we want. Otherwise I will have to make another windows service just to be able to push to TA which is what I don't want to do.
It was suggested on stackoverflow that I look at the signals section of the documentation: https://docs.djangoproject.com/en/dev/topics/signals/
at the following method:
@receiver(post_save, sender=MyModel)
def my_handler(sender, **kwargs):
...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.