Home >Web Front-end >JS Tutorial >How to correctly use the HyperServer (load balancing) function of uniGUI
This article introduces how to correctly use the HyperServer (load balancing) function of uniGUI, and focuses on its specific steps. The content of this article is compact, and I hope everyone can gain something.
1. HyperServer is a newly added function after uniGUI version 1.5. It is a node management application that mainly implements automatic node management, which is the load balancing function. It currently also supports remote application deployment.
The specific principle is as follows
:
2. Obtaining the HyperServer program: The HyperServer program currently needs to completely correspond to the uniGUI version (there may be problems if it is different, The author said so) In the future, the use of different versions may be liberalized. In other words, whatever version of unigui you have, use the corresponding version of HyperServer, which is distributed together. The program and uniGUI installation files are put together. There are only executable files and no source code currently. HyperServer itself is also an application developed using uniGUI. The specific directory is as follows: (There are currently two 32-bit and 64-bit versions. The author currently recommends using the 32-bit version, including applications developed by uniGUI)
3. Installation and deployment (executable file method)
## 3.1 Copy the two files in the above picture together to the same directory as the executable file of the uniGUI application3.2 Use a text editing tool to open hyper_server.cfg to modify the configuration file 3.3 After saving the configuration file, run hyper_server.exe directly 3.4 Browse You can directly open your application by accessing
http://127.0.0.1:8077 (the port can also be modified in the configuration file. This port is the port of hyper_server, not yours. The port of the unigui application, what port is your application? You don’t need to manage it, hyper_server will handle it automatically)
3.5 Access the status of hyper_server:http:// 127.0.0.1:8077/server
##Related recommendations:
This article is reproduced from https://blog.csdn.net/sglqh/article/details/82696726
Original title: "Simple Instructions for Using uniGUI's HyperServer (Load Balancing)"
The above is the detailed content of How to correctly use the HyperServer (load balancing) function of uniGUI. For more information, please follow other related articles on the PHP Chinese website!