Welcome! Log In Create A New Profile

Advanced

limiting bandwith by querying mysql possible?

December 07, 2009 11:43PM
Hi, i haven't found a solution regarding nginx, and it's driving me nuts..
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...

this has raised a big amount of suport mails for my system, as the users are...pretty ,,,well you know how they are..

so , i don't have a clue how to do this , i have to really count the traffic...

the situation it's pretty bad as i have more webservers serving, and one central DB...with a cluster...but it's a mysql


what i don't want to do is serve files with php, and of course programming a module is not an option..C++ is pretty hard for me

Thank you for reading this post
Subject Author Posted

limiting bandwith by querying mysql possible?

partysoft December 07, 2009 11:43PM

Re: limiting bandwith by querying mysql possible?

Piotr Sikora December 07, 2009 11:56PM

Re: limiting bandwith by querying mysql possible?

partysoft January 19, 2010 12:08AM

Re: limiting bandwith by querying mysql possible?

Piotr Sikora January 20, 2010 02:10AM

Re: limiting bandwith by querying mysql possible?

agentzh January 19, 2010 08:56PM

Re: limiting bandwith by querying mysql possible?

Robert Mueller January 21, 2010 10:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready