Pyramid and WSGI

69 views
Skip to first unread message

FFFFFFFab

unread,
Aug 27, 2012, 7:47:19 AM8/27/12
to pylons-...@googlegroups.com
Hello,

I'm a beginner in Python and then in Pyramid framework. I'm not sure about a thing : is a pyramid project resident in memory after the first http request transmitted by the http server and mod_wsgi ?

Thanks,

Fab. 

Ronan Amicel

unread,
Aug 27, 2012, 8:04:43 AM8/27/12
to pylons-...@googlegroups.com
Yes. In most typical deployments (i.e. everything except CGI), your
Python web app will be running inside a long-lived process.

(This is different from what the usual PHP model, where everything
only lives for the duration of the request.)

--
Ronan Amicel

«« Twitter overload?
»» Get your daily summary at http://focus.io/

FFFFFFFab

unread,
Aug 27, 2012, 9:34:17 AM8/27/12
to pylons-...@googlegroups.com
Thanks for your answer. Then that's really cool feature.
Is WSGI that implies this behavior or the framework used (in my case Pyramid) ?

Chris Rossi

unread,
Aug 27, 2012, 9:38:17 AM8/27/12
to pylons-...@googlegroups.com
It is a more general feature of WSGI.

Chris
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/Ku2riralBFAJ.
> To post to this group, send email to pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.

FFFFFFFab

unread,
Aug 27, 2012, 9:42:34 AM8/27/12
to pylons-...@googlegroups.com, ch...@archimedeanco.com
Ok, thanks. So I will dive in the WSGI doc to more understand that. I've already red some doc about WSGI but I didn't figure out this feature.
Reply all
Reply to author
Forward
0 new messages