好好爱自己!

摘要: 原文: https://www.cnblogs.com/ooo0/p/15963700.html QPS: 请求进入的速度 并发数: 系统中同时存在的请求数 根据Little's Law,我们能得到如下的关系式: 并发数 = QPS * 耗时 以大学招生为例:大一新生的招收速度是5000人/年,每个 阅读全文
posted @ 2024-03-12 17:48 立志做一个好的程序员 阅读(35) 评论(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 立志做一个好的程序员 阅读(2) 评论(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 立志做一个好的程序员 阅读(3) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处