ZhangZhihui's Blog  
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 78 下一页

2023年11月19日

摘要: zzh@ZZHPC:~$ openssl req --help Usage: req [options] General options: -help Display this summary -engine val Use engine, possibly a hardware device -k 阅读全文
posted @ 2023-11-19 15:26 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0) 编辑
 
摘要: The retry pattern works well for covering transient failures, but if we don’t know how long the problem will last, we may end up putting a high load o 阅读全文
posted @ 2023-11-19 13:05 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: Retry Pattern Transient faults occur when a momentary loss of service functionality self-corrects. The retry pattern in gRPC enables us to retry a fai 阅读全文
posted @ 2023-11-19 10:53 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0) 编辑
 
摘要: Timeout Pattern What is context.Context? The context in Go enables you to specify deadlines, cancellation signals, or key-value pairs available betwee 阅读全文
posted @ 2023-11-19 09:54 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0) 编辑

2023年11月17日

摘要: 阅读全文
posted @ 2023-11-17 16:06 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0) 编辑
 
摘要: zzh@ZZHPC:~$ docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=verysecretpass -e MYSQL_DATABASE=order mysql In this case, our data source URL isroot:very 阅读全文
posted @ 2023-11-17 11:01 ZhangZhihuiAAA 阅读(21) 评论(0) 推荐(0) 编辑

2023年11月16日

摘要: grpc.go is for defining the handlers, and server.go mostly runs the server and register endpoints inside the grpc.go file. While there are no written 阅读全文
posted @ 2023-11-16 08:25 ZhangZhihuiAAA 阅读(10) 评论(0) 推荐(0) 编辑

2023年11月15日

摘要: Hexagonal architecture (https://alistair.cockburn.us/hexagonal-architecture/), proposed by Alistair Cockburn in 2005, is an architectural pattern that 阅读全文
posted @ 2023-11-15 21:09 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0) 编辑

2023年11月14日

摘要: zzh@ZZHPC:~$ sudo apt install -y protobuf-compiler zzh@ZZHPC:/zdata/Github/zimplebank$ protoc --versionlibprotoc 3.12.4 This version is too old. zzh@Z 阅读全文
posted @ 2023-11-14 19:22 ZhangZhihuiAAA 阅读(56) 评论(0) 推荐(0) 编辑
 
摘要: Required fields in a message can be thought of as frequently used fields since you cannot skip them as you can for optional fields. It is a best pract 阅读全文
posted @ 2023-11-14 08:58 ZhangZhihuiAAA 阅读(34) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 78 下一页