Hi Youcef, There are couple of reasons for this approach. Let me explain.
These two pods are a collection of publisher, store and traffic manager profiles. All the throttling related events are publishing to traffic manager nodes to take the throttling decision. These events are published using thrift. Thrift maintains a session and due to this, we cannot load balance. In that case, we have to use two services if we are running two pods. That is why we have used two different pods here. These issues are addressed in APIM 3.0.0. Thank you! Pubudu. On Sat, Sep 9, 2017 at 5:53 PM, Youcef HILEM <[email protected]> wrote: > Hi, > > With APIM 2.1.0 distributed setup on OpenShift > (https://github.com/wso2/kubernetes-apim/tree/2.1.0/pattern-2) why there > is > two PODs (apim-pubstore-tm-1 & apim-pubstore-tm-2) instead of one POD > (apim-pubstore-tm) with replication factor 2? > > I cannot see the difference between the two configurations: > apim-pubstore-tm-1 & apim-pubstore-tm-2. > > Thanks > Youcef HILEM > > > > -- > Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2- > Architecture-f62919.html > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > -- *Pubudu Gunatilaka* Committer and PMC Member - Apache Stratos Senior Software Engineer WSO2, Inc.: http://wso2.com mobile : +94774078049 <%2B94772207163>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
