How the replication should work in API gateway clustered environments?