API request rate

More
2 years 7 months ago - 2 years 7 months ago #4931 by mw0uzo
API request rate was created by mw0uzo
To combat the large number of pyradmon users sending requests to test_user and test_password I have implemented a rate limit on the radmon API of 10 requests in 30 seconds.
Typically, a user monitoring the map and with 3 logging stations running and sending some experimental requests should not exceed 10 requests per 30s for sure so it seems like a sensible level to set.
The ban after exceeding the request limit is 10 minutes.
Please report if you experience any logging failures on a regular basis with 10 minute interval. The limit may need to be raised, or there may be a problem that needs investigating.
Last edit: 2 years 7 months ago by mw0uzo.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #4934 by mw0uzo
Replied by mw0uzo on topic API request rate
This have been disabled for the time being as anyone browsing to the Stations page would get banned due to the flood of requests for station status and cpm meters, resulting in a connection refused error.
Clearly this will need improving.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #4935 by mw0uzo
Replied by mw0uzo on topic API request rate
Fixed. Rate limits restricted to data submit function only, to combat this specific issue.

Please Log in or Create an account to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum
Solar powered Raspberry Pi 4 server stats: CPU 50% Memory 17% Swap 19% CPU temp=76.4'C Uptime 65 Days