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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -