vonuvoli-scheme icon indicating copy to clipboard operation
vonuvoli-scheme copied to clipboard

Runtime builtins -- implement sleep (and related functionality)

Open cipriancraciun opened this issue 7 years ago • 0 comments

Tasks

  • [x] implement (pause <time> [<randomize>]);
  • [ ] implement (pause-retry <retry> [<pause-slice>] [<pause-slice-max>] [<pause-exponent-base>] [<randomize>]);
  • [ ] implement (retry <thunk> [<max-retries>] [<pause-slice>] [<pause-slice-max>] [<pause-exponent-base>] [<randomize>])

Links

  • https://en.wikipedia.org/wiki/Exponential_backoff
  • https://cloud.google.com/storage/docs/exponential-backoff
  • https://developers.google.com/api-client-library/java/google-http-java-client/backoff
  • https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/

cipriancraciun avatar May 27 '18 07:05 cipriancraciun