Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/prgO36gD3jQ Import Date: 2016-01-19 21:20:42 +0000.
Sender:Tor Inge Skaar.
Date:Wednesday, 19 August 2015 11:21:50 UTC+1.
In my setup I’ve daemonized three Tyk processes on the same host behind an nginx reverse proxy. They all use the same tyk.conf, and hence use the same Redis and MongoDB instances (I use --port as an input argument when starting tyk to override the port setting in tyk.conf and have each process listen on a different port). Redis and Mongo runs on the same host.
Now, this seems to work just fine. And by tailing my nginx log I can see that nginx load balances the requests between the three tyk processes.
However, is there a potential conflict when multiple Tyk processes uses the same Redis and MongoDB instance? And is there any configuration options that I need to consider? Btw, I’m also running Tyk Dashboard on the same host.
Happy to provide the entire configuration if needed.
Tor Inge Skaar