摘要:
原文: https://www.cnblogs.com/ooo0/p/15963700.html QPS: 请求进入的速度 并发数: 系统中同时存在的请求数 根据Little's Law,我们能得到如下的关系式: 并发数 = QPS * 耗时 以大学招生为例:大一新生的招收速度是5000人/年,每个 阅读全文
posted @ 2024-03-12 17:48
立志做一个好的程序员
阅读(345)
评论(0)
推荐(0)
摘要:
原文: https://www.sohamkamani.com/golang/command-pattern/ package main import "fmt" // The restaurant contains the total dishes and the total cleaned di 阅读全文
posted @ 2024-03-12 13:40
立志做一个好的程序员
阅读(21)
评论(0)
推荐(0)
摘要:
原文: https://golang.cafe/blog/golang-functional-options-pattern.html Golang Functional Options Pattern The Go (Golang) Functiona Options Pattern is a w 阅读全文
posted @ 2024-03-12 11:33
立志做一个好的程序员
阅读(17)
评论(0)
推荐(0)