Patent ID: 10581708

Abstract:
The present application discloses a website monitoring method and device. A specific embodiment of the method comprises the following steps: receiving monitoring information of websites to be monitored from the allocation server, the monitoring information transmitted to the plurality of monitoring servers after the allocation server parses a website monitoring request for the websites to be monitored transmitted from the terminal, and the monitoring information comprising monitoring cycles and monitoring types; allocating, according to a preset allocation algorithm, different monitoring execution times for the websites to be monitored; determining priorities of the websites to be monitored based on lengths of the monitoring cycles; and selecting, based on the priorities, a worker thread from a pre-created thread pool to allow the selected worker thread to periodically monitor the websites to be monitored at the monitoring execution times. According to the embodiment, inherent resources of each monitoring server are sufficiently utilized and the failure rate and the error rate of website monitoring are reduced.