Building kubernetes cluster in cloud networking environment

Background: Network environment reference: Cloud networking experience Two vpc networks in Shanghai and Beijing. The servers are distributed as follows: Let's talk about why we use TencentOS Server 3.1 (TK4) system. It's not because CentOS 8 doesn't provide long-term maintenance... By the way, experience Tencent cloud's open source tencentos. ...

Posted by FamousMortimer on Fri, 03 Dec 2021 07:20:57 -0800

202006-2 sparse vector

subject Sparse vector Title screenshot: ![image-20211201234641418](C:\Users\long yongcheng\AppData\Roaming\Typora\typora-user-images\image-20211201234641418.png) thinking 60 point answer My first idea is to open a two-dimensional array, which is equivalent to opening a two-dimensional table with two rows and many columns (why do you say many co ...

Posted by ducey on Fri, 03 Dec 2021 07:16:54 -0800

The CDH6.1 installation and deployment document comes with the installation package (three nodes as an example)

1, Installation package download Link: https://pan.baidu.com/s/1G6V9u5PDyxlixZ2PwGWdJA Extraction code: q8mb Note: the above installation package is a zip package, which contains all the packages for installing CDH6.1. After downloading, unzip it 2, Upload the installation package to the master node Note: the installation directory here sh ...

Posted by HIV on Fri, 03 Dec 2021 07:08:42 -0800

Interviewer: how is Mybatis loaded and executed in SpringBoot?

This article mainly describes how mybatis is loaded and executed in springboot. Because there will be a lot of content involved, this time we will only explain the call relationship and key code points. In order to avoid the article being too long and sleepy to read, some details that do not affect the overall process will not be involved. Sou ...

Posted by pandhandp on Fri, 03 Dec 2021 07:03:05 -0800

Idempotent problem in concurrent scenario -- detailed explanation of distributed lock

Introduction: starting from an example of data duplication in nailing real person authentication scenario, this paper analyzes that the reason is idempotent failure caused by concurrency, and leads to the concept of idempotent. Aiming at the idempotent problem in concurrent scenario, a feasible methodology for realizing idempotent is proposed. ...

Posted by caspert_ghost on Fri, 03 Dec 2021 06:29:57 -0800

Single point system -- token token parsing

Tokens are generated by JWT (Json Web Token - a json format). The default generation is in uuid format, but we need to override this method to generate JWT format. As a response token, it responds from the server to the client. After receiving the JWT token, the client saves it in the client (such as localStorage), and then carries the token to ...

Posted by rdawson on Fri, 03 Dec 2021 06:29:16 -0800

Kotlin introduction section 2

Characteristics of Unit function It is similar to void in java, but java is a key frame, not a type, which is very contradictoryUnit is not written. It also exists by default. Unit represents the ignored type returned without parameters package com.fyx.s1 fun main() { } fun convert() { } //Equivalent to the above fun convert1() : Unit{ ...

Posted by thesmartone on Fri, 03 Dec 2021 06:26:47 -0800

How HDFS works

How HDFS works 1. NameNode and DataNode HDFS adopts master/slave architecture. An HDFS cluster consists of a NameNode and a certain number of datanodes. NameNode is a central server, which is responsible for managing the namespace of the file system and the access of clients to files. A DataNode in a cluster is usually one node, which is resp ...

Posted by SamLiu on Fri, 03 Dec 2021 06:17:26 -0800

MyBatis learning notes 5 - multi table query

Preparation for multi table query: three tables are created. Previously used user table, newly created role table, account table, user_role table. The specific parameters in the table are as follows: user table (mainly the header, which is filled in by itself): role table: account table: user_role table: After these classes are created, r ...

Posted by dhiren22 on Fri, 03 Dec 2021 06:06:01 -0800

Factory design mode

4. Create model 4.2 factory mode 4.2.1 general Requirements: design a coffee shop ordering system. Design a Coffee category and define its two subclasses (American Coffee and latte Coffee); Then design a Coffee store, which has the function of ordering Coffee. The design of specific classes is as follows: In java, everything is an object, and ...

Posted by raj86 on Fri, 03 Dec 2021 06:00:44 -0800