What is a Circuit Breaker pattern? The circuit breaker pattern is something that can prevent from repeatedly trying to call a service or a function that will likely fail and save CPU cycles. It is pretty common for a software service to call remote software service and the remote service can fail or not respond…… Continue reading Resilience4j Circuit Breaker With Spring boot
Tag: Springboot
Tracing With Spring Sleuth And Zipkin For Micro Services
As microservice architecture has become a standard for all the latest distributed systems, the tracing of the calls from one microservice to others has been a challenging thing for a while. To solve this Sprig Cloud introduced Spring Sleuth which borrows heavily from dapper. Spring sleuth adds traceID and spanID to the logs so it…… Continue reading Tracing With Spring Sleuth And Zipkin For Micro Services
Netflix Eureka Server And Client Setup With Spring Boot
Overview We will set up a Eureka server (service registry used to register multiple services/microservices).We will set up multiple Eureka clients(REST services that register to Eureka Server).We will do client-side load balancing and service discovery through Eureka. Setting up Eureka Server The dependency required to set up a eureka server is “spring-cloud-starter-netflix-eureka-client” along with spring-boot-starter-parent.…… Continue reading Netflix Eureka Server And Client Setup With Spring Boot
Google Firebase Tutorial Beginners.
In this tutorial will see how to connect to Firebase Firestore Database and persist data using rest web services. For this will start from the rest web service that we built using spring boot in the previous blog post Build Restful web service using Spring boot and Java. If you are a video guy here…… Continue reading Google Firebase Tutorial Beginners.
Build A RESTful Web Service Using Java And Spring Boot
In this following tutorial, we will build a simple REST web service using java with spring boot. What is a Web Service?Web Service is a standard or common way of communication between a client and a server. The above diagram shows the pictorial representation of a web service call, the clients a computer, or a…… Continue reading Build A RESTful Web Service Using Java And Spring Boot