上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 47 下一页
摘要: 原文:https://studygolang.com/articles/19815 原文:https://studygolang.com/articles/19815 这是一个创建于 2019-04-17 23:12:26 的文章,其中的信息可能已经有所发展或是发生改变。 2016 年 10 月 1 阅读全文
posted @ 2019-09-23 14:29 sunsky303 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 原文: http://yunke.science/2018/04/15/k8s-hook/ 容器生命周期的钩子 Kubernetes为容器提供了生命周期钩子。钩子能使容器感知其生命周期内的事件,并且当相应的生命周期钩子被调用时运行指定的代码。 容器钩子分为两类触发点:容器创建后PostStart和容 阅读全文
posted @ 2019-09-23 11:49 sunsky303 阅读(4077) 评论(0) 推荐(0) 编辑
摘要: 原文链接:Intro Guide to Dockerfile Best Practices 原文链接:Intro Guide to Dockerfile Best Practices 原文链接:Intro Guide to Dockerfile Best Practices 原文链接:Intro G 阅读全文
posted @ 2019-09-23 11:47 sunsky303 阅读(316) 评论(0) 推荐(0) 编辑
摘要: Go 1.13发布的功能还有一个值得深入研究的,就是对Error的增强,也是今天我们要分析的 Error Wrapping. 背景 做Go语言开发的,肯定经常用error,但是我们也知道error非常弱,只能自带一串文本其他什么都做不了,比如给已经存在的error增加一些附加文本,增加堆栈信息等都做 阅读全文
posted @ 2019-09-23 11:34 sunsky303 阅读(5087) 评论(2) 推荐(2) 编辑
摘要: 原文:http://lday.me/2017/02/27/0005_gdb-vs-dlv/ 通过log库输出日志,我们可以对程序进行异常分析和问题追踪。但有时候,我也希望能有更直接的程序跟踪及定位工具能够帮助我们更方便快捷的追踪、定位问题,最直观的感觉还是使用调试器。Linux平台下,原生的C/C+ 阅读全文
posted @ 2019-09-23 11:24 sunsky303 阅读(4338) 评论(0) 推荐(0) 编辑
摘要: xdebug 的 profiler 是一个强大的工具,它能分析 PHP 代码,探测瓶颈,或者通常意义上来说查看哪部分代码运行缓慢以及可以使用速度提升。Xdebug 2 分析器输出一种兼容 cachegrind 文件格式的分析信息。这允许你能使用出色的 KCacheGrind 工具(Linux,KDE 阅读全文
posted @ 2019-09-20 11:39 sunsky303 阅读(2801) 评论(0) 推荐(1) 编辑
摘要: alpine,是一个重量仅为5 MB的最小Linux发行版。它还有基本的linux工具和一个不错的包管理器APK。APK非常稳定,有相当数量的包。由于体积小,在容器中很受欢迎,但是使用上坑也很多,大部分可能是我们的无知吧。 坑1 : 下载慢 解决:echo "https://mirror.tuna. 阅读全文
posted @ 2019-09-19 12:15 sunsky303 阅读(7722) 评论(0) 推荐(1) 编辑
摘要: ngx_http_fastcgi_module 模块允许将请求传递给 FastCGI 服务器。 示例配置 指令 fastcgi_bind 通过一个可选的端口(1.11.2)从指定的本地 IP 地址发出到 FastCGI 服务器的传出连接。参数值可以包含变量(1.3.12)。特殊值 off(1.3.1 阅读全文
posted @ 2019-09-19 09:45 sunsky303 阅读(1588) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://www.yangcs.net/posts/understanding-resource-limits-in-kubernetes-cpu-time/ 原文地址:https://www.yangcs.net/posts/understanding-resource-limit 阅读全文
posted @ 2019-09-18 19:06 sunsky303 阅读(10261) 评论(1) 推荐(1) 编辑
摘要: 作为PHP程序员我们或多或少都了解或使用过xdebug。此文章记录安装和配置xdebug,以及如何使用它来分析php程序。 我的机器环境: mac, php 安装 xdebug 推荐使用 pecl 安装扩展 pecl install xdebug注:可以选择版本, https://pecl.php. 阅读全文
posted @ 2019-09-18 19:01 sunsky303 阅读(1066) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 47 下一页
显示搜索