2006/5/2, marcelo ametller <[EMAIL PROTECTED]>: I yet have to run a tg app in production, but I am inclined to suggest mod_rewrite.
Here are what I see as advantages, pure from a practical sysop pov (any factor like performance problems can negate anything I claim here of course):
* communication between the httpd and the app server is over tcp, a well understood and reasonably easy debuggable mechanism
* you can without effort seperate resources used by the web and app server, eg I can tell someone to run their tg app as a very low priv/resource user, even administered by a different group of people
* you can contain all the python-scripts easily (?) to a certain dir/user
* You can run the app on a different machine from the webserver
* mod_rewrite '-f' static object serving offload to the webserver (nuff said)
* no chance for troubling the httpd processes with ram usage or stale processes/treads (very usefull on a shared webserver)
which is better to serve TurboGears with Apache ?
Here are what I see as advantages, pure from a practical sysop pov (any factor like performance problems can negate anything I claim here of course):
* communication between the httpd and the app server is over tcp, a well understood and reasonably easy debuggable mechanism
* you can without effort seperate resources used by the web and app server, eg I can tell someone to run their tg app as a very low priv/resource user, even administered by a different group of people
* you can contain all the python-scripts easily (?) to a certain dir/user
* You can run the app on a different machine from the webserver
* mod_rewrite '-f' static object serving offload to the webserver (nuff said)
* you can interchange webservers if needed
Unless we're talking moderate volume (>50 or so hits to the app per second), I wouldn't even consider other options, for a user/client, especially if things have to run in a shared setting.
It meight be a good idea to consult with your technical web administrator (or the person who you will turn to in case of trouble) beforehand. ;)
--
Mvg,
Joris Vanhove
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

