转自… 6
查看更多...Circuit Breaker Pattern
断路器模式
Similar to electrical fuses that prevent fires when a circuit that is connected to the electrical grid starts drawing a high amount of power which causes the wires to heat up and combust, the circuit breaker design pattern is a fail-first mechanism that shuts down the circuit, request/response relationship or a service in the case of software development, to prevent bigger failures.
类似于电熔丝,防止火灾时的电路连接到电网开始绘制一个高的功率使导线升温和燃烧,断路器设计模式是一个失败的第一机构,关闭电路,请求/响应关系或在软件开发的个案服务,为了防止更大的失败。
查看更多...Factory method creational design pattern allows creating objects without having to specify the exact type of the object that will be created.
工厂方法创建型设计模式允许创建对象,而不必指定要创建的对象的确切类型。
查看更多...tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true