11 2020 档案

摘要:https://www.cnblogs.com/digdeep/archive/2015/11/16/4968453.html https://www.cnblogs.com/ryelqy/p/11434120.html https://www.jianshu.com/p/32904ee07e56 阅读全文
posted @ 2020-11-28 23:24 DiligentCoder 阅读(85) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/xrq730/p/6662232.html 问题描述 业务有一个需求,我把问题描述一下: 通过代理IP访问国外某网站N,每个IP对应一个固定的网站N的COOKIE,COOKIE有失效时间。 并发下,取IP是有一定策略的,取到IP之后拿IP对应的COOK 阅读全文
posted @ 2020-11-25 12:55 DiligentCoder 阅读(315) 评论(1) 推荐(0) 编辑
摘要:https://www.liangzl.com/get-article-detail-149679.html 阅读全文
posted @ 2020-11-25 10:27 DiligentCoder 阅读(391) 评论(0) 推荐(0) 编辑
摘要:WITH RECURSIVE cte AS ( SELECT a.* FROM tblname a WHERE ifnull( a.user_account, '' ) != ifnull( a.user_referrer_code, '' ) AND a.user_account = 'test' 阅读全文
posted @ 2020-11-24 22:04 DiligentCoder 阅读(89) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/baizhanshi/p/6889261.html https://www.cnblogs.com/lfs2640666960/p/10881390.html https://blog.csdn.net/qq_38238296/article/deta 阅读全文
posted @ 2020-11-23 22:34 DiligentCoder 阅读(80) 评论(0) 推荐(0) 编辑
摘要:方法/步骤1登录mysql,查看锁记录等待时间:SHOW VARIABLES LIKE 'innodb_lock_wait_timeout';等待时间是50秒,2把表中id=1的数据加锁,另一个事务对记录修改:SELECT * FROM chengshi WHERE id=1 FOR UPDATE; 阅读全文
posted @ 2020-11-22 16:14 DiligentCoder 阅读(2121) 评论(0) 推荐(0) 编辑
摘要:@Component public class MatchLogUtil { @Autowired private OtcMatchLogMapper otcMatchLogMapper; private static MatchLogUtil matchLogUtil; @PostConstruc 阅读全文
posted @ 2020-11-22 14:45 DiligentCoder 阅读(172) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/llf_1241352445/article/details/83473783 阅读全文
posted @ 2020-11-18 12:32 DiligentCoder 阅读(60) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/goslingfly/article/details/78573716 阅读全文
posted @ 2020-11-18 10:41 DiligentCoder 阅读(92) 评论(0) 推荐(0) 编辑
摘要:Java的循环遍历,如何保证每个循环体都是单独的事务 package demo; import org.apache.log4j.Logger;import org.springframework.beans.factory.annotation.Autowired;import org.sprin 阅读全文
posted @ 2020-11-14 21:20 DiligentCoder 阅读(684) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/liuyansheng/p/6531915.html 阅读全文
posted @ 2020-11-14 16:33 DiligentCoder 阅读(47) 评论(0) 推荐(0) 编辑
摘要:在工作中可能遇到这样的情况,随着业务的增长,用户量也在逐渐增长,终究有一天,一到高峰期,数据库服务器CPU利用率直飚100%。 最简单的做法就是直接提升硬件性能,简单粗暴,直接有效。 假如我们最开始的服务器CPU核数是4,然后我们觉得4个有点扛不住,那就直接给他搞16个核。这下应该没啥问题了吧,用户 阅读全文
posted @ 2020-11-14 16:26 DiligentCoder 阅读(165) 评论(0) 推荐(0) 编辑
摘要:1.配置用户名和邮箱 $ git config --global user.name "xxxxxx" $ git config --global user.email "xxxxxx@163.com" 2.生成密钥对 $ ssh-keygen -t rsa -C "xxxxxx@163.com" 阅读全文
posted @ 2020-11-03 18:39 DiligentCoder 阅读(86) 评论(0) 推荐(0) 编辑

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