Edmund Lian [mailto:[EMAIL PROTECTED] wrote: > Can anybody point me at some assessment of Twisted > (www.twistedmatrix.com) > relative to Webware, or else be willing to describe where > each platform > fits into the world? Their website and docs are--to put it mildly--not > helpful.
Twisted provides a number of things that Webware doesn't -- FTP, SSH, SMTP, etc. If you need to support many protocols then Twisted may be what you need. But for a typical database-driven web application, Webware is a much better fit in my opinion because of its threaded architecture. I have some servlets that do as many as a dozen relatively time-consuming SQL queries. If I were using Twisted, because of its single-threaded, asynchronous model I'd have to unnaturally break up my code into many different pieces to return control to the event loop during each of these queries. Otherwise the appserver would be frozen while these queries were running. With Webware I can just write my servlet in the most natural manner and the threading will allow other requests to be processed while my long-running queries take place. - Geoff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss