does ceph rgw has any option to limit bandwidth
Hi, Is there any option of rados gateway that limit bandwidth?
You cannot set that much in radosgw, for that you have to use eg haproxy https://docs.ceph.com/docs/master/radosgw/config-ref/ -----Original Message----- From: Zhenshi Zhou [mailto:deaderzzs@gmail.com] Sent: woensdag 19 augustus 2020 10:16 To: ceph-users Subject: [ceph-users] does ceph rgw has any option to limit bandwidth Hi, Is there any option of rados gateway that limit bandwidth? _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Apart from Marc Roos' reply, it seems like something that could be easily done with any normal kind of network rate limiting, so anything that limits traffic that matches "outgoing tcp from self with source-port 80,443*" should work for your rgw too, if you think it eats too much BW, without limiting its speed towards the OSDs. *) if your rgw is on those two ports of course. Den ons 19 aug. 2020 kl 10:16 skrev Zhenshi Zhou <deaderzzs@gmail.com>:
Hi, Is there any option of rados gateway that limit bandwidth?
-- May the most significant bit of your life be positive.
I wanna limit the traffic of specific buckets. Can haproxy, nginx or any other proxy software deal with it ? Janne Johansson <icepic.dz@gmail.com> 于2020年8月19日周三 下午4:32写道:
Apart from Marc Roos' reply, it seems like something that could be easily done with any normal kind of network rate limiting, so anything that limits traffic that matches "outgoing tcp from self with source-port 80,443*" should work for your rgw too, if you think it eats too much BW, without limiting its speed towards the OSDs.
*) if your rgw is on those two ports of course.
Den ons 19 aug. 2020 kl 10:16 skrev Zhenshi Zhou <deaderzzs@gmail.com>:
Hi, Is there any option of rados gateway that limit bandwidth?
-- May the most significant bit of your life be positive.
I know you can redirect to a 'different' backend configuration in haproxy based on url match. So maybe you can limit then this specific backend configuration. Ask these guys on help[1] they respond quite fast. [1] https://discourse.haproxy.org/ -----Original Message----- Cc: ceph-users Subject: [ceph-users] Re: does ceph rgw has any option to limit bandwidth I wanna limit the traffic of specific buckets. Can haproxy, nginx or any other proxy software deal with it ? Janne Johansson <icepic.dz@gmail.com> 于2020年8月19日周三 下午4:32写道:
Apart from Marc Roos' reply, it seems like something that could be easily done with any normal kind of network rate limiting, so anything
that limits traffic that matches "outgoing tcp from self with source-port 80,443*" should work for your rgw too, if you think it eats too much BW, without limiting its speed towards the OSDs.
*) if your rgw is on those two ports of course.
Den ons 19 aug. 2020 kl 10:16 skrev Zhenshi Zhou <deaderzzs@gmail.com>:
Hi, Is there any option of rados gateway that limit bandwidth?
-- May the most significant bit of your life be positive.
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi all, Is there any production-based sample for HAProxy? Or are there any other suggestions for limiting RGW bandwidth for users? On Wed, 19 Aug 2020 at 20:11, Anthony D'Atri <anthony.datri@gmail.com> wrote:
I wanna limit the traffic of specific buckets. Can haproxy, nginx or any other proxy software deal with it ?
Yes. I’ve seen it done. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (5)
-
Anthony D'Atri
-
Janne Johansson
-
Marc Roos
-
Reza Bakhshayeshi
-
Zhenshi Zhou