Summary of distributed DBLE partition algorithm series

Original: Guan Changlong   We have introduced six common segmentation algorithms of DBLE and MyCat through the previous six articles, so let's make a summary! DBLE and MyCat corresponding algorithm name and similarities and differences The seventh DBLE fragmentation algorithm jumpStringHash In addition to the above six common sharding ...

Posted by troublemaker on Wed, 30 Oct 2019 21:34:50 -0700

The use of Druid in Spring and Spring Book projects

What is it? One kind of database connection pool, manages and releases the connection of database, realizes the reuse of connection, and can compare thread pool. Parameter configuration What can we do? 1, Connection Pool 2, Monitoring 3, Encryption 4, Extending JDBC How do you use it? Adding ...

Posted by LightningSt on Wed, 02 Oct 2019 09:51:18 -0700

MYSQL Asynchronous Replication

Replication, replication is a highly available foundation, and the underlying layers of middleware such as MHA, mycat all rely on replication principles Master master master instance slave Slave slave Classification: default asynchronous replication, semi-synchronous replication after version 5.5, new GTID replication at version 5.6, multi-sour ...

Posted by Gast on Wed, 14 Aug 2019 22:04:55 -0700

MaCat: Subdatabase and subtable MySQL database

The premise of this article is: mycat is configured correctly and starts normally. 1,schema.xml <table>label: DataNode -- Slice node specifies (value: name attribute value in dataNode) Rule ------- Fragmentation rule selection (value: name attribute value in rule tag) [root@dras-test conf]# vim schema.xml 1 <?xml version ...

Posted by revjoe on Sun, 07 Jul 2019 10:18:58 -0700

Implementing Principle of SQL ON MongoDB

(iv) Focus on Wechat Public Number: [Taro Back-end Cabin] Welfare: RocketMQ/MyCAT/Sharing-JDBC All Source Analysis Articles List RocketMQ/MyCAT/Sharing-JDBC Chinese Annotation Source GitHub Address Every message you leave about the source code will be answered carefully. Even if you don't know how to read the source code, you can ask. New so ...

Posted by MrAlaska on Tue, 11 Jun 2019 12:25:20 -0700

Deep understanding of JavaScript inheritance features and best practices

Inheritance is the pattern of code reuse. JavaScript can simulate class-based patterns and support other more expressive patterns. But keeping it simple is usually the best strategy. JavaScript is a prototype-based language, that is, it can inherit other objects directly. 1 pseudo class The prototype of JavaScript is not to inherit objects dire ...

Posted by misty on Thu, 23 May 2019 13:32:59 -0700

Registry Eureka Source Parsing: Application Example Registration Discovery (5)

ABSTRACT: Origin http://www.iocoder.cn/Eureka/instance-registry-evict/ "Taro Source Code" Welcome to reprint, keep the abstract, thank you! This paper is mainly based on Eureka 1.8.X version. 1. overview 2. Why do we need to expire? 3. EvictionTask 4. Outdated Logic 666. eggs (iv) Concern ** Wechat Public Number: [Taro Source Cod ...

Posted by MickeyAsh on Tue, 14 May 2019 08:23:34 -0700

Mysql master-slave duplication, read-write separation middleware-mycat

From: http://blog.csdn.net/u011325787/article/details/51423424 mycat is a distribution invented by a popular Chinese recently data base Middleware, which is developed on the basis of Ali's cobar We need to configure it before we build it. MySQL Master-slave duplication, this process is very long, I do not write here, interested can see this ...

Posted by ShawnD on Sun, 21 Apr 2019 23:03:35 -0700