User authentication scheme under spring cloud

The commonly used Security frameworks under ava mainly include Spring Security and shiro, which can provide very powerful functions, but the learning cost is high. Under microservice, authentication will be more or less invasive to the service. In order to reduce dependence, reduce intrusion and make the authentication function transparent to t ...

Posted by CrashRoX on Wed, 10 Nov 2021 19:03:13 -0800

Spring Cloud Alibaba: Nacos configuration center

Spring Cloud Alibaba: Nacos configuration center Dynamic configuration service can manage the application configuration and service configuration of all environments in a centralized, external and dynamic way. Dynamic configuration eliminates the need to redeploy applications and services when configuration changes, making configuration manage ...

Posted by paulytrick on Wed, 10 Nov 2021 08:17:29 -0800

Spring cloud learning 3: Eureka service registration and discovery

1, Overview 1.1 process 1.2 architecture Eureka Spring cloud encapsulates the eureka module developed by netfix company to realize service registration and discovery The C-S architecture design is adopted, and EurakaServer is used as the service registry Other services in the system use the client to connect to EurakaServer an ...

Posted by mrneilrobinson on Wed, 10 Nov 2021 01:36:09 -0800

In depth analysis of RocketMQ source code - message storage module

1, IntroductionRocketMQ is Alibaba's open source distributed messaging middleware. It draws on Kafka's implementation and supports functions such as message subscription and publishing, sequential message, transaction message, timing message, message backtracking, dead letter queue and so on. RocketMQ architecture is mainly divided into four pa ...

Posted by Kold on Mon, 08 Nov 2021 18:12:18 -0800

Spring Cloud - Hystrix: Services

Hystrix: Service fuse Problems faced by distributed systems There are dozens of dependencies for applications in complex distributed architecture, and each dependency will inevitably fail at some time! 1. Service avalanche When calling between multiple microservices, suppose microservice A calls microservice B and microservice C, and mi ...

Posted by Josepheuan on Mon, 08 Nov 2021 11:11:20 -0800

Installation and use of kubernetes

1 Introduction to kubernetes 1.1 kubernetes function Automatic packing Based on the resource configuration requirements of the application running environment, the application container is automatically deployed Self healing (self healing) When the container fails, the container is restartedWhen there is a problem with the deployed Node, t ...

Posted by sneakyimp on Mon, 08 Nov 2021 08:03:36 -0800

Microservice architecture foundation

Microservice Architecture Foundation (II) To be continued Continue the previous basic project for expansion Load balancing and service invocation Ribbon Ribbon local load balancing client & nginx server load balancing difference Nginx is server load balancing. All client requests will be handed over to nginx, and then ngin ...

Posted by cassius on Sat, 06 Nov 2021 15:58:08 -0700

Without Cgroups, there would be no Docker

What are Cgroups? Cgroups is the abbreviation of control groups. It is a mechanism provided by the Linux kernel that can limit, record and isolate the physical resources (such as cpu,memory,IO, etc.) used by process groups. Originally proposed by google engineers, it was later integrated into the Linux kernel. What can Cgroups do? The initial g ...

Posted by karq on Sat, 06 Nov 2021 07:58:30 -0700

Summary of microservice performance optimization due to a large increase in business recently - 4. Increase the monitoring of HTTP request waiting queue of synchronous microservices

Recently, the business has grown rapidly, which is also a big challenge for our background. The performance bottleneck of the core business interface encountered this time is not caused by a single problem, but a combination of several problems: after we solve one, we launch it, and then we find another performance bottleneck. This is also my l ...

Posted by sanand158 on Thu, 04 Nov 2021 04:12:37 -0700

Gin framework: add API logging Middleware

introduceThrough a complete example, add API logging middleware to the micro service based on Gin framework.What is log interceptor / Middleware?The log interceptor logs every API request.We will use rk-boot To start the microservices of the Gin framework.Please visit the following address for a complete tutorial: https://rkdocs.netlify.app/cni ...

Posted by allelopath on Wed, 03 Nov 2021 20:43:13 -0700