Springboot+mybatis+redis roughly 3 steps

1. Create a new spring project and check the necessary component web DataJdbc mysql redis 2. Download redis, configure config file Comment bind 127, allow all ip access Protected-mode yes change to no to cancel the protection mechanism and allow external network access daemonize no change yes background operation Uncomment requirepass to set the password […]

Ideas and steps of SQL optimization

Database optimization Create an index: create a suitable index to improve query speed Sub-database sub-table: When a table has more data or some fields of a table have more values and is used, use horizontal sub-table and vertical sub-table to optimize Read-write separation (cluster): When a service cannot meet the needs, the read-write separation method […]

The most detailed jmeter performance test in the whole network – distributed pressure test, performance tuning and its detailed steps

Summary of Performance Testing Performance testing is a type of software testing that measures a system’s stability, scalability, reliability, speed, and resource usage. It identifies performance bottlenecks and ensures business needs are met. Performance testing is required for many systems, such as web applications, databases, and operating systems. There are many types of performance tests, […]

Performance testing – JMeter distributed testing and its detailed steps

Summary of Performance Testing Performance testing is a type of software testing that measures a system’s stability, scalability, reliability, speed, and resource usage. It identifies performance bottlenecks and ensures business needs are met. Performance testing is required for many systems, such as web applications, databases, and operating systems. There are many types of performance tests, […]

C language to implement minesweeping (specific steps and codes)

Directory 1. Problem description 2. Basic process 3. Steps 1. Menu interface 2. Create the chessboard 3. Board initialization 4. Print the chessboard 5. Arrange mines 6. Check mine 4. Results demonstration 1. Get killed 2. Successful demining 5. Code implementation 1.test.c 2. game.c 3. game.h 1. Description of the problem Minesweeper implemented in C […]

SLAMg2o usage steps

Goal Use g2o to implement a PnP reprojection error to estimate the pose code of the current frame. g2o framework Implementation ideas and process 1. Define block solver type: The solution pose is 6-dimensional (so3,t), and the residual dimension is 2-dimensional. typedef g2o::BlockSolver<g2o::BlockSolverTraits<6,2>> Block; 2. Determine the linear equation decomposition form (LinearSolver): Need to solve […]

What components do programmers like to use now to write interface documents? Swagger has fallen behind, knife4j is the kingly way, it is very cool to use, teach you a few simple steps to integrate knife4j with springboot, do not do redundant things

As a programmer, writing interface documents is a long-standing and difficult problem. To configure access paths, request methods, request parameters, request lists, request parameter instances, return results, return result types, return structures, etc., just think about it. We used to like to use swagger, but later we used swagger-bootstrap-ui, and then we used YAPI. YAPI […]