Author: Ah Hui is extraordinary What do you think: Life is dull, but running is windy Column: Falling in love with C language Drawing tool: draw.io(Free and open source drawing website) If you think the article is helpful to you, please like, follow, and collect to support the blogger. If there are any deficiencies, please […]
Tag: gin
nginx four-layer tcp load balancing and active and standby, four-layer udp load balancing and active and standby, 7-layer http load balancing and active and standby configuration (wndows system active and standby, load balancing)
Preparation Prepare two centos7 computers, virtual machines can also be used Use vmware17 to build centos7 mini version server on windows-CSDN Blog Set up a static IP address (because the network load balancing manager on the Windows server does not support dhcp servers) Modify the network card IP address in ky10, centos7 and other linux […]
Nginx implements load balancing
Table of Contents 1: Introduction to load balancing 2. Functions of load balancing 1. Improve server performance 2. Improve system availability 3. Improve system scalability 4. Achieve traffic balance 3. Example configuration, how to use nginx to achieve load balancing 4. Load balancing policy configuration 1. Poll-based load balancing (default) 2. Weight-based load balancing 3. […]
SpringBoot distributed verification code login solution
Foreword In order to prevent the verification system from being violently cracked, many systems have added verification code verification. The more common one is the picture QR code. The safer one in the industry is the SMS verification code. Of course, there are also some puzzle verification codes and QR codes with artificial intelligence. Wait, […]
◢Django self-written paging and usage
Table of Contents 1. Set the paging style and display it to the browser 2. Simulate page number 3. Generate paging 4. Data display 5. Previous pageNext page 6. Database data paging 7. Package paging 8. Use encapsulated paging After building the app, set the path path(‘in2/’, views.in2), view def in2(request): , HTML: in2.html 1. […]
Qt + OpenCV + Halcon + QScintilla implement Halcon’s script engine function (source code)
Foreword In the industrial field, the application of functions such as defect detection and target counting is basically a matter of trial and error. There is no specific standard. Standard modules for the functions can be realized by standardizing the input and output interfaces and replacing the process with a script engine. 1. Qt + […]
Why use virtual environment in python? (Virtual environment function and virtual environment construction, switching, exit, migration and packaging) code demonstration. Official venv usage (**)
Detailed graphic and text explanation of python’s virtual environment (virtual environment functions and virtual environment construction, switching, exit, migration and packaging) code demonstration https://blog.csdn.net/weixin_45440484/article/details/130144943 http://www.360doc.com/content/23/0828/21/1339386_1094251670.shtml Why use a virtual environment? First, a virtual environment helps keep your projects clean and separate. You don’t have to worry about one project’s dependencies breaking another, which makes project […]
Hand-write the DispatcherServlet central controller to obtain the name of the parameter parameter.getName(). The obtained names are arg0, arg1, arg2…. As a result, the token passed from the front end cannot be received, and the login has expired.
Handwrite the DispatcherServlet central controller to obtain the name of the parameter parameter.getName(). The obtained name is arg0, arg1, arg2…, resulting in the failure to receive the token passed from the front end. When I logged in, it kept showing that the login had expired. I didn’t know that I had not received the token […]
Gin-based HTTP proxy demo
After using TCP to simulate an HTTP proxy last time, I felt that it was still too crude. I wondered if I could use a framework to make something of practical use. So, just thinking about how to use golang’s Gin framework to implement one? Well, you heard it right, it is the gin framework. […]
St. Regis Takeout 01-realize the login and logout function of the management terminal
Preparation before development Prepare data sheet Combined with the page prototype to create the database reggie, you can use the graphical interface or MySQL command to run the SQL file to import the table structure (do not place the sql file in the Chinese directory when using the command) Create project Create a SpringBoot project […]