Hi mod_wsgi folks, I am an avid user of mod_wsgi, and have been asked for my opinion on how to best host a web-based Python-powered app that has bad memory management.
Basically the Python script uses R (http://www.r-project.org/) via the rpy2 (http://rpy.sourceforge.net/rpy2.html) package. The app developer says that R is notorious for leaving "stuff" around in memory, so he is arguing for using a new CGI process as a design feature as it guarantees that each new request starts with a clean slate. I am unconvinced of this precluding using mod_wsgi, but I am interested in the community opinion, and also how mod_wsgi would handle a script that has poor memory management. Should I be telling the app developer to do some internal garbage collection, so that this is not an issue that spirals up to the container (CGI vs mod_wsgi) level? Or is CGI (or FastCGI) a better solution in this use case? Thanks in advance, - Rob N -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/groups/opt_out.
