Looking for validation or other ideas.
I have a GP service that I'd like to throttle the total number of requests for every hour. My current solution simply writes to a text file registered on the AGS server site each time a request is made to it:
- Current Datetime
- Running Count
So any subsequent request of the GP service it will get these from the text file and run a simple check/validation (Count vs. minutes passed since last time it was executed). It's all very simple in design and execution but I'd like to know if possible concurrency / collision issues would make this a bad approach.