SpringBoot+WebSocket real-time monitoring exception

Write in front This exception is not another exception. The exception mentioned in the title is a business exception. Recently, I made a demand for fire equipment inspection. If any abnormality is found in the inspection, submit it through the mobile terminal, and obtain the information and location of the equipment in real time on the backgr ...

Added by AdB on Tue, 04 Jan 2022 22:01:11 +0200

Cloud native Serverless Database experience

Author: Li XinIn recent ten years, Internet technology has developed rapidly. More and more industries have joined the matrix of the Internet, which has brought more rich and complex business scenario requirements, which is undoubtedly a great challenge to the performance of data application system.Relational database mysql is the most widely u ...

Added by Jude on Tue, 04 Jan 2022 19:46:54 +0200

C + + design pattern - state pattern

State modeAllows an object to change its behavior when its internal state changes. Object appears to have modified its class-- Baidu EncyclopediaSimply put, state pattern is state machine design. It is mainly used for the same request to perform different functions under different conditions. Its function is equivalent to if else. significanceI ...

Added by atlanta on Tue, 04 Jan 2022 06:43:54 +0200

Using Alibaba cloud's MSE, the last real gray publishing scheme

1. What is MSE Alibaba cloud MSE (Microservices Engine) microservice engine includes the following three main modules: microservice registry, microservice governance and cloud native gateway. The label routing in the microservice governance function can realize the gray function.  2. Gray demand Except for traffic entry (such as pile ...

Added by jera on Sun, 02 Jan 2022 14:35:39 +0200

Android architecture design - MVC

objective The purpose of architecture design is to modularize the program through design, so as to achieve high aggregation within the module and low coupling between modules. Improve development efficiency and facilitate subsequent testing and problem location. However, for apps with different orders of magnitude and different requirements, t ...

Added by luv2sd on Fri, 31 Dec 2021 15:15:39 +0200

Is there one of the most complete Java 8 explanations that you can read first and then say

1, Basic knowledge 1) Why learn java 8 The changes made by Java 8 are more far-reaching in many ways than any change in Java history. These changes will make your programming easier example: Traditional writing: List<Person> personList = Arrays.asList(new Person(21,50),new Person(22,55),new Person(23,60)); Collections.sort(personLi ...

Added by Twysted on Fri, 31 Dec 2021 04:32:52 +0200

Development of Winform terminal and processing of client authorization information in ABP VNext framework

In the ABP VNext framework, even in all the cases it provides, there is no case introduction of Winform program, but a console program is provided in the microservice solution to understand the calling and processing of its IDS4. Because I have developed many Winform projects, the Winform client is included in the ABP rapid development framewor ...

Added by menriquez on Wed, 29 Dec 2021 13:21:52 +0200

Common java array usage

1. Assignment Two assignment methods Static initialization: define the contents of the array directly from the beginning Dynamic initialization: open up the space first, and then assign values later. You can not assign all values (at this time, the initial values are not assigned, such as 0 and null) // statement int[] ids; //1.1 s ...

Added by dmort on Wed, 29 Dec 2021 09:38:56 +0200

Principle of data binding for Android

During the inflate layout, the Activity generates the Binding through DataBindingUtil. From the code point of View, it traverses the contentView to get the View array object, and then generates the corresponding Binding class through the data Binding library, including Views, variables, listeners, etc. The generated classes are located in build ...

Added by bubblocity on Wed, 29 Dec 2021 06:03:21 +0200

No, I don't know the watcher mechanism of Zookeeper. I'll go deep into the source code analysis

We can use zookeeper as the registry to realize service registration and discovery. The curator framework provides curator-x-discovery extension to realize out of the box service registration and discovery, but more often we choose to implement it ourselves. At that time, we need to pay extra attention to a feature of zookeeper, that is, wathce ...

Added by ziggs on Tue, 28 Dec 2021 16:56:19 +0200