[Twisted-Python] 'big' function -> 'small' functions

Garanin Michael garanin at m-lan.ru
Fri Nov 11 05:24:49 MST 2005


                                                                          
Hello!
I divide my 'big' function (3seconds) to 'small' functions (per 1
seconds). Now client handler process is:
request->f1/1second->f2/1second->f3/1second-> response. And f1,f2,f3
simple calc factorials. What is 'good practice' handlers two
clients-request (use callLater, iteration,pause etc.)?
Thanks!





More information about the Twisted-Python mailing list