How to Register Spring Cloud with Consul Service Discovery

One of the main component of micro service architecture is service discovery (SD). So far in this blog I mentioned two tools for service discovery, which are Eureka and Consul. But if you may notice, whenever I used spring-cloud framework, I always choose Eureka. On the other hand, I pick consul when I talked about Golang.

Micro-services Using go-kit: Hystrix Circuit Breaker

The idea to apply circuit breaker pattern is to give protection and control over latency and failure, in order to stop cascading failure in a distributed environment. In addition, it provides a fail fast and rapid recovery for our services.

Micro-services Using go-kit: Service Discovery

In a environment where number of instances and network locations changes dynamically, a client needs a discovery mechanism to determine the location of a service instance, in order to send a request to it.

Micro-services Using go-kit: API Monitoring

API monitoring is essential because APIs are the only interaction mechanism between your services and outside world.

Micro-services Using go-kit: Rate Limiting

In the service world, usually we need to limit the number of requests in order to protect our services does not get overwhelmed.

Micro-services Using go-kit: Logging Features

Every application needs logging. Logging is very important, so you can consider it as a first class citizen. Therefore, application cannot be deployed to production without logging implementation.

Micro-services Using Go-kit: gRPC endpoint

This article will show how to create micro-services using Golang programming language and Go-kit as its framework. The service will be exposed via gRPC protocol.

Micro-services Using Go-kit: REST Endpoint

In this article, I will create a simple micro-service using Go programming language and go-kit as a standard micro-services library. The service will be exposed via REST endpoint.