Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/90_gdedbBrg Import Date: 2016-01-19 21:29:19 +0000.
Date:Tuesday, 27 October 2015 14:42:18 UTC.
I’m looking into a mechanism to scale our Tyk infrastructure and I’m hoping for a little guidance. Our current setup includes a host machine running docker containers for the host_manager, dashboard, gateway, mongo and redis.
To handle increased numbers of API requests inbound on the host manager I was planning on adding more (host_manager, dashboard, gateway) containers. Should each such set of containers be isolated from one another or is there a way to connect them?
Also, in such a set up how can I guarantee uniqueness in the database. For example, in the case that two dashboard instances (linked to the same set of dbs) are handling key creation requests via the Advanced managment API how can I guarantee there aren’t collisions in the generated key ids?