Django and UDP server -


i have web server built django. need update information in same database used django through udp connection.

what best approach implement this?

first of all, use twisted build server listen udp

secondly: if have unique constraints will run database deadlock issues if there multiple udp clients want use form of serialization db writes - assuming database transactions atomic. celery you, remember run worker --concurrency=1. if django views more 1 .save() on model instance.


Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -