[Enjoy Netflix]4, Apache Commons Configuration 2.x File Locator and FileHandler

Writing code is a personal accomplishment, not a requirement of the boss, not to show your colleagues ->Return to Column Directory <- Code download address: https://github.com/f641385712/netflix-learning Catalog Preface text FileBased File Location FileLocator FileLocatorUtils (Important) Th ...

Posted by tech603 on Tue, 18 Feb 2020 18:15:44 -0800

fastDFS is built by Docker

fastDFS is built by Docker Step 1: build a docker on the ECS https://blog.csdn.net/wjyyhhxit/article/details/83582588 It's almost the same with this blog. This blog uses Centos 7 Step 2: use Docker to pull the required image docker pull morunchang/fastdfs Because I use other methods to insta ...

Posted by Rabea on Tue, 18 Feb 2020 02:24:48 -0800

Concurrent collaboration: producer consumer model

Producer consumer model Solution 1: Producer / consumer model Producer: the module responsible for production data (the modules here may be: method, object, thread, process) Consumer: the module responsible for processing data (the modules here may be: method, object, thread, process) Buffer: consume ...

Posted by CorfuVBProgrammer on Mon, 17 Feb 2020 22:26:48 -0800

Sorting operation of array

There are many sorting algorithms, including Insertion sort,Bubble sort,Heap sort,Merge sort , select sort, Counting sort,Radix sorting,Bucket sorting,Quick sort And so on. Insert sort, heap sort, select sort, merge sort, fast sort, bubble sort are all comparative sort. They sort by comparing t ...

Posted by ukscotth on Mon, 17 Feb 2020 22:08:01 -0800

Seckill TOPK problem (with code)

subject Given a large file (1T? 10T), in which each line stores a user's ID (IP? IQ?) , your computer has only 2G memory, please find the ten IDS with the highest frequency introduce In recent years, the TopK problem has been the most, the most and the most in the field test In fact, the answer is r ...

Posted by hughmill on Mon, 17 Feb 2020 20:07:30 -0800

Design Patterns Part III Structural Design Patterns Chapter 11 Composition Patterns (Composition Patterns) (A:C++ Implementation)

3.1 Mode Motivation In real life, there are many "part-whole" relationships, such as departments and colleges in universities, departments and subsidiaries in headquarters, books and bags in study supplies, moon buns and wardrobes in household appliances, pots and pans in kitchens, etc.This ...

Posted by vmavrou on Mon, 17 Feb 2020 18:52:54 -0800

Spring cloud zuul service gateway implementation

authentication Next, write a simple authentication The request must carry the token parameter. If there is no token, the request will be rejected among filterType -- filter type, use pre? Type here filterOrder -- filter order. The smaller the value is, the higher the priority is. Here it ...

Posted by Tubbietoeter on Mon, 17 Feb 2020 02:42:43 -0800

Data structure and algorithm Java implementation of double linked list

1. Data structure and algorithm (5) Java implementation of bidirectional linked list 1.1 what is a two-way linked list Double linked list is also called double linked list. It is a kind of linked list. There are two pointers in each data node, pointing to direct successor and direct precursor respec ...

Posted by EagerWolf on Mon, 17 Feb 2020 02:31:49 -0800

02 - generate payment QR code

Hello everyone, I'm the white book demon! Knowledge comes from accumulation, the peak comes from self-discipline Today, I have sorted out some small knowledge points based on some documents, notes and other materials I have learned before. If there are any improper points, you are welcome to correct the ...

Posted by anser316 on Sun, 16 Feb 2020 21:38:15 -0800

Flink1.9“Error: A JNI error has occurred”

background Recently, companies are building big data systems, and architects recommend using Flink to build them.So this day, I'm investigating Flink in my own virtual machine environment (Ubuntu 16.4). from ververica I learned the fundamentals of flink in school, because I worked on python data pr ...

Posted by aperales10 on Sun, 16 Feb 2020 18:33:05 -0800