Containerized Deployment - Kubernetes(K8S) Quick Start

Containerized deployment With the popularity of Docker technology, containerized deployment of projects is becoming more and more popular. The advantages of containerized deployment are as follows: ① It can ensure that each container has its own file system, CPU, memory, process space, etc. ②The resources required to run the application are ...

Posted by Hatch on Sat, 22 Oct 2022 02:38:03 +0300

Docker container ------ compose container cluster for quick orchestration

Table of contents introduction 1. Introduction to Docker-compose 2. YAML file format and preparation precautions 2.1, YAML file format 2.2. Notes on YAML format 2.3, YAML data structure 3. Docker Compose configuration common fields Fourth, Docker-compose common commands Five, compose deployment 6. Summary introduction         Doc ...

Posted by livvylove on Fri, 21 Oct 2022 00:38:33 +0300

this keyword in Java

Use this in ordinary methods In the method of the class, we can use the this. property or this. method to call the current object property or method. However, in general, we choose to omit this..In special cases, if the formal parameter of the method and the attribute of the class have the same name, we must explicitly use the this. attribute ...

Posted by phpvn.org on Sat, 15 Oct 2022 21:11:01 +0300

SpringBoot handles global consent exception

SpringBoot handles global unified exceptions When an exception occurs in the backend or an error occurs in the request, the frontend usually displays as follows Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Fri Jun 07 15:38:07 CST 2019 There was an unexpected error (type=Not ...

Posted by intergroove on Sat, 15 Oct 2022 05:07:46 +0300

Practical articles: those "soft skills" of interface development

I often see people in technical groups or various blogs arguing about which API testing tool should be used, which http client, postman, apifox, jmeter, how to choose the right tool for you, how to improve productivity, faster After finishing the work at hand, in fact, in the final analysis, there is no best, only what suits you is the b ...

Posted by jamesloi on Thu, 13 Oct 2022 23:47:34 +0300

Slots, custom directives, render functions, filters, plugins

1. Slot normal slot, named slot, scoped slot Slots allow us to pass templates to child components when calling them. The <slot> element acts as an outlet to carry distribution content. A <slot> outlet without a name would carry the implicit name "default". Everything in the parent template is compiled in the paren ...

Posted by Cardale on Thu, 06 Oct 2022 11:51:55 +0300

Talking about the Cron expression of the Spring Task timer

Preamble: 1. Spring Task is a lightweight timing task tool provided by Spring, which means that there is no need to add third-party dependencies, which is more convenient and easy to use than other third-party class libraries. 2. spring task is a timer class introduced after spring 3.0, which can be regarded as a lightweight quartz. Due to it ...

Posted by autumn on Thu, 06 Oct 2022 07:22:25 +0300

SpringBoot, uniapp projects integrate token verification

SpringBoot, uniapp projects integrate token verification Since the front-end uniapp of this small project uses tokens for verification, I also learned how to use related tokens when writing the back-end. What is a token? A simple understanding is that the token is a string generated on the server and passed to the client as the token carried ...

Posted by satyac46 on Wed, 05 Oct 2022 05:22:44 +0300

ThreadLocal principle, role, memory leak and usage scenarios

Purpose of ThreadLocal Two usage scenarios: 1. Typical scenario 1: Each thread needs an exclusive object (usually a tool class, the typical classes to be used are SimpleDateFormat and Random) 2. Typical scenario 2: Global variables need to be saved in each thread (for example, user information is obtained in the interceptor), which can be us ...

Posted by mrheff on Tue, 04 Oct 2022 13:47:47 +0300

HTML Basics Headings, paragraphs, styles, links, images, tables

Hbuilder automatically completes the formatting, and the shortcut key for formatting is: ctrl+shift+f </p> Hahahahaha, happy! Note that it is in English! ! !</p> 1.</p> <p>This is a paragraph</p> The p tag is the beginning of a paragraph. If you don't set the position deliberately, it will start from the l ...

Posted by jase35750 on Mon, 03 Oct 2022 03:12:39 +0300