Hello, I would like to reply to this post from my situation.
On Jan 2, 12:50 pm, Ian Bicking <[EMAIL PROTECTED]> wrote: > Matt Haggard wrote: > > I'm (in the process of) using pylons in a production environment and > > still have a few questions: > > > 1) Do I really have to restart the server every time I make a change > > (controller/model)? I can foresee making many changes and some which > > require immediate attention, but restarting the server in the middle > > of the day would not be an option. So, do I have to make changes at > > night? Is there no way for the server to adopt the changes without > > killing all connections? > > When restarting any connections in-progress will be completed, and new > connections will be rejected. If you are using a frontend like Apache > that has something to retry connections, no actual requests will fail > during a restart. > In my situation, Apache is not an option I am able to utilize with Pylons as the current infrastructure caters more to being a Microsoft shop (of which I am fortunate using Python is even an option!). I believe I'm left with either one of two options: 1) A Python wrapper around paster that could perform the 'retry connections' (as I see this as a possible concern point for application users); or 2) Use IIS, which as I've found from prior posts, seems far more problematic with numerous issues that still need to be worked out (i.e. no reload option, must function as a Virtual Directory and for some reason does not correctly work with AuthKit -- another show- stopper). What I find very troubling about Pylons on Windows -- though I'm not sure if its Windows in particular or paster as well is even when the the source code does not change and simply some changes are done on a web form, after clicking the submit button for the form sometimes returns a 'Page Cannot Be Displayed' message when it should actually be showing the requested page as it does exist -- though the update seems to have occurred from the form. As far as I can see, this seems to be part of the same issue with the 'retry connections'. Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
