WeChat applet--day02

1. Common interactive feedback design 1. Using the loading property of the button component, a Loading appears in front of the text of the button 2.wx.showToast display prompt (usually used with wx.hideToast) 3.wx.showModal modal dialog 2. Local storage (1) Synchronization 1. Storage: wx.setStorageSync('list', {age:5}) 2. Get: ...

Posted by toplay on Fri, 21 Oct 2022 21:51:40 +0300

The best k8s(Kubernetes)+docker+DevOps+linux+microservice container in the whole network

  Cloud-native Java Architecture Actual combat K8s+Docker+KubeSphere+DevOps (middle) KubeSphere Platform installation Introduction Kubernetes Install KubeSphere on installation steps Select 4-core 8G (master), 8-core 16G (node1), 8-core 16G (node2) three machines, pay-as-you-go for experiments, CentOS7.9 Install Docker Install Kubernetes ...

Posted by cryp7 on Fri, 21 Oct 2022 06:41:19 +0300

Troubleshooting High Load Problems in Linux Systems

Troubleshooting ideas and solutions for high load problems in Linux systems   Load is a measure of how much the computer does, and Load Average is the average Load over a period of time (1 minute, 5 minutes, 15 minutes). 1. Load analysis: Case 1: CPU high, Load high Use the top command to find the PID of the process that occupies the highe ...

Posted by acidglitter on Fri, 21 Oct 2022 04:32:40 +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

The use and source code analysis of microservice gateway current limiting middleware gateway integration and standard library rate limiting device

Microservice gateway (8) Current limiting middleware gateway integration and use of time/rate rate limiter and source code analysis Current limiting principle The meaning of current limit Three powerful tools for high concurrency systems: cache ​ Improve system access speed and increase processing capacity, and increase cache for correspon ...

Posted by firedrop on Thu, 20 Oct 2022 18:59:35 +0300

Building trees by weight, plane geometry

14 Day Reading Challenge  MEX vs MED  It can be found that only when the median in the series is equal toWhen the condition is met, that is, the numbers before the median must also be in the sequence, then we can enumerate from 0~n-1, and use l and r to indicate the occurrence of the first i number According to the above formula, it can be se ...

Posted by tryingtolearn on Thu, 20 Oct 2022 18:28:00 +0300

[C++ Search Binary Tree] 1. The concept of binary search tree 2. Non-recursive implementation of binary search tree

Table of contents 1. Binary search tree concept 2. Non-recursive implementation of binary search tree 2.3 Search for deletion of binary tree (the most important and most difficult interface) 3.(key) recursive implementation of binary search tree 4.(KV) recursive implementation of binary search tree 1. Binary search tree concept A sear ...

Posted by rutin on Wed, 19 Oct 2022 15:57:05 +0300

linux installation of Damon database 8

PS. This test is only for the needs of the project, but a series of errors occurred when deploying and starting the program, which were recorded for future reference Install Damon database 1. Introduction to DM8 Database Dameng database management system is a high-performance database management system with completely independent intellectual p ...

Posted by misteraven on Wed, 19 Oct 2022 11:07:39 +0300

redis protocol and asynchronous mode

The artic l e refers to the C/C++linux service period advanced architecture system tutorial of <Zero Voice Education> to learn: Server high-level architecture 1. redis network 1.1, redis network Micro: reactor Composition: IO multiplexing + non-blocking IOIO Responsibilities: IO Detection and IO OperationsEvent: Asynchronous event ...

Posted by depraved on Tue, 18 Oct 2022 18:17:04 +0300

Input capture principle and configuration

1. General timer input capture overview 1.STM32 input capture process 2.STM32 input capture process (channel 1 as an example) By detecting the edge signal on TIMx_CHx, when the edge signal jumps (such as rising edge/falling edge), the current timer value (TIMx_CNT) is stored in the corresponding capture/compare register (TIMx_CCRx) to complete ...

Posted by andrew6607 on Tue, 18 Oct 2022 10:16:46 +0300