How to use native RPC and microservice in golang

How to use native RPC and microservice in golang Microservice 1. What is micro service It uses a set of small services to develop a single application. Each service runs in an independent process. Generally, it uses lightweight communication mechanism to interconnect, and they can be deployed UTF-8...

Posted by tendrousbeastie on Thu, 13 May 2021 02:34:39 +0930

Spring Cloud Gateway service gateway

1, Overview Gateway website: https://cloud.spring.io/spring-cloud-static/spring-cloud-gateway/2.2.1.RELEASE/reference/html/ 1.1 what is gateway Gateway is an API gateway service based on Spring ecosystem, which is based on Spring 5, Spring Boot 2, Project Reactor and other technologies.GatewayUTF-8...

Posted by Helljumper on Thu, 20 May 2021 05:34:39 +0930

7. Microservice family - Message Queuing RocketMQ

Catalog Spring Cloud Alibaba microservice series 0. Spring Cloud Alibaba microservice series - Preparation1. Spring Cloud Alibaba microservice series - service registry Nacos2. Spring Cloud Alibaba microservice series - configuration center Nacos3. Spring Cloud Alibaba microservice series - serUTF-8...

Posted by icon4tech on Fri, 28 May 2021 07:50:25 +0930

Micro service registry: Consul -- service discovery

Article series: Microservice registry: Consul -- concept and basic operation Micro service registry: Consul - service registration I. overview With Consul's service registration finished, it's time for service discovery. If you have experience in using RPC framework, such as nacos, eureka, dubbUTF-8...

Posted by burfo on Sun, 30 May 2021 03:35:44 +0930

Spring cloud (H version & alibaba) Config

Spring cloud (H version & Alibaba) Config Distributed configuration center summary Official website ​ https://cloud.spring.io/spring-cloud-static/spring-cloud-config/2.2.1.RELEASE/reference/html/ Configuration problems faced by distributed system As more and more microservices are built, one miUTF-8...

Posted by alkhatareykha on Tue, 08 Jun 2021 09:36:02 +0930

Spring Cloud-04-OpenFeign service interface call

RestTemplate technology when service consumers call service providers Inconvenience Stitching url restTmplate.getForObJect Both of these codes are more templated, can we not use them to write this kind of templated dongtang. In addition, splicing url is often low, splicing strings, splicing paUTF-8...

Posted by Thierry on Thu, 24 Jun 2021 05:49:34 +0930

Registration center and its construction

Registry Service registration is to solve the problem of Who are you, that is, to obtain the identity information and service name of all service nodes. From the perspective of registration center, we have the following two intuitive solutions: The registration center actively accesses all the UTF-8...

Posted by billli on Sat, 26 Jun 2021 03:35:57 +0930

Common components of spring cloud

1 system architecture evolution With the development of Internet, the scale of website application is expanding. The surge in demand has brought about technical pressure. Therefore, the system architecture is constantly evolving, upgrading and iterating. From a single application, to vertical sUTF-8...

Posted by ikmyer on Thu, 22 Jul 2021 08:24:47 +0930

Several solutions of distributed transaction

What is a transaction If we need to update some data, in order to ensure the integrity and consistency of these data, we hope that these update operations will either succeed or fail Characteristics of the transaction (ACID) Atomicity refers to the indivisibility of a transaction operation, eitUTF-8...

Posted by amycrystal123 on Fri, 30 Jul 2021 02:25:32 +0930

Session sharing between distributed and cluster

First, before entering the topic, let's review the following cookies and Session What is a Cookie 1. Cookie is a technology that the server notifies the client to save key value pairs. At the same time, after the client saves the cookie, each request will be sent to the server. The size of eacUTF-8...

Posted by hopelessX on Mon, 02 Aug 2021 10:34:41 +0930