Principle and architecture of ELK

1, Overview Log analysis is the main means for operation and maintenance engineers to solve system faults and find problems. Logs mainly include system logs, application logs and security logs. System operation and maintenance personnel and developers can understand the software and hardware information of the server through the log, check ...

Posted by dsaba on Sat, 01 Jan 2022 16:13:46 +0100

Application implementation of Android MVVM architecture

Although the MVVM architecture was also used in previous projects, I was not familiar with the overall MVVM architecture because I did not build the overall framework myself, so I built and implemented the MVVM architecture myself this time.The components used by MVVM architecture include ViewModel, LiveData, ViewBinding/DataBinding, etc. these ...

Posted by stubarny on Fri, 31 Dec 2021 03:15:29 +0100

Design pattern - observer pattern

preface This paper briefly introduces a kind of design pattern, observer pattern         (previous article) design pattern - Decorator Pattern_ Autumn rain - CSDN blog catalogue 1, Definition and characteristics of observer model 2, Structure of observer model 3, Code example 1, Definition and characteristics of observer model Definit ...

Posted by chimp1950 on Thu, 30 Dec 2021 12:22:53 +0100

[source code analysis] PyTorch distributed elastic training -- Rendezvous architecture and logic

[source code analysis] PyTorch distributed elastic training (4) - Rendezvous architecture and logic 0x00 summary In the previous article, we have learned the basic modules of PyTorch distribution and introduced several official examples. Next, we will introduce the flexibility training of PyTorch. This is the fourth article to see the str ...

Posted by allanonschick on Tue, 28 Dec 2021 23:16:19 +0100

Feign study notes

Feign declarative remote call 1. Introduction Feign is a declarative HTTP client. Its purpose is to make remote calls easier. Feign provides the template of HTTP request. By writing a simple interface and inserting annotations, you can define the parameters, format, address and other information of HTTP request. Feign integrates Ribbon (l ...

Posted by Spaceboy on Tue, 28 Dec 2021 06:54:03 +0100

Mall pricing center - calmly deal with complex scenario price calculation

With the continuous upgrading of the business structure of vivo mall, the more complex and changeable marketing methods of the whole mall have been split into an independent promotion system. In the initial stage, the split promotion system is only responsible for the maintenance of the playing method of marketing activities. The most import ...

Posted by Michan on Sun, 19 Dec 2021 13:45:04 +0100

Android developers reread design mode: write an upload decoupling library to practice

Last week, I finally finished reading the beauty of design patterns. I always wanted to write something to practice. It happened that I wanted to reconstruct the company's upload library recently, so I had this article. (it's just for learning and practicing. If you have any suggestions, the architecture boss can spray it gently) 0x1. Miscella ...

Posted by csatucd on Sun, 19 Dec 2021 04:25:17 +0100

How to ensure thread safety in Java

1, Thread safety is embodied in three aspects 1. Atomicity: provides mutually exclusive access. Only one thread can operate on data at a time (atomic,synchronized); 2. Visibility: a thread's modification of main memory can be seen by other threads in time (synchronized,volatile); 3. Orderliness: one thread observes the execution order of ...

Posted by seddonym on Thu, 16 Dec 2021 06:36:14 +0100

Ali artifact, a move to locate the online Bug

background The company has a channel system, which is specially connected with three-party channels. There is no business logic. It mainly works on message conversion and parameter verification, which plays a connecting role. Recently, after optimizing the response time of the interface and the code, the time still can not meet the requiremen ...

Posted by numan82 on Wed, 15 Dec 2021 16:06:17 +0100

The old question: how to customize the starter with one click in Spring Boot?

Spring Boot starter We know that Spring Boot greatly simplifies the initial construction and development process of the project, which are completed through the starter provided by Spring Boot. Pinda general permission system is developed based on Spring Boot, and some basic modules are starters in essence, so we need to have a comprehensive a ...

Posted by DeltaRho2K on Wed, 15 Dec 2021 16:05:04 +0100