上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 现象:delete子查询非常慢,但select非常快,如下: select * from test1 where uid in (select uid from test2)-- 非常快 delete from test1 where uid in (select uid from test2)-- 阅读全文
posted @ 2021-01-08 16:46 Dream's 阅读(931) 评论(0) 推荐(0) 编辑
摘要: 超时,默认1秒; 修改请求超时时长: application.yml: hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 3000 阅读全文
posted @ 2020-12-29 17:21 Dream's 阅读(4752) 评论(0) 推荐(0) 编辑
摘要: 1.集群定义:集群是指用一组服务器运行一到多个应用程序。 集群可以简单到只有两台服务器,在他们之间配置故障切换,如果一台服务器失效,由另一台服务器接管应用程序的处理。集群也可以用来运行复杂的分布式系统:应用程序将数据分割成多个可管理的部分,a56爆大奖在线娱乐部分都可以独立进行处理。如果一台服务器失效,其他服务器不 阅读全文
posted @ 2020-09-15 17:43 Dream's 阅读(1860) 评论(0) 推荐(0) 编辑
摘要: Java数据流分为两种:字节流(Byte)和字符流(Character)。 字节流:以8位为单位对二进制数据进行操作,这些类都是InputStream和OutputStream的子类。 InputStream 所有字节输入流的父类,定义了基础的读取方法。 OutputStream 所有字节输出流的父 阅读全文
posted @ 2020-09-15 17:17 Dream's 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 业务场景:项目拆分微服务,恰巧鄙人负责几个基础的服务,各种对接其他服务。到后期运维,接各种锅:a56爆大奖在线娱乐调用你接口了,你那数据不对。a56爆大奖在线娱乐传递是这个参数,你那处理的有问题......。只好加上日志记录,业务场景就是:防止背锅! 1.定义注解 package com.haier.hwork.qwrgqk.busi 阅读全文
posted @ 2020-09-09 17:21 Dream's 阅读(1810) 评论(0) 推荐(1) 编辑
摘要: MQ 1.消息队列可以简单理解为:把要传输的数据放在队列中。用来降低Web服务器因发送消息而导致的负载和延时问题。 2.为什么用MQ(MQ优点):解耦、异步、削峰/限流、高可用、防数据丢失。 1)解耦举例:订单系统下单,需要调用支付系统、物流系统、库存系统、积分系统等等一批。物流系统宕机,整个一串全 阅读全文
posted @ 2020-09-01 17:57 Dream's 阅读(235) 评论(0) 推荐(0) 编辑
摘要: pom: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> yml: spring: rabbitmq: h 阅读全文
posted @ 2020-09-01 15:49 Dream's 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-08-27 11:37:10.017 ERROR 22436 阅读全文
posted @ 2020-08-27 14:32 Dream's 阅读(3975) 评论(0) 推荐(0) 编辑
摘要: org.springframework.amqp.AmqpIOException: java.io.IOException at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccess 阅读全文
posted @ 2020-08-26 17:56 Dream's 阅读(2003) 评论(0) 推荐(0) 编辑
摘要: org.springframework.amqp.AmqpTimeoutException: java.util.concurrent.TimeoutException at org.springframework.amqp.rabbit.support.RabbitExceptionTransla 阅读全文
posted @ 2020-08-26 17:23 Dream's 阅读(2809) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页