thank you for your answers. We double checked and here is my revisited answer:
- you are correct, the
analytics_config.type
cannot haveredis
value. That was a copy/paste issue from our side. - it is also correct that both
enable_analytics
andenable_health_checks
configuration values work as expected, so if we set them tofalse
they will switch off the corresponding feature. - the root cause of the misunderstanding was that we played with setting them on and off in parallel and mistakenly we came to the conclusion that the
zrange
command (which takes a lot of time as we measured) is executed by the analytics module.
So, to summarize: after we set the enable_health_checks
to false
there was a considerable speed increase in Tyk. Basically we came to a very similar conclusion as this thread: Scaling Redis for Tyk in AWS - #5 by kalpik
Thank you for your inputs and for driving me in the good direction.
Jozsef