On Wednesday, February 8, 2017 at 2:32:10 AM UTC-8, Sharjeel Ali Shaukat 
wrote:
>
> Currently i want to know , how to allocate bandwidth to users by 
> restricting them certain download and upload speed , also it will also 
> calculate the bytes on each request they send through browser , Please let 
> me know if its possible
>

It doesn't sound like anything I've seen in the Web2py documentation, and 
it sounds more like a front-end feature than a framework feature.   The 
problem the front end has, though, is telling the difference between UserA 
and UserB when both are behind the same NAT port.  The framework can tell 
by means of the session cookie, but the front end doesn't understand those 
(so far as I know).

On outbound traffic, the framework can set an optional header to request 
QoS limits, but that would only help if the front end could be configured 
to understand what that header means.  As I'm still in the "front ends are 
black boxes" learning stage, I don't know if that can be done.

/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to