FastCGI on dev. server, reloading modules?

View: New views
5 Messages — Rating Filter:   Alert me  

FastCGI on dev. server, reloading modules?

by Christiaan Kras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

So far I've always tested my Catalyst apps running through CGI. Since FastCGI gives such a performance boost I was wondering if I can test with FastCGI without having to manually restart my instances after I've made a change to a controller/model/view/anything.

Is this possible or will it only give me headaches?

Thanks.

Christiaan


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Re: FastCGI on dev. server, reloading modules?

by Tomas Doran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 19 Sep 2009, at 12:54, Christiaan Kras wrote:
> So far I've always tested my Catalyst apps running through CGI.  
> Since FastCGI gives such a performance boost I was wondering if I  
> can test with FastCGI without having to manually restart my  
> instances after I've made a change to a controller/model/view/anything

Why would you want to do that?

Why aren't you using the development server for development?

Cheers
t0m

_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Parent Message unknown RE: FastCGI on dev. server, reloading modules?

by Christiaan Kras :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Because the less difference between the development and production server the better. It lessens the amount of possible problems that can arise when deploying the application to the production server.

Christiaan

-origineel bericht-
Onderwerp: Re: [Catalyst] FastCGI on dev. server, reloading modules?
Van: Tomas Doran <bobtfish@...>
Datum: 19-09-2009 15:02


On 19 Sep 2009, at 12:54, Christiaan Kras wrote:
> So far I've always tested my Catalyst apps running through CGI.  
> Since FastCGI gives such a performance boost I was wondering if I  
> can test with FastCGI without having to manually restart my  
> instances after I've made a change to a controller/model/view/anything

Why would you want to do that?

Why aren't you using the development server for development?

Cheers
t0m

_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Re: FastCGI on dev. server, reloading modules?

by Pedro Melo-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On 2009/09/19, at 14:23, Christiaan Kras wrote:

> Because the less difference between the development and production  
> server the better. It lessens the amount of possible problems that  
> can arise when deploying the application to the production server.

I use the same setup: local nginx, all my development is done with Cat  
under fastcgi. But no, I could not find any workaround for restarting  
the service.

melo

>
> Christiaan
>
> -origineel bericht-
> Onderwerp: Re: [Catalyst] FastCGI on dev. server, reloading modules?
> Van: Tomas Doran <bobtfish@...>
> Datum: 19-09-2009 15:02
>
>
> On 19 Sep 2009, at 12:54, Christiaan Kras wrote:
>> So far I've always tested my Catalyst apps running through CGI.
>> Since FastCGI gives such a performance boost I was wondering if I
>> can test with FastCGI without having to manually restart my
>> instances after I've made a change to a controller/model/view/
>> anything
>
> Why would you want to do that?
>
> Why aren't you using the development server for development?
>
> Cheers
> t0m
>
> _______________________________________________
> List: Catalyst@...
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@.../
> Dev site: http://dev.catalyst.perl.org/
>
>
> _______________________________________________
> List: Catalyst@...
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@.../
> Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

Re: FastCGI on dev. server, reloading modules?

by J. Shirley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Sep 19, 2009 at 6:23 AM, Christiaan Kras <c.kras@...> wrote:
Because the less difference between the development and production server the better. It lessens the amount of possible problems that can arise when deploying the application to the production server.

Christiaan


The development server is more similar to FastCGI (or Prefork) than running under plain CGI.  Unless, of course, you are deploying under CGI and if that is the case you have many other problems.

-J

_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/