Changgou mall VI: Micro service gateway and jwt token
Microservice gateway
Basic concepts
Each service of microservice generally has different addresses. A service of an external client may call many interfaces, which will bring the following problems
The client will request different micro services many times, and the address is complexThere are cross domain requests and the processing is comp ...
Posted by cahva on Wed, 23 Feb 2022 14:10:09 +0100
[multi label text classification] code explanation Seq2Seq model
·Reading summary: this paper proposes a classical Seq2Seq model, which is applied to the field of machine translation. However, Seq2Seq is applicable to many fields, such as multi label text classification. ·References: [1] Sequence to Sequence Learning with Neural Networks
[Note 1]: the Seq2Seq model proposed in th ...
Posted by NoobPHP on Wed, 23 Feb 2022 14:01:17 +0100
Alibaba cloud OSS upload and intelligent image recognition garbage recognition
Alibaba cloud OSS object storage upload pictures and intelligent image recognition garbage recognition
I believe that the majority of novice programmers, like me, want to write an intelligent image recognition, but they can't find it in Baidu or don't know what it means when they check. Next, I will contribute my own process and code of writin ...
Posted by varzosu on Wed, 23 Feb 2022 13:55:49 +0100
Ruoyi Vue: detailed explanation of permission system design
This article attempts to explain why it is "trying" according to the permission design principle and actual combat in Vue system? Because this is also groping for understanding, not necessarily accurate
According to Vue, the functions of permission management in the system are concentrated in the system management menu module, as sho ...
Posted by gchouchou on Wed, 23 Feb 2022 13:50:11 +0100
effective Java learning notes (Chapter 2)
Compiled from effective Java Chinese version 3
Non instantiation using private constructor
Sometimes I write some tool classes, which are all static methods and static member variables. At this time, I don't need to instantiate this class at all, so I can use this class normally. How to ensure that this class will not be instantiated? When ...
Posted by noeledoran on Wed, 23 Feb 2022 13:43:40 +0100
Day 23 IO flow
IO: refers to the flow of data transfer between devices
Classification by flow direction:
Input stream
Output stream
Classification by data type:
Byte stream
A: Byte input stream
FileInputStream:
FileInputStream fis = new FileInputStream("file name of read data");
Byte buffered input stream: BufferedInputStream
Bufferedinput ...
Posted by guiltyspark on Wed, 23 Feb 2022 13:39:05 +0100
Use Git hook to automatically change the submission time of the last Commit
Demand background
Sometimes you want to submit the commit information according to the regular time. For example, Virgo may want the time of each commit to be an integer time. For example, if the local time is inaccurate, you want to submit it according to the network time 1 There are other reasons..
However, Git submits the commit informatio ...
Posted by jfgreco915 on Wed, 23 Feb 2022 13:33:22 +0100
sersync+rsync real-time backup of conference data
The original scheme of linux is inotify+rsync to realize real-time data backup;
inotify monitors the file system under linux at the linux kernel level, and records the open/access/modify operations of files;
inotify has two shortcomings:
rsync takes up too many resources due to the combination of rsync and rsync files. 1. It takes too long t ...
Posted by bav on Wed, 23 Feb 2022 13:29:37 +0100
JavaScript Basics
First acquaintance with JavaScript
Refer to the video of wisdom podcast.
definition
javascript is a scripting language that runs on the client side (similar to css)
effect
Form dynamic inspectionWeb effectsServer development (Node.js)Desktop program (Electron)APP(Cordova)Control hardware - Internet of things (Ruff)Game development (cocos2d ...
Posted by wilburforce on Wed, 23 Feb 2022 13:21:14 +0100
Prometheus monitoring system + Grafana visualization tool construction
catalogue
1, Introduction to Prometheus monitoring
2, Introduction to Grafana visual monitoring
3, Prometheus monitoring server (default port: 9090)
4, Prometheus monitored node_exporter (default port 9100)
5, Prometheus monitoring Alertmanager (default port 9093)
Vi MySQL monitored by Prometheus (default port 9104)
VII Redis monitored b ...
Posted by Malcina on Wed, 23 Feb 2022 13:16:23 +0100