Interfaces will Save the Future: Rate Limiter in Golang
Mohit Gupta and Alex Zylman from Clever introduce Sphinx, a high-performance rate limiter built in Go as a case study. Highlights include:
* Collaborating on a code base by defining interfaces
* How interfaces allow trivially adding dynamic configuration reload in a few lines of code
* Providing multiple, swappable backends with different functionality
* Where to use Go’s benchmarking library, and where it’s not enough
This video was recorded at the GoSF meetup at Galvanize in SF.