Re: [Architecture] The new disruptor based Netty transport is not working well for MSF4J

2016-03-12 Thread Sanjiva Weerawarana
On Thu, Mar 10, 2016 at 6:20 PM, Sagara Gunathunga wrote: > On Thu, Mar 10, 2016 at 10:26 AM, Afkham Azeez wrote: > >> No from day 1, we have decided that GW & MSF4J will use the same Netty >> transport component so that the config file will be the same as well as >> improvements made to that tr

Re: [Architecture] Introducing a model generator for DataMapper

2016-03-12 Thread Sanjiva Weerawarana
In the first picture there's something saying "schema generator for XSD" and "schema generator for XML". I can't figure out what the latter is. On Fri, Mar 11, 2016 at 1:46 PM, Awanthika Senarath wrote: > Please find the component diagram attached, > > ​ > Data Mapper Tool Workflow >

[Architecture] [Announce] WSO2 Puppet Modules 1.1.0 Released!

2016-03-12 Thread Chamila De Alwis
WSO2 Private PaaS team is pleased to announce the release of WSO2 Puppet Modules 1.1.0. Main features of this release: - Puppet configurations to enable SecureVault for WSO2 products - Puppet Modules and Hiera data for the following products - WSO2 API Manage 1.10.0 - WSO2 Messa

Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-03-12 Thread Isabelle Mauny
If an API GW is used to access the microservices , then the circuit breaker pattern would apply at that level, right ? If the client is a web app directly calling MS (not that this would be a good pattern at all !) then the client is the web app. In any case, they are all clients calling the micro

Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-03-12 Thread Afkham Azeez
This is a feature supported by some microservices frameworks. On the server side, in this case MSF4J runtime, failure counts are kept track of and then if the failures exceed certain thresholds, the circuit trips and rather than dispatch to the service, it returns service unavailable. Can you expl

Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-03-12 Thread Afkham Azeez
Isabelle & Sanjiva, http://www.javaworld.com/article/2824163/application-performance/stability-patterns-applied-in-a-restful-architecture.html?page=2 which Aruna had given as a reference explains circuit breaker on the server side. IMO, circuit breaker on both client side & server side are useful f

Re: [Architecture] The new disruptor based Netty transport is not working well for MSF4J

2016-03-12 Thread Afkham Azeez
On Sat, Mar 12, 2016 at 1:40 PM, Sanjiva Weerawarana wrote: > On Thu, Mar 10, 2016 at 6:20 PM, Sagara Gunathunga > wrote: > >> On Thu, Mar 10, 2016 at 10:26 AM, Afkham Azeez wrote: >> >>> No from day 1, we have decided that GW & MSF4J will use the same Netty >>> transport component so that the

Re: [Architecture] Session Affinity Alternatives

2016-03-12 Thread Afkham Azeez
Of course the simplest solution is similar to what Tomcat does, local sessions (no replication) & in a cluster, have session affinity configured at the load balancer, so that should be the default. If the node that had the session dies, the clients connected to that instance would get errors or hav

Re: [Architecture] The new disruptor based Netty transport is not working well for MSF4J

2016-03-12 Thread Afkham Azeez
Kasun et al, In MSF4J, the threads from the disruptor pool itself are used for processing in the MSF4J operation. In the case of the GW passthrough & HBR scenarios, are those disruptor threads used to make the calls to the actual backends? Is that a blocking call? What if the backend service is cha

Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-03-12 Thread Aruna Karunarathna
On Sat, Mar 12, 2016 at 6:16 PM, Afkham Azeez wrote: > Isabelle & Sanjiva, > > http://www.javaworld.com/article/2824163/application-performance/stability-patterns-applied-in-a-restful-architecture.html?page=2 > which Aruna had given as a reference explains circuit breaker on the server > side. IM

Re: [Architecture] [Dev] Introducing a model generator for DataMapper

2016-03-12 Thread Awanthika Senarath
Sanjiva, are you referring to the component diagram? "schema generator for XSD" and "schema generator for XML" are the generator classes which would generate the (JSON) schema which is "a" common schema type we would be using inside datamapper to generate the mapping configs. We are generating the

Re: [Architecture] The new disruptor based Netty transport is not working well for MSF4J

2016-03-12 Thread Isuru Ranawaka
Hi Azeez, In GW Disruptor threads are not used for make calls for backends. Backends are called by Netty worker pool and those calls are non blocking calls. So if backend responds after a delay it won't be a problem. In MSF4J if it includes IO operations or delayed operations then it causes pro

Re: [Architecture] Semantic VIP IS Authenticator

2016-03-12 Thread Malaka Silva
Hi Shakila, The part unclear for me is, how do we link local user to Semantic VIP user? User needs to enroll first? On Fri, Mar 11, 2016 at 7:37 PM, Shakila Sivagnanarajah wrote: > Hi all, > > I am going to implement Symantec VIP authenticator. Please find the > diagram to understand the flow.

Re: [Architecture] Semantic VIP IS Authenticator

2016-03-12 Thread Malaka Silva
Looks good. On Sat, Mar 12, 2016 at 9:15 AM, Shakila Sivagnanarajah wrote: > Hi Malaka, > > We need to set the VIP Credential ID for the user using claim. > Theoretically one user need to have one VIP Credential ID. So I decided to > go with claims. > > Thank you > > On Fri, Mar 11, 2016 at 9:03