上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 项目地址:https://github.com/alibaba/druid其wiki中说明了连接池的配置、使用、功能例如:监控,慢查询,sql注入,动态数据源等问题https://github.com/alibaba/druid/wiki/%E5%B8%B8%E8%A7%81... 阅读全文
posted @ 2019-01-14 09:43 sw008 阅读(124) 评论(0) 推荐(0)
摘要: 原文:https://www.imooc.com/article/49814幂等性,有序性,补偿性,可查性生产者:开放相应的查询接口 Step 1: 首先把消息信息(业务数据)存储到数据库中,紧接着,我们再把这个消息记录也存储到一张消息记录表里(或者另外一个同源数据库的消息记... 阅读全文
posted @ 2019-01-09 23:42 sw008 阅读(1255) 评论(0) 推荐(0)
摘要: 原文:https://blog.csdn.net/linpeng_1/article/details/80505828AmqpTemplate,RabbitTemplateSpring AMQP提供了一个发送和接收消息的操作模板类AmqpTemplate。 AmqpTempl... 阅读全文
posted @ 2019-01-09 23:15 sw008 阅读(4355) 评论(0) 推荐(1)
摘要: 参考文章:http://www.cnblogs.com/huaizuo/archive/2016/04/20/5413069.htmlhttps://www.cnblogs.com/leesf456/p/5453341.htmlhttps://www.toutiao.com/... 阅读全文
posted @ 2019-01-09 14:13 sw008 阅读(444) 评论(0) 推荐(0)
摘要: 堆排序利用完全二叉树特点构建大/小顶堆,全程在数组上完成,没有额外的空间消耗。堆排序一般情况下在速度上相比快速排序和归并排序这种分治类型排序没有优势。但是当处理大数据量的Top问题时,非常适用。java中的实现PriorityQueue 优先级队列是小根堆结构,但是可以通过c... 阅读全文
posted @ 2019-01-08 17:06 sw008 阅读(221) 评论(0) 推荐(0)
摘要: 1 一对多collection1.1 嵌套查询,级联关联一次关联hz+mx信息,Mybatis会自动合并相同的HZ信息 1.2 子查询实现注意图... 阅读全文
posted @ 2019-01-07 13:36 sw008 阅读(511) 评论(0) 推荐(0)
摘要: Github项目:https://github.com/luxiaoxun/NettyRpcFork: https://github.com/sw008/NettyRpc此项目很适合学习多线程和NettyRPC调用流程大体思路:整个异步/同步通讯流程,适用于大多数同步/异步s... 阅读全文
posted @ 2019-01-06 17:19 sw008 阅读(981) 评论(0) 推荐(1)
摘要: javaconfig版本: https://www.cnblogs.com/question-sky/p/7068511.html以下使用的是SpringBoot 2.1.1进行测试0 Maven引用 org.springframewor... 阅读全文
posted @ 2019-01-02 00:05 sw008 阅读(1403) 评论(0) 推荐(0)
摘要: 原文:https://blog.csdn.net/cruise_h/article/details/51013597https://blog.csdn.net/weixin_42813765/article/details/82315305https://www.cnblog... 阅读全文
posted @ 2019-01-01 18:23 sw008 阅读(2279) 评论(0) 推荐(0)
摘要: 部署环境1 下载CAS Server 4.0 :https://github.com/apereo/cas/releases/tag/v4.0.0 这里选择4.0是因为其有官方release版本的cas-server-webapp-4.0.0.war。其他版本需要下载源... 阅读全文
posted @ 2019-01-01 17:37 sw008 阅读(1990) 评论(1) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页