[Spring] book reading notes -- the birth of ORM and the integration of Spring

preface Review the established development rules and DAO mode—— Development standards introduced on Oracle official website (browse)What is JDBCDefects of JDBCBirth of ORMORM integration efforts 1. JDBC 1.1 what is JDBC The following contents are sorted to Baidu JDBC (Java Database Connectivity) is an application program int ...

Posted by GarroteYou on Fri, 11 Feb 2022 17:23:45 +0100

A detailed explanation of Kafka API

Absrtact: Kafka's APIs include Producer API, Consumer API, user-defined Interceptor (user-defined Interceptor), Streams API for processing streams and Kafka Connect API for building connectors. This article is shared from Huawei cloud community< [Kafka notes] Kafka API analyzes the Java version in detail (Producer API, Consumer API, inter ...

Posted by Sianide on Fri, 11 Feb 2022 17:21:16 +0100

Python - play with data - Download Middleware of scratch

1, Explain Download Middleware is a hook framework for scripy's request / response processing. It is a lightweight low-level system used to globally change the request and response of scripy. It is often used to add agents, add cookie s, reissue requests after failure, and so on. 2, Activate Download Middleware To activate Download Middlewar ...

Posted by digitalflash on Fri, 11 Feb 2022 17:16:25 +0100

Springboot 2 initial notes archiving

SpringBoot2 1. Introduction to springboot Spring Boot is a new framework provided by pivot team. It is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer need to define a templated configuration. In this way, Spri ...

Posted by dragon_sa on Fri, 11 Feb 2022 17:08:17 +0100

Play Hudi Docker Demo based on Ubuntu -- Spark write and query

brief introduction Last article Playing Hudi Docker Demo based on Ubuntu (2) -- writing test data to Kafka Describes how to write test data to fkaka cluster. This article describes how to use Spark to consume Kafka data and write the data to HDFS. Hudi is introduced into Spark in the form of Jar package. Types of Hudi tables and queries Tabl ...

Posted by dilum on Fri, 11 Feb 2022 17:01:45 +0100

Generics in TS

The most difficult thing in typescript is undoubtedly generics, so what is the motivation for generics Think about a question: How did generics appear and what problems did it solve Now there is an echo method, which passes in what type of value and returns what type of value function echo(arg) { return arg } const result = echo(123) The re ...

Posted by Adam on Fri, 11 Feb 2022 16:57:08 +0100

Research on consistent HASH algorithm

Research on consistent HASH algorithm Contributor: underground Stalker 1. Introduction When studying the CRUSH algorithm of distributed storage Ceph, I saw the article introduce that it is a special consistency HASH algorithm, so I began to study the consistency HASH algorithm, make early preparation, and found that the concept is indeed clo ...

Posted by nightowl on Fri, 11 Feb 2022 16:50:58 +0100

Airbnb JavaScript style guide

1. Type 1.1 basic type: you can get the value of basic type directly. (direct access) string,number,boolean,null,undefined,symbol,bigint. symbol is the original data type newly introduced by ES6, which represents a unique value. The reason for its introduction is to fundamentally prevent the conflict of object attribute names, so ...

Posted by JustinM01 on Fri, 11 Feb 2022 16:50:47 +0100

[C + +] detailed explanation of monotonic queue

Today, let's talk about monotonic queues and stacks. Although these two data structures are not directly implemented in c + + stl, it is easy to use monotonic queue (stack) in the process of doing questions, especially in some difficult questions. Monotone queue 1.1 introduction to monotone queue Monotonic queue is the monotonous relati ...

Posted by chetanmadaan on Fri, 11 Feb 2022 16:47:36 +0100

[front end algorithm] the best time to buy and sell stocks, including handling charges -- greedy algorithm and dynamic programming implementation

Title DescriptionGiven an integer array prices, where the i-th element represents the stock price on the i-th day; The integer fee represents the handling fee for trading stocks.You can complete transactions indefinitely, but you need to pay a handling fee for each transaction. If you have bought a stock, you can't continue to buy it until you ...

Posted by tzzoug on Fri, 11 Feb 2022 16:41:13 +0100