上一页 1 2 3 4 5 6 7 8 ··· 30 下一页
摘要: 本准备工作仅限于当前项目,不适用于其它类型项目 1,Go lua , https://github.com/Shopify/go-lua https://github.com/yuin/gopher-lua 现在有两个项目,未做深入研究,具体使用时再确定用哪个。2,Go EShttps://github.com/elastic/go-elasticsearch官方支持。3, Go ... 阅读全文
posted @ 2020-09-21 15:55 张保维 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 结论先行:不知道。从官方文档的描述中,为了解决过多的跳采取的手段,工作中遇到的情况情: 400节点,200主,200从,从慢日志中收到大量的 client list 慢查询。 https://github.com/lettuce-io/lettuce-core/wiki/Redis-Cluster#refreshing-the-cluster-topology-view 阅读全文
posted @ 2020-07-09 13:31 张保维 阅读(572) 评论(0) 推荐(0) 编辑
摘要: from:https://patchouli-know.com/2020/05/01/maven-optional-vs-provided/optional 表示某个依赖可选,该依赖是否使用都不会影响服务运行。例子:吃面时候,酱油就是可选的,加不加都不会影响面的正常使用。provided 表示某个依赖必须,不过该依赖通常是由系统或者容器提供,不需要自己关系。例子:吃面时候,筷子、碗这样的东西... 阅读全文
posted @ 2020-07-07 10:37 张保维 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1, 升级Window 至 2004 , 安装 wsl2 , 参考 : https://www.jianshu.com/p/c27255ede45f 2,修改 windows route , 参考 : https://www.cnblogs.com/brock0624/p/9788710.html3,下面是docker 配置文件: https://files.cnblogs.com/fil... 阅读全文
posted @ 2020-07-05 13:15 张保维 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 1,https://docs.confluent.io/current/quickstart/ce-docker-quickstart.html2, 简化后的docker-compose.yml---version: '2'services: zookeeper: image: confluentinc/cp-zookeeper:5.5.0 hostname: zookeeper ... 阅读全文
posted @ 2020-06-23 17:15 张保维 阅读(791) 评论(0) 推荐(1) 编辑
摘要: 1 , 运行 centos 镜像docker run -it –name chrometest docker.io/centos:7 /bin/bash2, 安装 chrome 最新版本# wget https://dl.google.com/linux/direct/google-chrome-s 阅读全文
posted @ 2020-06-22 16:29 张保维 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1,参考:https://stackoverflow.com/questions/43665276/how-to-run-google-chrome-headless-in-dockerhttps://hub.docker.com/r/browserless/chrome/dockerfile2,python 做为调用脚本 ,# -*- coding: utf-8 -*-from selenium... 阅读全文
posted @ 2020-06-22 13:46 张保维 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 下面内容大部分借鉴自:http://louz.github.io/2016/08/11/docker-redis-cluster/docker pull redis:3.0.7#映射6379端口,以便外部应用访问docker run -d --name mynode1 -p 10.168.12.75:17001:6379 zbw911/redis-cluster docker run -d --n... 阅读全文
posted @ 2019-07-29 19:41 张保维 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1, py es client 使用是 http ,java api 使用是 tcp 2, es.scroll() 方法 在查询多个索引的时候会报 :elasticsearch.exceptions.RequestError: RequestError(400, u'too_long_frame_exception', u'An HTTP line is larger than 4096 byt... 阅读全文
posted @ 2019-06-26 12:23 张保维 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: mklink /d C:\Users\zhangbaowei\.nuget\packages i:\link\.nuget\packagesmklink /d C:\Users\zhangbaowei\.gradle i:\link\.gradlemklink /d C:\ProgramData\Anaconda3 i:\link\Anaconda3mklink /d C:\Users... 阅读全文
posted @ 2019-06-21 14:56 张保维 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 30 下一页