Author Topic: Waiting for www.example.com  (Read 783 times)

0 Members and 1 Guest are viewing this topic.

Offline murtuza.hasan.13Topic starter

  • Irregular
  • Posts: 3
    • View Profile
Waiting for www.example.com
« on: January 13, 2010, 07:44:15 AM »
Hello,

We are developing our application with phpcake. We have a very low
response from the server, because, when we test the app from several
browsers or places, we always get the same low response, the problem
is that the server takes a lot of time with message waiting for
response from server "Waiting for www.example.com"

Is it a server problem or a phpcake configuration?

Thank you in advance

Offline ignace

  • Guru
  • Freak!
  • *
  • Posts: 5,093
  • Gender: Male
    • View Profile
Re: Waiting for www.example.com
« Reply #1 on: January 13, 2010, 09:00:59 AM »
How is the response of the application when you run it locally?
Developer from Belgium, Vlaams-Brabant

Offline murtuza.hasan.13Topic starter

  • Irregular
  • Posts: 3
    • View Profile
Re: Waiting for www.example.com
« Reply #2 on: January 14, 2010, 12:40:30 AM »
Firstly, thanks for ur reply.

Locally its even more worse, i get continuous timeouts. Query execution time in the page is about 0.4 to 0.6 seconds. i removed most parts of my page where loops are running, but still ddnt help. The overall time reduced by a second or two, but the "waiting for www.example.com" still remains.
« Last Edit: January 14, 2010, 12:41:50 AM by murtuza.hasan.13 »

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,236
    • View Profile
Re: Waiting for www.example.com
« Reply #3 on: January 14, 2010, 01:02:12 AM »
I've had similar issue with Zend and ended up having to drop it in favor of something more lightweight, but to be honest, the problem could be anywhere. It could just be a crap / misconfigured server.

have you tried actually benchmarking the site using Apache bench or similar?
« Last Edit: January 14, 2010, 01:03:14 AM by thorpe »

Offline thehippy

  • Enthusiast
  • Posts: 177
  • Gender: Male
    • View Profile
Re: Waiting for www.example.com
« Reply #4 on: January 18, 2010, 06:26:44 PM »
Try setting FULL_BASE_URL (in paths.php?) explicitly to see if that helps, cake is probably pulling from a bad apache config.  In general try setting as many things as possible explicitly, lookups just slow things down.