I don’t understand what Redis is used for in TYK Community Edition and Professional Edition and if there is any difference in the roles between the two editions. Can someone explain that?
Redis is the primary key store for tokens, policies, quotas and rate limit information. If you are running 10 gateway nodes and fielding hundreds of simultaneous connections from the same user, then you need to synchronise the rate limiter and quota count across instances.
Redis is very very very fast, so it’s excellent for these kinds of counters.
Tyk CE is a headless API gateway, you administer it via config files and the API.
Tyk Pro adds the Tyk Dashbord and Analytics service, the developer portal and a fine-grained admin API on top of the regular gateway. It also comes bundled with our Premium support offering.
They both use Redis and Pro uses CE as the DMZ gateway, but adds a management layer so you can administer and push API configs, tokens, users etc to a cluster of a Tyk nodes from a single UI.
Hope that helps.
One question, can Tyk be integrated with Tomcat or can tyk replace tomcat?
Tyk is written in Go, so it’s just a binary you deploy - you shouldn’t need anything as complex as Tomcat to run it. But at the same time it isn;t a web server, it is a proxy, so I wouldn’t suggest replacing tomcat if you have things running inside it.
So if I have a java web application I must insert tyk in this way: apache http server - > tyk -> tomcat -> java application?
You won’t need Apache, Tyk can handle domain binding