Django and Rails on Apache localhost -


i wanna test performance of django , rails.

would testing using inbuilt web servers bad idea?

is difficult set making both django , rails run on apache localhost? (not same time)

the usual way run rails directly in apache using passenger, tries set mod_php if you've set php apps served apache. or can use apache loadbalance dynamic requests backend, thin or unicorn or others; apache set serve static assets directly in situation.

using rails' webrick server bad idea, because it's notoriously slow. you'll want set rails_env 'production' instead of 'development' when start rails, classes cached , on.

i don't know setting django, imagine similar load balancing situation described above rails. give rails , django apps own virtualhost settings in apache, , should work fine.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -