Exercises for Golang's concurrency patterns.
The Go community has plenty resources to read about go's concurrency model and how to use it effectively. But who actually wants to read all this!? This repo tries to teach concurrency patterns by following the 'learning by doing' approach.
- Only edit
main.go
to solve the problem. Do not touch any of the other files. - If you find a
*_test.go
file, you can test the correctness of your solution withgo test
- If you get stuck, join us on Slack! I'm sure there will be people who are happy to give you some code review (if not, find me via @beertocode ;) )
# | Name of the Challenge + URL |
---|---|
0 | Limit your Crawler |
1 | Producer-Consumer |
2 | Race Condition in Caching Cache |
3 | Limit Service Time for Free-tier Users |
4 | Graceful SIGINT Killing |
5 | Clean Inactive Sessions to Prevent Memory Overflow |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyleft from 2017 Long Hoang
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.