this post was submitted on 03 Oct 2023
3 points (100.0% liked)
Community Meta Discussion
725 readers
4 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
sure, go for it. That said, 4/minute seems a little high, mostly just because usual guidance is that a heartbeat check should be done about once a minute for web services, but 4 is also not unserviceable.
To be precise, it's not 4 requests to the same endpoint.
lemmy-meter probes 4 endpoints each once per minute:
api.getPosts
(limit=1
)api.getComments
(limit=1
)api.getCommunities
(limit=1
)That's b/c I've frequently experienced cases when the landing page works but some mobile APIs don't and vice versa.
Hope that makes sense.
As I said, if after some time you feel like this is too much load, reach out to me and I can easily configure lemmy-meter to probe less frequently.
Oh, ok, if its four different calls for different end points then that makes sense.