Hystrix Circuit Breaker (Hoxton version)

Getting Started with Spring Cloud - Hystrix Circuit Breaker (Hoxton version) Original ThinkWon Last released from December 29-27 15:25:21 Reading 680 Collections Released from December 29-27 15:25:21 Category Column: Spring Cloud Cop ...

Posted by KindredHyperion on Wed, 12 Feb 2020 08:47:12 -0800

[Java] Object class, common API and wrapper class

1, Object class 1. Introduction to object class *The Object class is the parent class of all classes. If a class does not specify an inherited class, it inherits the Object. Any class directly or indirectly inherits from Object 2. Method of object class ① toString() * Source code public String toString() { return getCla ...

Posted by moleculo on Wed, 12 Feb 2020 05:14:52 -0800

Java lambda expression understanding

brief introduction As a new feature of java8, lambda expression is oriented to function programming, which makes the code more concise and improves the programming efficiency. As a developer, we should not only learn to use it, but also understand the operation principle behind it lambda general use ...

Posted by ntohky14 on Tue, 11 Feb 2020 23:45:23 -0800

Diagram the core of kubernetes container profiling mechanism to implement state management

k8s builds a Manager component for the management of container sniffing worker, which is responsible for the management of the underlying sniffing worker, caches the current state of the container, and synchronizes the current state of the external container. Today we will analyze some of its core components 1. Implementation of Core Principles ...

Posted by Niel Roos on Tue, 11 Feb 2020 20:13:04 -0800

Talk about discovery group of artemis

order This paper focuses on the discovery group of artemis DiscoveryGroup activemq-artemis-2.11.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/cluster/DiscoveryGroup.java public final class DiscoveryGroup implements ActiveMQComponent { private static final Logger logger = Logger.getLogger(DiscoveryGroup.class); pri ...

Posted by andreas on Tue, 11 Feb 2020 08:51:47 -0800

Front end learning from entry to advanced record 23 (webapi)

Learning objectives Master the concept of API and Web API Master the common way of calling API provided by browser Can develop common page interaction functions through API Be able to use search engine to solve problems 1. Web API Introduction to Web API The concept of API API (Application Prog ...

Posted by lajocar on Tue, 11 Feb 2020 03:38:03 -0800

Python learning notes (36-40) classes and objects

Learning topics: classes and objects Study date: February 9, 2020 Python version: 3.7.4 Learning note: it's very difficult here, especially the first contact with the concept of object-oriented. What I wrote below is not very clear. Lesson 36 concept of object How to describe an object. For example, thi ...

Posted by mikeabe on Tue, 11 Feb 2020 01:01:17 -0800

Diagram of the core implementation of kubernetes container lookup mechanism

After a container is pulled up by kubelet in k8s, the user can specify the way of sniffing to check the health of the container. TCP, Http and command are currently supported. Today, the implementation of the whole sniffing module is introduced to understand the implementation of its periodic detection, counter, delay and other design. 1. Explo ...

Posted by Stunt on Mon, 10 Feb 2020 21:21:00 -0800

CI framework extended system class library

Ci framework does not support creating CommonController directly under controllers and inheriting the parent class like yii2 framework. When we want to do login control or permission control, it is unreasonable to operate directly on the parent class controller. At this time, the more convenient method is to extend the CI controller of the pare ...

Posted by ultraviolet_998 on Mon, 10 Feb 2020 07:33:56 -0800

Django+Paginator+ajax dynamic load paging

How to switch pages without refreshing the whole page? In fact, the implementation is very simple. The idea is: how many pages are the Paginator backend split (for example: how many pages in total; how many pages are the current page; what is the content of this page?) , through Ajax interactive data display. Two core objects of Paginator (Pagi ...

Posted by retoto on Mon, 10 Feb 2020 06:56:11 -0800