Echo framework: add API logging Middleware
introduceThrough a complete example, add API logging middleware to the micro service based on Echo framework.What is log interceptor / Middleware?The log interceptor logs every API request.We will use rk-boot To start the microservice of the Echo framework.Please visit the following address for a complete tutorial: https://rkdocs.netlify.app/cn ...
Posted by parthatel on Wed, 03 Nov 2021 15:31:37 -0700
[Golang] microservice implementation tool -- go kit is easy to understand
Go kit is a distributed development tool set, which can be used to build micro services in large organizations (businesses). It solves most common problems in distributed systems. Therefore, users can focus on business logic
First of all, we should understand that go kit is not a framework. It is just a tool set. It has some toolkits to help ...
Posted by savagenoob on Wed, 03 Nov 2021 15:10:58 -0700
Spring Cloud Gateway deadly serial 10 Q?
This article introduces an important role in microservices: gateway. As for how to select a gateway, Alibaba has not yet selected a gateway. Of course, it has chosen Spring cloud Gateway. After all, it is my son.
The article contents are as follows:
Why do I need a gateway?
In the traditional monomer architecture, only one service is ope ...
Posted by DJ_CARO on Wed, 03 Nov 2021 14:50:53 -0700
Spring cloud 2020.0.4 series Config
1. General
As the old saying goes: if one road doesn't work, go the other way. If plan A can't be implemented, follow Plan B. It's always useful to prepare more plans.
Well, let's get down to business. Today, let's talk about the distributed configuration center Config of spring cloud. There are many service nodes in the microservice architec ...
Posted by Scud on Wed, 03 Nov 2021 00:11:19 -0700
Shangyangge springcloud config
SpringCloud Config configuration center
summary
What is it?
SpringCloud Config provides centralized external configuration support for microservices in the microservice architecture. The configuration server provides a centralized external configuration for all environments of different microservice applications.
How do you play?
Spring c ...
Posted by clapton on Tue, 02 Nov 2021 10:07:28 -0700
SpringCloud microservice practice -- building an enterprise level development framework: integrating OpenFeign for calls between microservices
As one of the subprojects of Spring Cloud, Spring Cloud OpenFeign provides a solution for calls between services under the microservice architecture by integrating OpenFeign into Spring Boot applications. Firstly, we use the declarative way of OpenFeign to define the Web service client; Secondly, it goes further by integrating Ribbon or Eureka ...
Posted by Nuser on Mon, 01 Nov 2021 01:12:00 -0700
Getting started with Spring Security
Getting started with Spring Security
1, Use of Spring Security
1.1 basic terms
Spring Security is a powerful and highly customizable authentication and authorization framework. It is a set of Web security standards for spring applications. Spring Security focuses on providing authentication and authorization functions for java applicatio ...
Posted by tunari on Sat, 30 Oct 2021 00:00:24 -0700
GateWay service GateWay
spring Cloud gateway has the following features:
Dynamic routing: it can match any request attribute;
You can specify Predicate assertions and filters for routes
Integrate spring cloud service discovery
Easy to write Predicate assertions and filters
Request current limiting function
Support path rewriting
Three core concepts
route:
Ro ...
Posted by Froolah on Fri, 29 Oct 2021 08:29:16 -0700
Other usage and usage of spring cloud 2020.0.4 series service degradation
catalogue
1. General
2. Other usage of hystrix service degradation
3. Hytrix realizes fusing
4. Overview
5. official account
1. General
As the old saying goes: only by controlling your emotions can you control your life. Impulse is the devil, calm is the most important.
To get back to business, I talked about how to add a degradation ...
Posted by Ryodox on Thu, 28 Oct 2021 02:37:34 -0700
Micro Service -- Nacos configuration management model
1. How to start Nacos in IDEA?
2. The Nacos configuration center is down. Can our service still read the configuration information?
You can obtain the configuration information of the configuration center from the memory. After the client obtains the configuration information, it will store a copy of the configuration information in the ...
Posted by tonga on Tue, 26 Oct 2021 01:13:43 -0700