3 ms·
Are you worried about that endpoint being used for DoS or is it light enough?
by Spivak 8y ago
Are you worried about that endpoint being used for DoS or is it light enough?
- iw0 8y agoThe way i do it is running the checks in a background every x minutes and add the result in a json file. It’s fast and safe.
- petecoop 8y agoI'd guess you'd then also want to return a timestamp in the response and then fail if the timestamp is older than x minutes too
- philip1209 8y agoIt's rate-limited and behind Cloudflare. But, the checks are like "can I connect to Redis", so it is pretty lightweight.