上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: > 参考python的supervisor pidproxy实现> https://github.com/Supervisor/supervisor/blob/master/supervisor/pidproxy.py> 子进程检查```gopackage pidproxyimport ( "errors" "io/ioutil" "os" "os/signal" "strconv" "strin... 阅读全文
posted @ 2020-07-30 10:13 白云辉 阅读(422) 评论(0) 推荐(0) 编辑
摘要: ## 2020-07-131. 程序员的无奈 1. ![](https://img2020.cnblogs.com/blog/742669/202007/742669-20200727100413062-21768398.jpg)2. 宝马汽车的付费加热座椅 1. 德国宝马汽车公司最近发布了新的汽车操作系统,最引人注目的是将许多汽车功能做进了系统,让它们都变成了软件服务,像自动导航、自... 阅读全文
posted @ 2020-07-27 10:04 白云辉 阅读(272) 评论(0) 推荐(0) 编辑
摘要: ## 2020-07-201. 绝对不是WebAssembly编译器的TypeScript 1. https://github.com/AssemblyScript/assemblyscript 2. AssemblyScript使用Binaryen将TypeScript的严格变体(基本上是带有类型的JavaScript)编译为WebAssembly。它可以生成精益和精简的WebAss... 阅读全文
posted @ 2020-07-27 10:02 白云辉 阅读(210) 评论(0) 推荐(0) 编辑
摘要: ## docker 配置```[Unit]Description=Docker Application Container EngineDocumentation=https://docs.docker.comBindsTo=containerd.serviceAfter=network-online.target firewalld.service containerd.serviceWants... 阅读全文
posted @ 2020-07-24 14:50 白云辉 阅读(902) 评论(0) 推荐(0) 编辑
摘要: 我们一直在实践中探寻更好的软件开发方法,身体力行,同时也帮助他人。由此我们建立了如下价值观:个体和互动 高于 流程和工具工作的软件 高于 详尽的文档客户合作 高于 合同谈判响应变化 高于 遵循计划也就是说,尽管右项有其价值,我们更重视左项的价值。敏捷开发十二原则我们遵循以下原则:我们最重要的目标,是通过及早和持续不断地交付有价值的软件使客户满意。欣然面对需求变化,即使在开发后期也一样。为了客户的竞... 阅读全文
posted @ 2020-07-24 12:42 白云辉 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1. https://github.com/fullstorydev/grpcurl 1. Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers 2. grpcurl是一个命令行工具,可让您与gRPC服务器进行交互。它基本上是curl针对gRPC服务器的。2. https://githu... 阅读全文
posted @ 2020-07-21 16:37 白云辉 阅读(718) 评论(0) 推荐(0) 编辑
摘要: 业务逻辑 出现无效甚至降低性能的逻辑。常见的有 逻辑重复:相同的操作在不同的位置做了多次或循环跳出的条件设置不当。 资源未复用:内存频繁申请和释放,数据库链接频繁建立和销毁等。 无效代码。 存储 未选择恰当的存储方式,常见的有: 临时数据存放到数据库中,导致频繁读写数据库。 将复杂的树状结构的数据用 阅读全文
posted @ 2020-07-21 10:57 白云辉 阅读(272) 评论(0) 推荐(0) 编辑
摘要: ## 测试github.com/onsi/ginkgogithub.com/onsi/gomega```shgo get -u github.com/onsi/ginkgo/ginkgo```github.com/smartystreets/goconvey/conveyhttps://github.com/stretchr/testify## 性能负载测试和工具https://github.co... 阅读全文
posted @ 2020-07-21 10:22 白云辉 阅读(1355) 评论(0) 推荐(1) 编辑
摘要: ```sh#!/usr/bin/env bash###### my-script — does one thing well###### Usage:### my-script ###### Options:### Input file to read.### Output file to write. Use '-' for stdout.### -h ... 阅读全文
posted @ 2020-07-17 17:50 白云辉 阅读(514) 评论(0) 推荐(0) 编辑
摘要: ## 2020-07-061. 随机虚假数据生成器 1. https://github.com/brianvoe/gofakeit2. 用于Kafka的CLI工具 1. https://github.com/xitonix/trubka 2. 管理,查询和解决您的Kafka群集。 3. 消耗来自Kafka的协议缓冲区和纯文本消息。 4. 将协议缓冲区和纯文本消息发布到... 阅读全文
posted @ 2020-07-13 09:12 白云辉 阅读(73) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页