Posts

Custom Circuit Breaker Policy for Mule 4

Image
  1.​ Introduction   This document is to show the details installation and configuration for custom circuit breaker policy.   Circuit Breaker monitors API calls. When everything is working as expected, it is in the state “closed”. When the number of fails, like timeout, bad request, backend api failure reaches a specified threshold, Circuit Breaker will stop processing further requests. We call it the open state. As a result, API clients will receive instant information that something went wrong without waiting for the timeout to come.   ​2.​ Detailed Policy Design   This policy implements the Circuit Breaker pattern by monitoring a configurable number of exceptions or errors returned from the target endpoint. When the number of consecutive failures crosses a threshold, the circuit breaker trips, and for the duration of a timeout period all attempts to invoke the API will fail immediately. After the timeout expires the circuit breaker allo...

Deciding which data model to use in FatWire

How you determine which type of data model should be used for a particular content? The basic asset model is a good choice when your data has the following characteristics:- 1)It is fixed, predictable: there will be no need to add attributes to the asset type. 2)It is homogenous: all assets of the same type have similar attributes. 3)It has a moderate number of attributes. You are limited by your database as to how many columns/attributes you can have in the asset type table for a basic asset. 4)You want to use the static publishing method predominantly. The flex model is the right choice when your data has the following characteristics: 1)It has lots of attributes. 2)It can be represented in a hierarchy in which assets inherit attribute values from parent assets. 3)You cannot predict what attributes might be necessary in the future. 4)Asset instances of the same type can vary widely. That is, not all assets of that type should have the same attributes. 5)Visitors browse you...

How a tester frustrates a developer!

How Roshan D’Mello (QA Tester) frustrates developer (Mukesh Thakur) Roshan D’Mello: Hey Mukesh, there is a bug in your code. Type a text in user name text box and press enter. Beep sound doesn’t appear. Mukesh Thakur: How can that be a bug? There is no requirement that beep sound should come. Anyway, I will assign it to offshore and get it fixed. After 2 days, Mukesh Thakur: Roshan, bug is fixed. Please verify. After another 2 days, Roshan D’Mello:  I have re-opened the bug because sound is not coming in some PCs. Sound is coming in my machine, but my colleague Rajat Choudhry is not getting the sound. After another 2 days, Mukesh Thakur: Not a bug. I observed that your friend Rajat Choudhry has old IBM machine. Unlike your DELL machine, IBM machines do not have inbuilt speakers. So, to hear the sound in Rajat Choudhry’s machine, please use head phones and then get the bug closed soon. Another 2 days, Roshan D’Mello:  I have re-opened the bug because sound to...

The Big Rocks of Life ...

One day an expert in time management was speaking to a group of business students and, to make a point, he used this illustration. As he stood in front of the group he pulled out a large wide-mouthed Mason jar and set it on the table in front of him. Then he produced about a dozen rocks and placed them, one at a time, into the jar. When the jar was filled to the top and no more rocks would fit inside, he asked, “Is this jar full?” Everyone in the class said, “Yes.” Then he said, “Really?” He reached under the table and pulled out a bucket of gravel. He dumped some gravel in and shook the jar causing pieces of gravel to work themselves down into the space between the rocks. Then he asked the group once more, “Is the jar full?” By this time the class began to understand. “Probably not,” one of them answered. “Good!” he replied. He reached under the table and brought out a bucket of sand. He started dumping the sand in the jar and it went into all of the spaces left between...

FatWire OverView.

FatWire is a Web Content Management owned by FatWire. 1996: Established by Mark Fasciano, Ari Kahn and John Murcott 2003: Acquired Open Market's Enterprise web content management assets including Content Server (originally from divine). 2004: Launched Content Server 6.0 WCM Software 2007: Yogesh Gupta was named President and CEO in August, acquired Infostoria in October, launched their strategy for Web Experience Management in November. 2010: FatWire and EMC Corporation announced a partnership in which EMC will resell FatWire's products as their strategic Web Experience Management solution. In return FatWire acquired the rights to resell EMC's digital asset management software, 2011: On June 21, 2011, Oracle announced that it has agreed to acquire FatWire Software. Products are : FatWire Content Server FatWire TeamUp FatWire Analytics FatWire Engage FatWire Community Server FatWire Gadget Server FatWire Mobility Server FatWire Content...