12 2018 档案

摘要:java classloader 阅读全文
posted @ 2018-12-24 20:39 exact 阅读(1581) 评论(0) 推荐(0)
摘要:tomcat classloader 阅读全文
posted @ 2018-12-24 20:26 exact 阅读(367) 评论(0) 推荐(0)
摘要:springboot postgresql druid jpa jdbctemplate database 阅读全文
posted @ 2018-12-24 20:14 exact 阅读(7572) 评论(0) 推荐(0)
摘要:springboot filter intercertor logback mdc 阅读全文
posted @ 2018-12-08 11:51 exact 阅读(3935) 评论(0) 推荐(0)
摘要:springboot filter interceptor 过滤器和拦截器的对比 阅读全文
posted @ 2018-12-08 11:16 exact 阅读(540) 评论(0) 推荐(0)
摘要:restful幂等性解释 阅读全文
posted @ 2018-12-04 20:53 exact 阅读(1345) 评论(0) 推荐(0)
摘要:springboot logback mdc 阅读全文
posted @ 2018-12-04 20:45 exact 阅读(290) 评论(0) 推荐(0)
摘要:windows io sata disk 磁盘性能测试 固态硬盘和机械硬盘对比 阅读全文
posted @ 2018-12-04 19:49 exact 阅读(2972) 评论(0) 推荐(0)
摘要:Producer Consumer1 其中几个主要参数: durable:表示是否需要持久化消息,其主要是为了避免rabbitMQ崩溃的时候消息丢失,所以设置为持久化,mq会把未处理的消息写到磁盘。 autoack:指定mq client是否自动应答ack(消息处理确认),实际上我们应该将autoa 阅读全文
posted @ 2018-12-01 15:30 exact 阅读(165) 评论(0) 推荐(0)
摘要:Exchange总共有4种类型:direct, topic, fanout and headers,这里主要介绍前三种。 direct转发规则是根据routing key(由消费者来绑定,可以简单理解为消费者感兴趣的事件,如新闻中的:娱乐,社会,汽车,国际),下图中routing key为info, 阅读全文
posted @ 2018-12-01 15:30 exact 阅读(202) 评论(0) 推荐(0)
摘要:测试代码 输出结果: start file path test file exists path:/E:/work_space/Study/target/classes/file/FileReadWrite.classfile exists path:/E:/work_space/Study/tar 阅读全文
posted @ 2018-12-01 15:30 exact 阅读(358) 评论(0) 推荐(0)
摘要:参考如下网址即可: https://blog.csdn.net/lu1005287365/article/details/52315786 阅读全文
posted @ 2018-12-01 15:29 exact 阅读(229) 评论(0) 推荐(0)
摘要:简介: MQ全称为Message Queue,消息队列是一种应用程序间的通信方法。 其是消费者-生产者模型的一个典型代表,一端往消息队列中不断写入消息,另一端不断读取/订阅消息。 简单使用场景举例: 将项目中无需即时返回且耗时的操作提取出来,进行异步处理,大大降低了服务器的请求响应时间。 如:打印日 阅读全文
posted @ 2018-12-01 15:29 exact 阅读(190) 评论(0) 推荐(0)
摘要:Producer Consumer 运行结果 Producer Sent:hello world0Sent:hello world1Sent:hello world2Sent:hello world3Sent:hello world4 Consumer Received:hello world0Re 阅读全文
posted @ 2018-12-01 15:29 exact 阅读(135) 评论(0) 推荐(0)