02 2020 档案

摘要:Shard是什么? 在下面的文档中进行了介绍 https://www.elastic.co/guide/cn/elasticsearch/guide/current/kagillion-shards.html 1.一个分片的底层即为一个 Lucene 索引,会消耗一定文件句柄、内存、以及 CPU 运 阅读全文
posted @ 2020-02-24 15:04 tonglin0325 阅读(4979) 评论(0) 推荐(2) 编辑
摘要:在最新的mac catalina系统中,已经从karabiner更名为karabiner-elements,安装的版本为Karabiner-Elements-12.9.0 下载地址:https://pqrs.org/osx/karabiner/ 安装后会有两个应用,一个是Karabiner-Elem 阅读全文
posted @ 2020-02-23 11:44 tonglin0325 阅读(2542) 评论(0) 推荐(0) 编辑
摘要:1.在 ~/.zshrc 中添加 source ~/.bash_profile 参考:https://blog.csdn.net/qq_18505715/article/details/83276208 2.比如mac的git命令补全不生效,可以参考如下文章添加 https://blog.csdn. 阅读全文
posted @ 2020-02-15 22:19 tonglin0325 阅读(1506) 评论(0) 推荐(0) 编辑
摘要:参考:https://juejin.im/post/5daec26a51882575d50cd0aa 1.查看brew当前源 git -C "$(brew --repo)" remote -v origin https://github.com/Homebrew/brew (fetch) origi 阅读全文
posted @ 2020-02-15 22:15 tonglin0325 阅读(2486) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.ctolib.com/greymd-tmux-xpanes.html brew install tmux-xpanes 或者 # Install `add-apt-repository` command, if necessary. $ sudo apt install 阅读全文
posted @ 2020-02-15 22:07 tonglin0325 阅读(347) 评论(0) 推荐(0) 编辑
摘要:项目中有一张表是记录人员,在每个新用户调用接口认证通过了之后,会有一个往该表插入这个新用户信息的操作。 但是在线上环境中,发现该表的自增id不连续,且间隔都是差了2,比如上一个人的id是10,下一个人的id就是12,而在前端页面中,一个用户认证通过后,会调用3个接口,初步排查是MySQL并发操作导致 阅读全文
posted @ 2020-02-01 15:38 tonglin0325 阅读(6718) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示