Go Channel Practice V - 祖安萝莉
Aug 06, 2020 06:17:14 AM
idea 来自 https://www.zhihu.com/question/402635037/answer/1302122540
逻辑没有照抄,只是做 channel 使用方法练习。
Go Channel Practice IV - Token Bucket
Jul 06, 2020 08:08:12 AM
https://en.wikipedia.org/wiki/Token_bucket
Go Channel Practice III - Leaky Bucket
Jul 06, 2020 07:33:07 AM
https://en.wikipedia.org/wiki/Leaky_bucket
Go Channel Practice II
Jul 06, 2020 05:50:39 AM
给一个超大文件,一次读 4k 的 chunk,每块求 sha1 值,输出 sha1,尽可能用到 CPU。