Sub database and sub table: row expression

Realization motivation The simplification and integration of configuration are the two main problems that line expressions want to solve. In the cumbersome data fragmentation rule configuration, with the increase of data nodes, a large number of repeated configurations make the configuration itself difficult to maintain. The line expression c ...

Posted by Griff1324 on Thu, 17 Feb 2022 10:39:38 +0100

Advance Python 07: metaclass programming

Introduce Property dynamic propertygetattr,__ getattribute__ Magic functionAttribute descriptor and attribute lookup processThe difference between new and initCustom metaclassImplement ORM through metaclass 1, Property dynamic property from datetime import date class User: def __init__(self, name, birthday): self.name = name ...

Posted by mraza on Tue, 08 Feb 2022 19:11:31 +0100

Tencent business million data 6s response, the story behind APIJSON performance optimization

A big event has happened recently. APIJSON doesn't have to worry about being questioned any more. Ha ha! On a Wednesday, a project team of Tencent CSIG (which has completed phase I with APIJSON) suddenly fed back the sharp decline in the performance of querying a large amount of data: For a 2.3KW record in a table, use APIJSON universal ...

Posted by awiedman on Wed, 22 Dec 2021 05:11:46 +0100

Node.js SQL database operation (ORM framework, serialize module and case display)

ORM framework ORM Object Relational Mapping (Object Relational Mapping) is a technology to solve the mismatch between object-oriented and relational databases. Through the metadata describing the mapping between objects and databases, the objects in the program are automatically persisted to the relational database. Its function is to m ...

Posted by zoreli on Mon, 20 Dec 2021 03:10:43 +0100

Rust simplified version of MybatisPlus - let you switch from Java to rust in one day

In short, it has been almost a year since the real start of project development with Rust, and they are becoming more and more popular with Rust; In this process, I stepped on many pits, and had to make up a lot of abandoned knowledge due to Rust's metamorphosis; Of course, I have a deeper understanding of computers, and my hair naturally becom ...

Posted by pacholo on Sun, 19 Dec 2021 22:43:12 +0100