Welcome! Log In Create A New Profile

Advanced

Re: gzip causing high cpu load for streaming traffic

January 07, 2011 10:13PM
For reference I'm pretty sure that its not connection setup / negotiation that is causing the load when enabled as the machines aren't dealing with that may new connections per second, so its an overhead for the entirety of the data send I believe.

Ok so found something interesting, while mp4's are being sent with the correct header flv's aren't and hence are getting compressed:

GET /streaming/test.flv?..........

nginx/0.8.53
Date Sat, 08 Jan 2011 03:01:24 GMT
Content-Type text/html; charset=utf-8
Content-Length 693656659
Last-Modified Fri, 07 Jan 2011 16:19:25 GMT
Connection keep-alive
Cache-Control private, max-age=0, must-revalidate
Accept-Ranges bytes

GET /streaming/test.mp4?..........
Server nginx/0.8.49
Date Sat, 08 Jan 2011 03:09:25 GMT
Content-Type video/mp4; charset=utf-8
Content-Length 53385372
Last-Modified Wed, 05 Jan 2011 14:55:46 GMT
Connection keep-alive
Cache-Control private, max-age=0, must-revalidate
X-Mod-H264-Streaming version=2.2.7
Accept-Ranges bytes

So the question is now why are flv's getting text/html as their content type?
Subject Author Posted

gzip causing high cpu load for streaming traffic

steveh January 07, 2011 08:39PM

Re: gzip causing high cpu load for streaming traffic

Maxim Dounin January 07, 2011 09:36PM

Re: gzip causing high cpu load for streaming traffic

steveh January 07, 2011 09:51PM

Re: gzip causing high cpu load for streaming traffic

steveh January 07, 2011 09:53PM

Re: gzip causing high cpu load for streaming traffic

steveh January 07, 2011 10:13PM

Re: gzip causing high cpu load for streaming traffic

steveh January 07, 2011 11:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready