How to achieve accurate rate-limits on Kong CE db-less mode? #13510
Replies: 3 comments 1 reply
-
Reasonable question @amitonlentra, but I guess that it's like that in the CE-version. The approach 3 with load balancer, take a look at the "sticky sessions" feature available in some. That way you could let a user return to the same Kong node, but keep in mind that this could result in uneven traffic. |
Beta Was this translation helpful? Give feedback.
-
I use the cache-proxy plugin and then caching is limited to that particular pods memory
Why do we need to explicitly use a caching proxy plugin since it anyways
uses pods memory? We are anyways running with db-less mode.
The approach 3 with load balancer, take a look at the "sticky sessions" feature available in some.
We anyways have nginx in front of kong which must be having this feature.
Thanks for the valuable inputs.
…On Sat, 17 Aug, 2024, 7:15 am Tobias Lindberg, ***@***.***> wrote:
Reasonable question @amitonlentra <https://github.com/amitonlentra>, but
I guess that it's like that in the CE-version.
I use the cache-proxy plugin and then caching is limited to that
particular pods memory, since Redis is a EE feature there.
I guess it's the same approach here, so either upgrade to EE to support a
Redis cluster or write a custom plugin.
The approach 3 with load balancer, take a look at the "sticky sessions"
feature available in some. That way you could let a user return to the same
Kong node, but keep in mind that this could result in uneven traffic.
—
Reply to this email directly, view it on GitHub
<#13510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFVZZ3GEBEEHUUAMK4W7NRTZR2TKTAVCNFSM6AAAAABMUD5ZWSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZWGM4DMOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Would recommend yall look here for dbless but also redis based on CE: https://github.com/dream11/kong-scalable-rate-limiter |
Beta Was this translation helpful? Give feedback.
-
We deploy kong 3.1.1 on kubernetes through helm. We are currently running the community edition in db-less mode. There are multiple instances of kong configured to achieve high availability and scalability. Kong enables us with routing, rate-limiting, authentication (custom plugin) and monitoring. We have rate-limits enabled on different routes across multiple services. Our main concern is having accurate rate limits.
We are evaluating multiple approaches to achieve this
Are there any other approaches that we could explore?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions