Yes, but I have not yet found an open source reverse proxy can achieve it.
haproxy blocks requests instead of limit bandwidth in a fixed Mbps; nginx can
only limit the download speed (by the option proxy_limit_rate), and has a
negative side effect that it buffers the response body, it cause huge
performance downgrade.

On Fri, May 5, 2017 at 6:04 AM, Robin H. Johnson <robb...@gentoo.org> wrote:

> On Thu, May 04, 2017 at 04:35:21PM +0800, hrchu wrote:
> > Thanks for reply.
> >
> > tc can only do limit on interfaces or given IPs, but what I am talking
> > about is "per connection", e.g.,  each put object could be 5MB/s, get
> > object could be 1MB/s.
> To achieve your required level of control, you need haproxy, or other
> HTTP-aware reverse proxy, as to have a different limit based on the
> operation (and possibly the access key).
>
> --
> Robin Hugh Johnson
> Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer
> E-Mail   : robb...@gentoo.org
> GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
> GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to