Subject: | Include a setThrottle setting |
Many REST APIs have some level of throttling that prevents users from
banging on their servers. You should support some sort of method that
keeps track of the last call to the server and will sleep if the
Throttle is set & has been too short between calls. This could either
be done on a per-instance basis or as a %LAST_CALL_TIME global hash that
keeps track of servers as the key.
Time::HiRes might be a good idea here, too.