Microservice Architecture - Day5

Learning objectives Learn microservice architectureCorresponding project Hotel demo Study notes 1. Get to know elasticsearch 1.1. Understanding ES 1.1. 1. Function of elasticsearch Elastic search is a very powerful open source search engine with many powerful functions, which can help us quickly find the content we need from massive dat ...

Added by plzhelpme on Wed, 22 Dec 2021 12:01:07 +0200

Deploying Spring Cloud Micro Service Project on K8S Platform

WeChat Public Number: Operations and Maintenance Development Story, Author: double winter 1. Familiarize yourself with the Spring Cloud microservice project Code branch description: dev1 Delivery Code dev2 Writes Dockerfile to build a mirror dev3 K8S Resource Layout dev4 Micro-Service Link Monitoring master finally goes online 2. Lo ...

Added by BlueKai on Tue, 21 Dec 2021 22:00:17 +0200

grpc of microservice component

grpc of microservice component summary grpc is a high-performance, open source and general rpc framework. It is designed for mobile and http/2. It brings characteristics such as two-way flow, flow control, header compression, multiple multiplexing requests of single tcp connection and so on. In short, it can be considered as a better protoc ...

Added by cleartango on Tue, 21 Dec 2021 19:14:50 +0200

Consistency challenge: data consistency solution under microservice architecture

CAP principle and BASE theorem CAP principle CAP is the acronym combination of Consistency, Availability and Partition tolerance. It is a priority for designers of all distributed systems before design. CAP principle Consistency C means that after the update operation is successful, the data of all nodes are completely consiste ...

Added by JMair on Mon, 20 Dec 2021 17:44:30 +0200

SpringCloud microservice Gateway

1, Introduction to Gateway (1) Official website: https://cloud.spring.io/spring-cloud-static/spring-cloud-gateway/2.2.1.RELEASE/reference/html/ (2) Introduction to the official website: Gateway is an API gateway service built on the Spring ecosystem and is based on technologies such as Spring 5, Spring Boot 2 and Project Reactor. Gateway aims ...

Added by drunkencelt on Mon, 20 Dec 2021 12:11:49 +0200

Analysis of Nacos service discovery source code

1, Nacos service discovery flow chart I believe you can sort it out after reading the following source code analysis; Refer to: Nacos service registration source code analysis flow chart 2, Find the source code entry The spring cloud commons package defines a set of service discovery specifications, and the core logic is in the DiscoveryClie ...

Added by rossh on Mon, 20 Dec 2021 10:49:21 +0200

gRPC: Quickly configure generic API to get process meta-information

introduceThis article describes how to quickly configure a common API through rk-boot and obtain process meta-information.What is process meta-information?The process meta-information contains the following:NamedetailsAPI ListGet API ListgRPC Error InformationgRPC corresponds to grpc-gateway error informationOS InformationCurrent OS Information ...

Added by ddevitt on Wed, 15 Dec 2021 23:37:29 +0200

SpringCloud Quick Start - GateWay Service GateWay

Preface What if we don't want all requests to have access to our services? Thus, this component, Gateway Gateway, is the unified gateway to all our micro services Its core functions are as follows: Privilege control: Gateway as a micro-service entry, needs to verify whether the user is eligible for requests, and if not interceptsRouting and ...

Added by edawson003 on Mon, 13 Dec 2021 19:01:41 +0200

Introduction to microservices

Differences between single application architecture and microservice architecture Single application architecture (a project is packaged and deployed to a server) Disadvantages: Code complexity is high, and a project may contain millions of code Difficult to update technology Low iteration frequency of project version Low scalabilit ...

Added by srinivas6203 on Mon, 13 Dec 2021 13:31:46 +0200

Spring Cloud Alibaba service flow limiting downgrade Sentinel

Sentinel overview Sentinel: traffic guard of distributed system Sentinel takes traffic as the starting point to protect the stability of services from multiple dimensions such as traffic control, fuse degradation and system load protection. Sentinel is divided into two parts: Core library( Java Client) does not depend on any framework/L ...

Added by JohnnyLearningPHP on Mon, 13 Dec 2021 03:21:46 +0200