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 […]
Tag: eps
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 […]
Steps, methods and skills of using triggers in SQL server
How to use triggers in SQL server What is a trigger When inserting, updating, and deleting one table, it will trigger the inserting, updating, and deleting of another table Why triggers are needed Insertion, update, and deletion of tables are sensitive operations. We hope to record the information of these operations in another table, so […]
Briefly describe Mariadb MHA high availability building steps
1. Basic environment construction 1. Environmental requirements hostname System Model IP Address Software to install Action the master CentOS 7 64-bit 192.168.115.130 mysql 5.7, MHA node as host mha CentOS 7 64 bit 192.168.115.128 MHA node and manager components as a management machine slave CentOS 7 64 bit 192.168.115.131 mysql 5.7, MHA node as slave […]
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, […]
Use VUE to implement a website with functions such as login and registration [detailed steps]
Using VUE to implement a website with functions such as login and registration [detailed steps] Use VUE to implement a website with functions such as login and registration [detailed steps] 1. Main functions 2. Implementation ideas 1. Page design 2. Functional design 3. Key points and difficulties 3. Code implementation 1. Project structure 2. Page […]
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 […]