Spring boot admin turbine configuration details

Because hystrix is a single application for monitoring the traffic status. Sometimes we need to view the monitoring status of the whole system comprehensively, so we may need to introduce the monitoring check of turbine. Spring boot admin already has the plug-in spring boot admin server UI turbine turbine is a collection of hystrix. It shows a ...

Posted by LennyG on Mon, 23 Mar 2020 07:57:23 -0700

Source Interpretation of Golang's sync.Map Implementation Principle

brief introduction Gos built-in maps do not support concurrent write operations, because map write operations are not concurrently secure. When you try multiple Goroutine operations on the same map, an error occurs: fatal error: concurrent map writes. So sync.Map has been officially introduced to accommodate concurrent programming applications. ...

Posted by skeener on Sun, 22 Mar 2020 22:56:00 -0700

Spring boot -- loading in the preparation stage of spring application

Learning notes are notes made according to my own needs and understanding after learning the core technology of Spring Boot 2.0 in-depth practice by brother Ma on mooc.com. Preface Spring boot is built based on spring, that is to say, Spring Framework is the basis of learning spring boot well. First of all, the premise of und ...

Posted by NiallThistle on Sun, 22 Mar 2020 09:18:17 -0700

json operation for Golang

JavaScript Object Representation (JSON) is a standard Protocol for sending and receiving structured information.JSON is not the only standard Protocol among similar protocols.XML (7.14), ASN.1, and Google's Proocol Buffers are similar protocols and have their own features, but JSON is the most widely used because of its simplicity, readability ...

Posted by GregArtemides on Sun, 22 Mar 2020 00:00:01 -0700

php uses the ordered set zset of redis to implement delay queue

Delay queue is a message queue with delay function. Compared with ordinary queue, it can consume messages at a specified time. Application scenario of delay queue: 1. New users sign up, and send e-mails or on-site letters in 10 minutes. 2. After the user places an order, the order will be automatically voided if the payment is not made withi ...

Posted by DJP1986 on Sat, 21 Mar 2020 10:15:02 -0700

Starting from the establishment of redis cluster

Recently, the redis cluster deployment has been used. By the way, you can learn a lot about redis. 1. Download redis and support the deployment of redis cluster from 3.0. tar xzvf redis-5.0.5.tar.gz #Download the source code and extract it through tar zxvf wget http://download.redis.io/releases/redis-5.0.5.tar.gz #Compile the source code th ...

Posted by Joel.DNSVault on Sat, 21 Mar 2020 09:18:20 -0700

Quick start to golang [8.2] - Secrets of automatic type inference

Preceding text Quick introduction to golang [1] - Introduction to go golang quick start [2.1]-go language development environment configuration windows golang quick start [2.2]-go language development environment configuration - macOS golang quick start [2.3]-go language development environment configuration linux Get started with golang [3]- ...

Posted by KILOGRAM on Sat, 21 Mar 2020 08:26:47 -0700

Elastic search: simple addition, deletion, modification and search

Today, let's talk about the addition, deletion, modification and query of ES, which is helpful to understand the code of spring boot integration es next week. First of all, we create an index of EST first, and then if all the screenshots are taken, the reading fluency is too low, so we will use the shorthand form [request type URL] next. The f ...

Posted by escabiz on Sat, 21 Mar 2020 06:17:18 -0700

C ා design three-tier architecture based on interface Unity

Introduction The purpose of interface oriented (Abstract) programming is to reduce the coupling degree of programs, and to conform to the principle of dependency inversion. Therefore, the typical three-tier architecture UI, BLL and DAL will be expanded to UI, IBLL, BLL, IDAL and DAL after they are designed based on the interface. In the last on ...

Posted by ragtek on Sat, 21 Mar 2020 02:46:55 -0700

Reality is more complicated than theory

Let's think about a practical problem. When spring comes, we are going to buy clothes. At the same time, as a clothing manufacturer, we are going to release new clothes. If you are a technical consultant of a clothing manufacturer, please analyze what kind of clothes belong to this year's fashion trend and what would you do? First of all, as a ...

Posted by RedMaster on Sat, 21 Mar 2020 02:23:30 -0700