|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2018-11-22 (1 year ago) ||Not enough user ratings||Total: 408 This week: 1||All time: 6,383 This week: 368|
This package can check if a server is working well using Websockets.
It provides a script that will start a Web server on a configurable port of the host computer that will handle HTTP requests using Websockets.
The Websockets server will return the current time on the server host machine.
Prize: One subscription to the PDF edition of the PHP Architect magazine
|Websockets can be used to establish interactive accesses with a server over a regular HTTP connection.
This package uses Websockets it check if a server is alive and display live charts on a Web page that the user can quickly check if the server is working well as expected.
Live Server Monitoring
A websocket solution for live server performance monitoring.
There are two parts:
- server (see: server.php), minimum PHP 7.0 version required
setup the config file and run in the background
- client (see: index.html)
Set the server ip address, port number and click on the start button. Using the HTML5 websocket feature
the Google chart shows the current time based server data Live.
The server provides periodically the system informations and send them to the connected clients.
It is more efficient than ajax polling requests because the connected client number doesn't add extra work for the system.
If there aren't any connected clients it doesn't generate data on the server.
- setup a token and accept only connections with that
- putting the whole solution behind a password protected site
- adding more performance data
- selecting more charts on the client side
- store data in nosql database
- alarm functions
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.