Spring Boot Caffeine Caffeine

Integration of Caffeine and Spring Boot Caffeine is a rewritten version of the Guava cache using Java 8 and will replace Guava in Spring Boot 2.0. If Caffeine occurs, Caffeine Cache Manager will be automatically configured. Using the spring.cache.cache-names attribute, you can create a cache at startup and customize it (in sequence) by configur ...

Added by ColinP on Mon, 23 Sep 2019 06:48:07 +0300

How to write elegant and durable JavaScript code

Preface In our normal work development, most of them are public projects developed by adults. When we develop code coding, we consider the readability, reusability and extensibility of code. Clean code is not only reliable in quality, but also lays a good foundation for later maintenance and upgrading. We will discuss from the following aspects ...

Added by sargus on Fri, 20 Sep 2019 10:03:54 +0300

Apache Cassandra Essays on Multi-Node Cross-Data Center Cluster Configuration and Daily Operations

Cassandra is a de-centralized cluster architecture. There is no central node in the traditional cluster. Each node has equal status. The node information in the cluster is maintained through Gossip protocol. In order to enable each node in the cluster to discover other nodes at startup, seed nodes need to be designated. Each node communicates ...

Added by adrian_melange on Thu, 19 Sep 2019 16:16:51 +0300

Server Rendering - Data Prefetching and Status

Web pack from scratch Web Pack 4 is built from scratch (1)Construction of webpack4+React16 Project (II)Detailed partition of Web Pack 4 function configuration (3)Introducing Ant Design and Typescript into webpack4 (IV)Web Pack 4 code de-duplication, information simplification and construction optimization (5)Web Pack 4 configuration Vue version ...

Added by dkphp2 on Wed, 18 Sep 2019 06:01:21 +0300

Re-start learning Java-File And Streams

Note: This article only describes the basic usage, and does not touch on the NIO, the NIO aspects of things, described in a later blog. Random Access File is placed before it is described. File In the filename system, the filename is used to locate the storage location metadata: the data describing the data, where we treat a file as a data, the ...

Added by shalinik on Tue, 17 Sep 2019 12:34:29 +0300

Why does a @LoadBalanced annotation enable RestTemplate to have load balancing capabilities? [Enjoy Spring Cloud]

Each sentence You should think: Why is completing more important than perfection? Preface In Spring Cloud microservice application system, remote calls should be load balanced. When we use RestTemplate as a remote call client, it's extremely simple to turn on load balancing: a @LoadBalanced annotation is done.I believe that most of you have use ...

Added by Sarok on Tue, 17 Sep 2019 07:26:08 +0300

Do you know how enumeration works?

1. Origin of Enumeration Assume a scenario first, and now there is a requirement.You are asked to create an Employee class with an attribute role.The company has three roles: BOSS, MANAGER and WORKER.So how do we define this class? We'll impleme ...

Added by sean.mccoy on Tue, 17 Sep 2019 04:16:41 +0300

The most detailed Thymeleaf usage tutorial ever

Preface Before proceeding, I suggest referring to another of my blogs: Play SpringBoot 2 Fast Integration | Thymeleaf See how to use Thymeleaf in SpringBoot.It is also important to note that the namespace of Thymeleaf needs to be declared on the html in the template page, as follows: <html xmlns:th="http://www.thymeleaf.org"> Now you can ...

Added by romeo on Tue, 17 Sep 2019 01:54:03 +0300

Introduction to MCCS Framework Tutorial

What is the MCCS framework? In last article Introduce MCCS: A New Construction Method of iOS APP In this article, we introduce what MCCS is. MCCS is a design pattern, and its concrete implementation is the MCCS framework. MCCS framework currently o ...

Added by Syntax on Mon, 16 Sep 2019 11:00:49 +0300

9 spring-Custom Label Resolution

Original Link: https://my.oschina.net/u/1590001/blog/268194 At this point, we have finished the process of parsing and extracting the default labels for analysis. Maybe there is too mu ...

Added by JD-AM on Sun, 15 Sep 2019 05:47:17 +0300