ZhangZhihui's Blog |
|
||
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Timeout Pattern What is context.Context? The context in Go enables you to specify deadlines, cancellation signals, or key-value pairs available betwee 阅读全文
2023年11月17日
摘要:
阅读全文
摘要:
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 阅读全文
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 阅读全文
2023年11月15日
摘要:
Hexagonal architecture (https://alistair.cockburn.us/hexagonal-architecture/), proposed by Alistair Cockburn in 2005, is an architectural pattern that 阅读全文
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 阅读全文
摘要:
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 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |