Is there a benefit for using nginx as rps for apache? What are the pros/cons for such an arrangement over uwsgi ?
On Fri, Jan 25, 2013 at 4:36 AM, Arnon Marcus <[email protected]> wrote: > I am deploying on VMs that are relatively easy to clone, so I opted for > separate servers for redmine and web2py, for performance and security. I > obviously also separated the database to be on its own server. Since it's > all VMs on the same physical machine, the virtual-network is really fast, > and since every VM uses its own set of hard-drive space, its own memory > space, and its own CPU core, they can all run concurrently, even in single > threaded cases. Security comes from each only having the services they each > require and nothing more (so no python in the redmine or postgresservers, no > ruby on the web2py or postgres servers, etc.) > > As for old-version of web2py, I am actually not kidding. > We have a web2py application that we've been working on for 3 years now, > and moving that to the new web2py version revealed itself to be non-trivial. > Backward compatibility is apparently not as well adhered to as we would > expect. I am all for going for the latest and greatest, but we have a > schedule to keep in development, and upgrading web2py is not too much a > priority now... Unless it provides measurable performance benefits, which > it doesn't in our case, from what I briefly tested. > > > On Thu, Jan 24, 2013 at 7:01 PM, Richard Vézina < > [email protected]> wrote: > >> I will look at Niphold changes and update my script when I get time. I >> have no intention to port the w2p-redmine script to CentOS. I would not put >> redmine and web2py on 2 differents servers, I would put all the web app on >> one server (one html server) and the database on an other server. But that >> is fancy stuff and the script will not integrate that since it only help >> deploy faster with a basic config that you should adapt to your particular >> needs. >> >> Old version of web2py are you kinding me or what?! >> >> Richard >> >> >> On Thu, Jan 24, 2013 at 7:12 PM, Arnon Marcus <[email protected]>wrote: >> >>> Great to see this coming along ! >>> >>> Few questions: >>> >>> 1. Would it be moduralized enough to separate the redmine and web2py >>> parts? >>> 2. if not, can I use it on 2 servers, and then remove redmine in one >>> and web2py on the other? >>> 3. Does this supports older web2py versions (say, 1.8) ? >>> 4. Can somebody port this to CentOS ? Is there a CentOS expert in this >>> group? >>> >>> >>> On Thursday, January 24, 2013 12:40:18 PM UTC-8, Niphlod wrote: >>>> >>>> ok, made it more modular, and now web2py config for uwsgi is in >>>> ini-style (far more readable). >>>> If you come from previous script, before executing this please delete >>>> /etc/uwsgi/web2py.xml . the new /etc/uwsgi/web2py.ini will be created with >>>> the exact same options. >>>> >>>> thanks Paolo, patch attached. >>>> >>>> -- >>> >>> >>> >>> >> >> -- >> >> >> >> > > --

