Both the servers H/W configuration are

   - Intel i5 650 @ 3.20GHz
   - 320 GB hard disk
   - 4GB RAM

Both the server has Ubuntu 13.04

The major difference between the servers are

Server 1:
LAMP
PostgreSQL (Installed but not used)

Server 2:
LAMP (Installed but not used, apart from apache2 used by web2py)
web2py
PostgreSQL

I try to run a grep command on a 30 MB file and redirect output to a tmp 
folder.
Read the file in the tmp folder and display it.

When I do this in PHP it is very fast.
But when I do it in web2py it is slow.

I have tested this on different machines with different internet bandwidth. 
Result is the same, sometimes web2py is slow in the host machine itself.

I don't know why it is slow in the host machine.

Is there any configuration setting I should change?
As Derek said python is slow?


On Thursday, October 3, 2013 4:58:00 AM UTC+5:30, Derek wrote:
>
> No clue. What do you mean by slow? Anything in python might be considered 
> slow comparatively to php. 
>
> On Tuesday, October 1, 2013 4:09:38 AM UTC-7, Jayakumar Bellie wrote:
>>
>> I have two servers, both are linux same configuration (OS and hardware).
>>
>> I have a program running in PHP in one server and it is very fast is 
>> loading the data.
>>
>> I have web2py running in an different server, it is very slow.
>>
>> Why it is so?
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to