Student management of SpringCloud micro service

1. Environmental construction 1.1 architecture analysis Registry: NacosGateway: GatewayBackend infrastructure: ssmFront end: Vue + SPAAxios(request.js) 1.2 database environment 1.2. 1 student database #Student database CREATE DATABASE nacos_ssm_student; USE nacos_ssm_student; CREATE TABLE tb_city( c_id VARCHAR(32) PRIMARY KEY COMMENT ...

Posted by echoninja on Fri, 10 Dec 2021 13:26:07 +0100

gRPC security Part-2: fast implementation of server-side JWT authentication

introduceThis article describes how to rk-boot Implement the server JWT verification logic.What is JWT?JSON network token is an Internet standard used to create data with optional signature or optional encryption so that claims can be safely represented between two parties. The token is signed with a private secret or public / private key.In sh ...

Posted by blackandwhite on Wed, 08 Dec 2021 22:47:55 +0100

Actual combat of microservice scenario: build authentication center service from scratch based on SpringCloud Alibaba

Authentication center service Meet JWT json web token is an open standard. It defines a compact and self-contained way to safely transmit information between parties as json objects After authentication, the server will generate a json object and send it to the client. After that, both the client and the server need to bring this object to t ...

Posted by hush on Tue, 07 Dec 2021 21:25:17 +0100

Record of user behavior log in SSO microservice Engineering

System requirements analysis Business description When the user accesses our resource data in the SSO resource project, the user's behavior log information is obtained, and then passed to the SSO system project to store the log information in the database Business architecture analysis Design of log storage in system service   In th ...

Posted by alcapone on Tue, 07 Dec 2021 11:52:55 +0100

GRPC: quick create static file download Web service

introduceThis article describes how to rk-boot Quickly build a static file download Web service.What is the static file download Web UI? Quickly build Web services that can download files through configuration files.Please visit the following address for a complete tutorial:https://rkdocs.netlify.app/cninstallgo get github.com/rookie-ninja/rk-b ...

Posted by chen2424 on Mon, 06 Dec 2021 23:56:02 +0100

Explain the principle and implementation of Bloom filter in detail

Why do I need a bloom filter Imagine how you would handle the following scenario: Whether the mobile phone number is registered repeatedlyHas the user participated in a second kill activityForge requests for a large number of id query records that do not exist. At this time, the cache misses. How to avoid cache penetration To solve the above ...

Posted by mrbaseball34 on Sun, 05 Dec 2021 13:13:35 +0100

Getting started with Spring Cloud Zuul

(picture from network)   With the increasing scale of microservices, the following problems will appear in the microservice system From the perspective of operation and maintenance, the client sends a service request, which is forwarded to different service instances through the routing of F5,Nginx and other devices through load balancin ...

Posted by Bojan86 on Fri, 03 Dec 2021 14:07:00 +0100

Gin Framework: Turn on TLS/SSL

introduceIn a complete example, turning on TLS/SSL in the Gin framework is what we call https.We will use rk-boot To start the microservice for the Gin Framework.Visit the following address for the complete tutorial:https://rkdocs.netlify.app/cnGenerate Self-Signed CertificateUsers can purchase certificates from major cloud vendors or use them ...

Posted by seenu_vas80 on Mon, 29 Nov 2021 05:00:55 +0100

Microservices - message bus SpringCloud Bus

1. why The server of the configuration center in the previous article can pull the real-time changed configuration from the remote warehouse, but the client cannot directly update the configuration. It needs to send a post request to the client to refresh the configuration (/ Actor / refresh). When there are few client microservices, it can ac ...

Posted by hungryOrb on Sun, 28 Nov 2021 22:12:09 +0100

Gin Framework: Distinguish profiles based on cloud native environments

introduceUsing a complete example, in the Gin framework, profiles are distinguished based on the environment. That is, how to read different profiles in environments such as Testing and Online.We will use rk-boot To start the Gin Framework microservice.Visit the following address for the complete tutorial:https://rkdocs.netlify.app/cninstallgo ...

Posted by celsoendo on Wed, 24 Nov 2021 22:34:40 +0100