we are having a configuration of tyk where enable_non_transactional_rate_limiter flag is true.
So we are having a doubt
Is it suffice alone to enable redis rate limiting in tyk
OR
it is just for performance enhancement which works with any of enable_redis_rolling_limiter, enable_sentinel_rate_limiter required parameters.
zaid
April 12, 2023, 3:36pm
2
Hello @Mohit_Kumar please have a look at this documentation page . If you still have any questions I will be more than happy to clarify
Hey @zaid thanks for docs, gone thru it.
As per my understanding enable_non_transactional_rate_limiter parameter is only used once we have enable_redis_rolling_limiter OR enable_sentinel_rate_limiter enabled.
enable_non_transactional_rate_limiter is of no use alone.
Correct me if that’s wrong understanding.
Thanks
asha
April 17, 2023, 8:26am
4
Hi Mohit,
Yes, you are right, enable_non_transactional_rate_limiter parameter is only used once we have enable_redis_rolling_limiter OR enable_sentinel_rate_limiter enabled. Refer
https://tyk.io/docs/tyk-oss-gateway/configuration/#enable_non_transactional_rate_limiter
cheers
zaid
April 17, 2023, 1:41pm
6
Just a quick correction to both answers.
enable_redis_rolling_limiter is the main option. Once that’s enabled you’ll get redis rate limiting.
enable_sentinel_rate_limiter can be enabled but it actually requires the enable_redis_rolling_limiter to also be enabled for it to function.
enable_non_transactional_rate_limiter parameter is only used once we have enable_redis_rolling_limiter enabled.
1 Like