Implementing data fragmentation using SpringBoot+Mybatis+ShardingJDBC

Have a study ShardingShpere , a framework for the simplest data partition is built using SpringBoot+Mybatis+ShardingJDBC, which is documented here. ShardingJDBC is a layer of middleware between ORM framework such as Mybatis and database. Simply put, it wraps database sub-tables, read-write separation, data desensitization and other operations ...

Posted on Mon, 20 Jan 2020 23:59:43 -0500 by teongkia

Red and black trees are not as difficult as we thought

Red and black trees are not as difficult as we thought. The next two articles have been completed. I hope they can help you. Red and black trees are not as difficult as we thought (top): http://daoluan.net/blog/rbtree-is-not-difficult/ Red and black trees are not as difficult as w ...

Posted on Mon, 20 Jan 2020 21:34:38 -0500 by dfego

How Docker implements isolation

Summary Containerized technology is popular in current cloud computing, micro-services and other systems. Docker is a typical container technology. For typical container technology, it is necessary to understand it. So in this article, I will analyze how Docker achieves isolation technology. What is the difference between Docker and virtual ma ...

Posted on Mon, 20 Jan 2020 20:52:46 -0500 by eideticmnemonic

Build automation API documents based on swagger PHP and swagger UI

Download swagger UI Download wget https://gitee.com/qzeroq/swagger-ui/repository/archive/v3.25.0?format=zip Download swagger PHP download, change version requires PHP > = 7.0 wget https://gitee.com/qzeroq/swagger-php/repository/archive/3.0.1?format=zip Installation dependency [root@localhost local]# cd src/ [root@localhost src]# cd ...

Posted on Mon, 20 Jan 2020 13:11:35 -0500 by timgetback

200 lines of code for ultralightweight compiler

Preface This article is mainly composed of the-super-tiny-compiler This project implements a very simple compiler including the core components of the compiler. I hope to provide some help to the students who want to have a preliminary understanding of the compilation process. outline This article and you learn to write a super simple and ligh ...

Posted on Mon, 20 Jan 2020 12:04:17 -0500 by dlf

Kafka data source generator

1, Preparations Data source: From Alibaba cloud Tianchi public data set Or in Github download Create Topic: user "behavior $ bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic user_behavior WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_ ...

Posted on Mon, 20 Jan 2020 11:59:57 -0500 by mattison

Greedy strategy + violent recursion + dynamic planning

Greedy strategy + violent recursion + dynamic planning Gold bar cutting Maximization of project funds Meeting room occupancy Introducing recursion dynamic programming (Section 7 of Zuoshen algorithm primary class) 1. Gold cutting [question] it costs the same amount of copper to cut a gold bar in h ...

Posted on Mon, 20 Jan 2020 11:45:29 -0500 by loudrake

Rollover! Spring Boot 2.2.3 is not compatible with Spring Cloud Hoxton.SR1

Problem description Spring Boot 2.2.3 fixes a lot of problems in Spring Boot 2.2. After upgrading to 2.2.3, the direct rollover pigx gateway gateway application can not be started directly. Rollover log *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a method that do ...

Posted on Mon, 20 Jan 2020 11:26:45 -0500 by casty

Talk about artemis' ActiveMQ metrics plugin

order This paper mainly studies active MQ metrics plugin of artemis ActiveMQMetricsPlugin activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/metrics/ActiveMQMetricsPlugin.java public interface ActiveMQMetricsPlugin extends Serializable { ActiveMQMetricsPlugin init(Map<String, String> options); ...

Posted on Mon, 20 Jan 2020 10:25:50 -0500 by zako234

WeChat public number develops webpage authorization

I. Preface WeChat public number development (1) WeChat access certification as developer WeChat public number development (2) message processing WeChat public number development (3) menu processing This article will implement Webpage authorization Get basic user information Web authorization process Fill in the webpage authorization callb ...

Posted on Mon, 20 Jan 2020 06:10:35 -0500 by Nulletz