Reflect: Microservices setups

new build for small apps can be ready in less than a minute with docker jenkins pipeline. Versus medium size apps that takes about 5-10 minutes to install/build/run.

best to setup microservices when there should be only one instance of an application. For example, running cron job to load data from another application. This will eleminate problem with duplicated or missing data.

between services, access with Cross-origin resource sharing (CORS) header setting to allow certain website to call the apis.

netflix hystrix follow the design diagram to have health pinger checking the services. if circuit is half open and got a success, close the circuit. If receive a number of failure within a certain timeframe, then open the full circuit to fail fast all other requests.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s