ARTS Carding Activities - Third Week
ARTS Carding Activities - Third Week
1. Algorithms do an algorithmic problem of leetcode
146. LRU CacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put.
get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return ...
Added by Tandem on Wed, 04 Sep 2019 18:06:34 +0300
Spring Cloud Zuul Ribbon and Hytrix configuration instructions
First, concept introduction.
Ribbon: Load balancing is a multi-instance load balancing configuration for services.
Hystrix: Fuse, when calling zuul Gateway specific business, may be affected by the network, code execution time and so on for a ...
Added by kubis on Wed, 04 Sep 2019 08:44:40 +0300
Special features of Go map
Zero Value Characteristic
Some operations of uninitialized map s are legal:
var testMap map[int]int
size := len(testMap) // size is 0
_, present := testMap[0] // present is false
non := testMap[123] // non is 0, won't case panic
testMap[1] = non // panic: assignment to entry in nil map
Only write operations ...
Added by IceDragon on Tue, 03 Sep 2019 12:13:27 +0300
Request Body Search Query Body in Elastic Search API
This article is a bit long and may require a bit of patience after reading. This article introduces three paging methods of es, sorting, from, size, source filter, dov values fields, post filter, highlight, rescoring, search type, scroll, preference, explanation, version, index boost, min_score, names query in detail. Inner hits, field collapsi ...
Added by volatileboy on Sun, 01 Sep 2019 12:58:13 +0300
Window opening function of hive
Window function structure:
Analytical function + window clause
Window clause
over(partition by ** order by ** rows between ** and **)
Among them, between ** and ** can be filled in
Start
End
explain
unbounded preceding
current row
From the fir ...
Added by SunsetKnight on Fri, 30 Aug 2019 14:10:36 +0300
Pain Point in Java Point - synchronized Deep Resolution
Pain Point in Java Point - (8) synchronized Deep ResolutionOverview:Brief introduction: role, status, impact of uncontrolled concurrencyUsage: Object locks and class locksSeven cases of multithreaded access synchronization methodsNature: reentrant, uninterruptiblePrinciple: Adding and Unlocking Principle, Reentry Principle, Visibility Principle ...
Added by eirikol on Fri, 30 Aug 2019 11:32:05 +0300
Oracle creates partition tables and simple operations for partitions
oracle 11g supports automatic partitioning, but partitioning must be set when creating tables.
If an existing table needs to be partitioned, it is necessary to rename the current table, create a new table, copy the data to the new table, and the ...
Added by sbourdon on Fri, 30 Aug 2019 11:18:29 +0300
Exercise 6: Create an index
Case: Create database index_test, create two data tables test_table1 and test_table2 in index_test database according to the structure of the following table, and complete the basic operation of the data table according to the operation process.
(1) ...
Added by garek007 on Thu, 29 Aug 2019 11:26:12 +0300
Introduction to Spring 3 - Spring's Focus on AOP
AOP, the core concept of Spring, is also the core concept of Spring framework.
It uses a technology called "crosscutting" to decompose encapsulated objects and encapsulate common behaviors that affect multiple classes into a reusable module ...
Added by XxDeadmanxX on Wed, 28 Aug 2019 14:01:24 +0300
[Linux]-Message Queue for IPC Process Communication
System V message queue
Message queue is a simple and effective way to transfer binary data between two processes. Each data block has a specific type, and the receiver can receive data effectively according to the type, instead of having to receive ...
Added by NathanS on Wed, 28 Aug 2019 09:52:44 +0300