You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "abhi.k.singh" <ab...@gmail.com> on 2016/05/11 05:09:49 UTC

Apache Server runs console command faster than terminal

Hi,

I am using apache server to host my python script.
In that script i am doing a grep to get the name of a file containing a
specific string.
When i am running this script on the terminal it takes approx 10 seconds.
In the python script i am executing the same command, but it takes only 1
second when i host it using Apache.
The same command takes 10 seconds if i run my script on SimpleCGI Server of
python.

So, I can deduce that my apache is much faster. But i am not able to
understand why it is faster than the terminal itself.

Can someone tell me what happens when a script tries to run a console
command using apache.

Thanks in advance



--
View this message in context: http://camel.465427.n5.nabble.com/Apache-Server-runs-console-command-faster-than-terminal-tp5782425.html
Sent from the Camel - Users mailing list archive at Nabble.com.