SpringCloud Micro Services (03):Hystrix Component for Service Fusion

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to Fuses The architecture of micro-services is characterized by multiple services, multiple data sources, and supporting system applications.This leads to dependencies between micro-services.If one of these services fails, it may cause the system to shut down ...

Posted by leeandrew on Tue, 24 Sep 2019 19:43:27 -0700

Rapid deployment of EMQ X clusters on Kubernetes through Helm

Provided through EMQ X Helm chart EMQ X can be easily deployed to Kubernetes Platform. Before you start, make sure you follow Helm Document Guide To install Helm. On Kubernetes Kubernetes is a widely used open source container orchestration platform for automatic deployment, expansion and operation of applications. With Kubernetes, it can quick ...

Posted by axm on Mon, 23 Sep 2019 23:53:56 -0700

Running Principle of Fork/Join Framework

The introduction of Fork/Join framework can be consulted Fork/Join Framework . There are two core classes of Fork/Join framework: Fork Join Pool, which is mainly responsible for task execution, and Fork Join Task, which is mainly responsible for task splitting and result merging. ForkJoinPool Like ThreadPool Executor, it is also a thread pool ...

Posted by subwayman on Mon, 23 Sep 2019 20:05:52 -0700

Java Description Design Mode (13): Iterator Mode

Source code for this article: GitHub. Click here || GitEE. Click here I. Iterator Mode 1. Basic concepts Iterator mode, also known as cursor mode, is the behavior mode of objects.Iterator patterns can sequentially access elements in a cluster without exposing the internal representation of the cluster. 2. Pattern Diagram 3. Core Role Iterat ...

Posted by banks1850 on Sun, 22 Sep 2019 17:43:16 -0700

Tool classes and methods commonly used in Hutool

SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall abstract Hutool is a Java toolkit that helps us simplify every line of code and avoid duplicating wheels. If you need to use some tools and methods, you might as well look in Hutool, it may be. This article will introduce the common tools and methods in H ...

Posted by damdempsel on Sun, 22 Sep 2019 04:19:54 -0700

Nuxt adaptive SSR scheme: SEO and first screen minimization optimization

At present, the project uses Nuxt SSR to complete server rendering. In order to meet the needs of SEO, non-first-screen content is also requested and served directly, resulting in longer first-screen time (non-first-screen resource requests and component rendering will bring additional overhead). For a large number of users, a small number of ...

Posted by sys4dm1n on Sun, 22 Sep 2019 03:04:47 -0700

3D Game Programming and Design - Space and Sports

Short answer and validation with program 1 What is the essence of game object movement? The essence of the game object movement is to change the coordinates of the game object itself. In game development, we can transform game objects by matrix transformation, such as: public class TranslationScrip ...

Posted by efron on Sat, 21 Sep 2019 06:59:38 -0700

Java implements hash tables

Basic concepts Hash Table: Hash Table, also known as Hash Table. Define a keyword k in the data to be stored. Map k to an address through a mapping relationship f. This address is called hash address. Then when searching for the record, it is no longer necessary to search through data comparison, but directly use the keyword k mapping of the re ...

Posted by cesar110 on Sat, 21 Sep 2019 00:53:33 -0700

Android 6.0 Elegant Privilege Request Encapsulation

Android Elegant Privilege Request Encapsulation Let's first look at how the code is written without encapsulation. Here we first need to determine whether there is a specific permission. If there is a specific operation, otherwise we need to request permission. The final result of the request can only be processed in onRequest Permissions Resul ...

Posted by akano on Sat, 21 Sep 2019 00:13:01 -0700

SpringBoot 2.0 + Nacos + Sentinel Flow Control Rule Centralized Storage

Preface Sentinel's native version of Rule Management pushes rules to the client through the API and updates them directly to memory, not directly for production environments.Officially, however, there is also a Push mode that extends the Readable DataSource for reading data sources, unifies the Rule Center push, and allows clients to monitor c ...

Posted by able on Thu, 19 Sep 2019 17:56:05 -0700