Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-04-01 Thread Afkham Azeez
Well one of your responses indicated that the the blogpost suggests wrapping all DB calls in circuit breakers, and Frank's response indicated that it is suggesting wrapping all calls to external systems in circuit breakers. If it can confuse such brilliant minds, I guess it could mislead an averag

Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-04-01 Thread Sanjiva Weerawarana
Azeez, asking questions and asking to understand what the purpose of some code is not a criticism. Of course there should be a sample! I only asked about it because to me a client side sample made more sense - and then it went into a discussion of when this should be used etc.. I would not only p

Re: [Architecture] Fwd: [PC] [Analytics] Process Variable Analysis Support

2016-04-01 Thread Waruna Jayaweera
Hi Samitha, Great . There are few suggestions. It is good if we have the functionality of updating the process variables configuration from PC to DAS and PC to BPS. Process artifacts will be changed time to time and variables will be changed. And also generated spark scripts should be customizable

Re: [Architecture] [Docker] Creating a Single Docker Image for a Product

2016-04-01 Thread Chamila De Alwis
Hi Eranga, Squashing the image is a problematic approach for WSO2 products, as some configs that are done in the entrypoint script would also get saved in to the resulting flat image. For example, there are some operations that take the IP address of the container as an input. If we flatten the co

Re: [Architecture] [Docker] Extensible approach to building Docker images

2016-04-01 Thread Isuru Haththotuwa
+1 to this idea in general. Before this change, the Dockerfiles had the puppet apply command hardcoded. A user did not need a puppet installation in the local machine since the Dockerfile commands are run in a temp container. But still the puppet related complexities (puppet related directory stru

Re: [Architecture] [Docker] Creating a Single Docker Image for a Product

2016-04-01 Thread Eranga Perera
Hi, To reduce the size of the docker image I found the following approaches being used. Once the image if built we can merge the layers and flatten [1]. Also can squash the docker image as in [2] [1] https://www.ctl.io/developers/blog/post/optimizing-docker-images/ [2] https://github.com/jwilder/