Custom API Request & Response Logging in spring boot.

Custom API Request & Response Logging in spring boot.

Ashish Lahoti

When we create RESTFul APIs in spring boot application in microservices environment. It becomes essential to log incoming API request and response and push it to centralized logging system such as Splunk or ELK for debugging. Also all the logs related to one request should have some common id to relate them. In this post we are going to solve these problems.

info and health endpoints in spring boot

info and health endpoints in spring boot

Ashish Lahoti

In spring boot microservices based application, where microservices talks to each other using RESTFul APIs. We can expose some important information about microservice such as name, version, description over some endpoints say /info and also realtime status or health over some endpoint say /health to create application dashboards, realtime alerts, track microservice updates and so on…

Top Microservices Interview Questions

Top Microservices Interview Questions

Ashish Lahoti

These Microservices based interview questions are based on my personal interview experience and feedback from other interviewees. These questions verifies your theoretical as well as practical knowledge about microservices. Keep following this post for regular updates.

Async/Await in JavaScript

Async/Await in JavaScript

Ashish Lahoti

Async functions and Await keyword are latest additions in JavaScript as part of ECMAScript 2017 release which introduced a new way of writing asynchronous functions. In this post we will talk about why we should use async/wait, its syntax and practical usage with example.

Promises in JavaScript

Promises in JavaScript

Ashish Lahoti

Promises are introduced natively in ES6. They are very similar to our promises. As we keep or break our promises, Javascript promises are also either resolve or reject. In this post we will talk about why we should use promises, promise syntax, promise states and its practical usage with examples using fetch API.