| ▲ | al_borland a day ago | |||||||
I was talking to the guy who used to run our ITSM system at work. He said a team was trying to query the system 10x per second to check for updates, which was causing performance issues. Assuming it was a bug, he went to the team to have them tone it down. He was shocked when they fought with him over it. It was working as designed and they didn't want to check less frequently, despite there being no logical reason to do this. This may be working exactly as designed, as it costs them effectively nothing to constantly scan. | ||||||||
| ▲ | alexfoo 17 hours ago | parent [-] | |||||||
> It was working as designed and they didn't want to check less frequently, despite there being no logical reason to do this. We had a similar thing, the other team wouldn't back down. We ended up implementing a kind of rate limiting internally. If the previous request (from that IP) was more than 4.5 seconds ago we let the check request through as normal. If the previous request (from that IP) was more recent than that we just returned a cached "there is no update" payload that had a TTL of 60 seconds. We told them this and left it up to them, they soon changed their polling frequency. | ||||||||
| ||||||||