Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right. Article directory Preface 1. Function introduction 1.1 Functional statement 2. Detailed introduction of functions 2.1 Binary tree structure 2.2 Binary tree initialization 2.3 Data insertion 2.4 Deletion […]
Tag: seconds
Teach you to know Kafka in vernacular and understand the principles in seconds
1. Kafka basics The role of the message system Most of my friends should be aware of this. Take the example of packing engine oil into a carton. Therefore, the messaging system is what we call a warehouse as shown in the figure above. It can be used as a cache in the intermediate process […]
How can Suning’s over 600 million members achieve user portrait query in seconds?
User portrait is to build a labeled user model based on user characteristics, business scenarios, user behavior and other information. For example, consumer user portraits are divided into two categories: attributes and behavior tags. Of these two types of labels, one is fixed and the other is variable. The fixed attribute tags are basically the […]
Using Python to automatically play Minesweeper, the intermediate difficulty took 0.74 seconds, breaking the world record
Using Python + OpenCV to realize automatic mine clearance and break the world record, let’s take a look at the effect first. Intermediate – 0.74 seconds 3BV/S=60.81 I believe that many people have known about Minesweeper, a classic game (graphics card test) game (software) for a long time. Many people have heard of Chinese Minesweeper, […]
Inserting 300,000 pieces of data in 13 seconds is the correct way to insert batches!
This article mainly describes the cases and results of large-volume data insertion through MyBatis, JDBC, etc. 300,000 pieces of data are inserted into the database for verification Entity class, mapper and configuration file definition User entity mapper interface mapper.xml file jdbc.properties sqlMapConfig.xml Stud directly without batching Loop insert one by one MyBatis implements inserting 300,000 […]
Deploy a K8S cluster in 180 seconds through Sealos
Deploy a K8S cluster in 180 seconds through Sealos 1. Host preparation 1.1 Host operating system description Serial number Operating system and version Remarks 1 CentOS7u9 1.2 Host hardware configuration instructions The k8s cluster CPU and memory are at least 2 CPUs and 2G memory respectively, and the hard disk is recommended to be 100G […]
awk command in linux (most comprehensive and understandable in seconds)
Table of contents 1: awk command in linux 1. Introduction to awk command 2.Awk function 3.Awk syntax format 4. Analyze how to use awk 5. Parameters 6.awk life cycle 2: Predefined variables in awk Three: Execution process of awk running processing rules Four: Functions in awk Five: Positioning in awk Six: Comparison expression (matching content […]
Jemeter stress test [20,000 users make 5 requests per second and process the request within 30 seconds]
Article directory test code 5000 users in 30 seconds, each user 5 requests per second 15,000 users in 30 seconds, each user making 5 requests per second Constant debugging Two machines simultaneously stress tested 10,000 threads. Within 30 seconds, the loop was repeated 5 times to achieve 20,000 concurrent threads. Recently, I participated in the […]
Use Sealos to build a personal password manager in 30 seconds Vaultwarden
My tortuous love affair with LastPass I have been online for more than 8 years and have registered many website accounts. I use different complex passwords for each website. At first, I relied on my brain to memorize these passwords. Later, I gradually found it difficult to remember, so I recorded them in a notebook. […]