/go-latency-sim

Call latency and weighted cache experiment

Primary LanguageGoMIT LicenseMIT

Go Latency Sim

Exploratory

Bookend to project latency-sim done in C++. I wanted to contrast coding between the languages.

Use a naive caching strategy whereby a specific call remains cached if:

  • The call has been repeated x times
  • The call has a moving average above x

Executable

Built on Intel OS X