docker-compose管理docker的多容器配置,实现docker的自动化。 ...
分类:
其他好文 时间:
2019-12-23 13:15:53
阅读次数:
83
1. You are not allowed to write any production code unless it is to make a failing unit test pass. 除非为了使一个失败的unit test通过,否则不允许编写任何产品代码 2. You are not ...
分类:
其他好文 时间:
2019-12-22 12:24:41
阅读次数:
75
1、如何理解haproxy+keepalived https://www.cnblogs.com/zs-wei/p/9213961.html HaProxy可以通过监听一个统一的端口对外提供能力,然后内部进行分发,相当于nginx 何保证前端程序使用单个ip又能保证后端的实际处理机器为多台,这就是K ...
分类:
其他好文 时间:
2019-11-04 17:09:07
阅读次数:
82
今天运行一个14年基于spring2.5的项目,出现下面错误 Unexpected exception parsing XML document from class path resource ............... Context namespace element 'component ...
分类:
编程语言 时间:
2019-10-29 19:54:54
阅读次数:
100
一:确认种类 RabbitMQ的消息确认有两种。 一种是消息发送确认。这种是用来确认生产者将消息发送给交换器,交换器传递给队列的过程中,消息是否成功投递。发送确认分为两步,一是确认是否到达交换器,二是确认是否到达队列。 第二种是消费接收确认。这种是确认消费者是否成功消费了队列中的消息。 具体建议参考 ...
分类:
其他好文 时间:
2019-10-26 22:47:09
阅读次数:
152
Calculate a + b and output the sum in standard format that is, the digits must be separated into groups of three by commas (unless there are less than ...
分类:
其他好文 时间:
2019-10-20 10:41:08
阅读次数:
78
一、unittest模块官方文档: https://docs.python.org/3/library/unittest.html 二、一张图看懂unittest: 三、Unittest主要方法属性: 1.unittest.TestCase:TestCase类,所有测试用例继承的基本类: class ...
分类:
其他好文 时间:
2019-10-12 12:42:12
阅读次数:
92
在perl的if控制结构中,只有当条件表达式为真时才执行某块代码。如果想让程序块在条件为假时才执行,此时可以把if改成unless 例如: unless ($fred =~ /^([A-Z_]\w*$/i) { print "The value of \$fred doesn't look like ...
分类:
其他好文 时间:
2019-10-04 15:06:42
阅读次数:
78
Let us begin by defining some central AOP concepts and terminology. These terms are not Spring specific… unfortunately, AOP terminology is not particu ...
分类:
其他好文 时间:
2019-10-02 15:03:27
阅读次数:
132
线程池常见变量 corePoolSize the number of threads to keep in the pool, even if they are idle, unless allowCoreThreadTimeOut is set. (If the number of threads ...
分类:
编程语言 时间:
2019-09-12 18:11:36
阅读次数:
132