limiting bandwith by querying mysql possible?

Piotr Sikora piotr.sikora at frickle.com
Tue Dec 8 07:51:59 MSK 2009


> what i'm trying to do is limit the bandwith for each user that i have in a 
> mysqlDB for some mp3.
> I already have the DB , and i've been trying to implement this with 
> NginxXSendfile, but that doesn't count traffic , just No. of downloads by 
> calling a php script, and the the php forwards to nginx the file 
> transparently...

Did you try parsing access logs?

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >




More information about the nginx mailing list