HTTP server and CPU usage

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
megakurt
Posts: 1
Joined: Fri Jun 11, 2004 10:05 pm

HTTP server and CPU usage

Post by megakurt »

I've noticed that the HTTP server bumps my CPU usage up to 65% even when it is not serving any images. Is there a way to have it wait until there is a request before polling the camera (I'm assuming this is what is the cause of the CPU usage)? The STREAMING server does not add any CPU usage if it is not serving.
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

This is a design choice.

I let the camera stand in standby ready to deliver an image in the HTTP output. (This consumes CPU.)
The STREAMING server on the other hand is not in standby, and therefore a delay occurs before the image is delivered.

I think the delay is acceptable for the STREAMING server, but not for the ordinary webserver.

/malun
Post Reply