On Thu, Sep 3, 2009 at 3:00 PM, gazza<[email protected]> wrote:
>
> Hello,
>
> I want to receive messages from a client to a Pylons Web Server.
> Somebody suggested I use the python "twisted" to handle these messages
> at the server. Is there a prefered way to do this?

You can allegedly connect Pylons to Twisted using Twisted's WSGI
adapter, which runs the application in a separate thread, but I
haven't heard of anybody doing this in production, or giving feedback
how well it works.

I would only use Twisted if (1) you really like Twisted, (2) your site
will be extremely high-traffic, (3) your server needs to respond to
other protocols alongside HTTP(S), and (4) you have plenty of time to
test it.  Otherwise I would recommend one of the other servers which
have been proven to work with Pylons (Apache/ProxyPass,
Apache/mod_wsgi, Nginx, etc).

If by SSL you mean simply HTTPS, normally the front-end web server
handles this (Apache, Nginx), and it communicates with Pylons via
HTTP/WSGI/FastCGI.

If you really want a *Python* web server that uses HTTPS, they
probably exist but I don't know which ones.

-- 
Mike Orr <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to