perl - catalyst deploy for high performance site -
i'm going deploy catalyst web app, not sure best way deploy it. i've seen lot of names come up, such nginx
,starman
,fastcgi
, mod_perl
, apache
, plack
, have not been able find out way best way host catalyst
app high performance. i've found many articles or answers, such this or this, seem outdated (the previous examples '09 , '11). have strong stance on best way deploy catalyst
app? not need ability servers running catalyst
app server out static content, served out different server.
i use nginx + fastcgi: http://wiki.catalystframework.org/wiki/adventcalendararticles/2008/02-catalyst_and_nginx
most of catalyst web app divided in 4 parts:
- static => served nginx only
- admin => gets own fast_cgi few children
- api => gets own fast_cgi many children
- rest => gets own fast_cgi many children
so have 3 myserver_fastcgi.pl running, each serving different part of application. use nginx redirect traffic right server, based on location isnide url, typically:
- /static
- /api
- /admin
- /
Comments
Post a Comment