Openresty case explanation

preface We all know that nginx has many features and benefits, but it has become a difficult problem to develop on nginx. Nginx modules need to be developed in C and must comply with a series of complex rules. The most important module developed in C must be familiar with the source code of nginx, which makes developers afraid of it. For the ...

Posted by Bauer418 on Fri, 03 Dec 2021 13:26:34 -0800

cfadmin - write high-performance server and client instances

Reading this article requires readers to have at least a basic knowledge of C/C + + network programming and how to use the basic Socket API At the same time, readers should have at least used cfadmin framework and be proficient in using built-in library to complete simple business logic writing Students interested in this article can also Off ...

Posted by hash1 on Fri, 12 Nov 2021 20:29:31 -0800

Analysis of Redis Technology Series: Redission's implementation of distributed locks

Introduction to redistribution Redission is a distributed solution for Redis official website Official website: Redisson: Redis Java client with features of In-Memory Data Grid Quick start: https://github.com/redisson/redisson#quick-start github's redistribution series: https://github.com/orgs/redisson/repositories Function di ...

Posted by spenceddd on Wed, 03 Nov 2021 00:32:18 -0700

Analysis and practice of sysbench principle

Sysbench is a popular testing tool. It is mainly used to test the performance of fileio, cpu, memory, threads, mutex, etc., but the most important thing is to test the performance of databases. It is often used to test MySQL, Drizzle, AttachSQL, Oracle, PostgreSQL and other related databases. It can also be extended to support other databases a ...

Posted by Chris Mayo on Wed, 13 Oct 2021 06:31:59 -0700

Lua Upper Half Road

Lua Lua is a lightweight, compact scripting language written in standard C and open to source code. It is designed to be embedded in applications to provide flexible extension and customization capabilities for applications. Features of Lua Lightweight: Written in standard C and open to source code, compiled at just over 100 K and easily ...

Posted by hoogeebear on Tue, 07 Sep 2021 09:25:26 -0700

Redis zset for sliding window current limiting

This article is included in the column ❤️<Redis Factory Essential Skills Pack❤️ Thousands of people praise the collection, the complete set of Redis learning materials, the essential skills of the factory!  Catalog 1. Demand 2. Common design errors 3. Sliding window algorithm 3.1 Solution 3.2 pipeline code implementation 3.3 l ...

Posted by pinochio on Mon, 06 Sep 2021 11:14:20 -0700