Hi,

Here's my situation: one of my views needs to call an external service
(through a socket ; actually the said service is on the same server).

I don't even need to know about the service's response as I'll inquire
about it asynchronously in an effort to avoid delay on the user's end.

What are the best practices here ?
Should I open a socket connection each time I want to access the service?
Should I keep one open all the time in a separate thread?

Thanks in advance,

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to