uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Reduce Websocket Traffic

Open Neshura87 opened this issue 1 year ago • 0 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

API

🔖 Feature description

Currently most of the Websocket traffic is caused by extremely frequent sending of the certificate information, this causes problems when the dashboard UI is opened for extended periods of time and uptime kuma is running on a vps with limited bandwidth.

My quick "hotfix" managed to reduce bandwidth from ~2MB / 1 Minute to ~1MB / 1 Minute so there is definitely potential for saved bandwidth here.

✔️ Solution

@chakflying proposed the option of only sending a certInfo update when the certificate has actually changed while I was testing a potenital hotfix for the problem. See here.

❓ Alternatives

No response

📝 Additional Context

No response

Neshura87 avatar Jan 06 '24 08:01 Neshura87