会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jackluo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
31
下一页
2019年5月11日
在本地搭建hyperledger fabric 网络
摘要: 参考了官方文档,直接就可以了https://hyperledger-fabric.readthedocs.io/en/latest/build_network.html 很好用
阅读全文
posted @ 2019-05-11 09:46 jackluo
阅读(2041)
评论(1)
推荐(0)
2019年5月5日
golang rabbitmq 的学习
摘要: https://www.rabbitmq.com/tutorials/tutorial-one-go.html Rabbitmq的任务分发机制 开了三个任务窗口接收,发现是并行接收的 Message acknowledgment 消息确认 Message durability消息持久化 Fair d
阅读全文
posted @ 2019-05-05 14:02 jackluo
阅读(1561)
评论(0)
推荐(0)
2019年4月24日
elasticsearch 学习
摘要: docker run -p 9200:9200 -d elasticsearch #直接拉取运行 #指定条件搜索curl --request GET \ --url 'http://localhost:9200/imooc/course/_search?q=ccmouse' \ --header 'Content-Type: application/json' \ ...
阅读全文
posted @ 2019-04-24 22:29 jackluo
阅读(303)
评论(0)
推荐(0)
2019年4月19日
golang 实现广度优先算法(走迷宫)
摘要: maze.go maze.in
阅读全文
posted @ 2019-04-19 17:28 jackluo
阅读(898)
评论(0)
推荐(0)
2019年4月18日
mysql 服务器负载过高的解决分析之路
摘要: 最近我们有台 mysql 服务器一直报负载过高,不停的收到阿里云的报警短信,让我很抓狂,登陆上服务器,看下一下,慢查询日志 发现有60多万的慢查询日志,一看这个就知道是搜索带来的,一直想把搜索的服务给弄出来单独用elasticsearch 来做搜索服务,业务太忙,还没有来得及去架构, 再查了一下ng
阅读全文
posted @ 2019-04-18 15:06 jackluo
阅读(1767)
评论(0)
推荐(0)
2019年4月16日
golang 使用pprof进行性能调优
摘要: 随便写一个名字叫nonrepeat.go的文件,然后再写了一个nonrepeat_test.go 然后执行: mac 上面还需要安装图形化的界面工具 https://www.macports.org/install.php ,实在不行参考 https://blog.csdn.net/qq_36847
阅读全文
posted @ 2019-04-16 22:25 jackluo
阅读(1819)
评论(0)
推荐(0)
2019年4月13日
golang slice 经典例题
摘要: arr := [...]int{0,1,2,3,4,5,6,7,8} s1 :=arr[2:6] s2 :=arr[3:5] s1=? //2,3,4,5 s2=? // 5,6 1 package main 2 3 import "fmt" 4 5 func main() { 6 arr := []int{0, 1, 2, 3, 4, 5,...
阅读全文
posted @ 2019-04-13 10:41 jackluo
阅读(414)
评论(0)
推荐(0)
2019年4月4日
公司外网测试服务器 redis 被攻击复盘
摘要: 最近 公司外网的测试的 redis 服务器被攻击,最开始是用 docker 搭建的 直接裸奔在外网,任何域名都可以通过 ip+6379来访问,最开始想的是测试服务器也没有啥,后面直接就被人登陆进去改了 redis 的密码,后面加强了一下,加了一个内网的访问地址 这样只允许内网访问,但是好景不长,结果
阅读全文
posted @ 2019-04-04 14:26 jackluo
阅读(627)
评论(0)
推荐(0)
2019年2月28日
golang http.client 遇到了 Connection reset by peer 问题
摘要: 最近一个 golang 写的 http.client 的,获取远程服务器数据,有时候会报错,尤其在数量很大的时候,老是收到 Connection reset by peer 这样的 提醒,都有点想用重试机制 百度,goolge 了一翻后,说的是 它会阻止连接被重用,可以有效的防止这个问题,也就是Ht
阅读全文
posted @ 2019-02-28 17:55 jackluo
阅读(8199)
评论(1)
推荐(0)
2019年2月19日
php curl Problem with the SSL CA cert (path? access rights?)
摘要: 公司有台老服务器,搭的php的环境,有个负载均横的服务 调用 curl_init 的时候报了 Problem with the SSL CA cert (path? access rights?) 网上各种脑补 当我用 rpm -V ca-certificates 这个命令时的确没有输出 一阵命令如
阅读全文
posted @ 2019-02-19 14:41 jackluo
阅读(617)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
31
下一页
公告