Swoole Partnership Tour

Author: Han Tianfeng's original address: Click to view What is the consortium? The first published explanation of the coroutine appeared later, in 1963. The concept of the coroutine is longer than that of the c language. The term coroutine is coined by Melvin Conway in 1958, after which it is applied to construction of an assembly program. The ...

Added by rane500 on Mon, 14 Oct 2019 08:10:55 +0300

Implementation of API Gateway Based on zuul

1. The difference between Nginx and Zuul Similarities: Zuul and Nginx can achieve load balancing, reverse proxy (hiding real ip address), filter requests, and achieve the effect of gateway. Differences: Nginx-c Language Development Zuul--java Language Development Zuul Load Balancing: Local Load Balancing Using ribbon+eureka Nginx Load Bala ...

Added by kevinsequeira on Mon, 14 Oct 2019 00:05:24 +0300

Time-consuming analysis of linux write function

Background: When an embedded device writes an SD card, it occasionally calls write card, linux-3.4.y. II. linux Kernel io Process 1. The application calls write, falls into the kernel and executes the vfs_write function, writing data to the page cache (each cache page contains several buffers). Before writing, we need to check (1) whether the ...

Added by TreColl on Sun, 06 Oct 2019 03:24:27 +0300

RT-Thread of IOT-OS--Inter-thread Synchronization and Inter-thread Communication

Previous blogs Synchronization and Communication between UCOS Tasks This paper introduces the synchronization mechanism between tasks, such as semaphores, mutexes, message mailbox and message queue, and the realization principle of communication mechanism between tasks. This paper mainly looks at the r ...

Added by geoffism on Sat, 21 Sep 2019 17:19:20 +0300

Lifecycle of redis command execution

baiyan Introduce First, let's look at a very familiar redis command execution diagram:Think about it then, when we connect to the redis server, enter and execute a redis command, such as set key1 value1.How on earth was this command sent to the redis server, and how did the redis server parse, process, and return to its successful execution? Cl ...

Added by luuno on Sun, 15 Sep 2019 10:15:30 +0300

C++ Getting Started

The initial learning of C++ includes the following aspects 1.C++ keywords We know that there are 32 keywords in C and 63 in c++.They are 2. Namespaces Why is there a namespace and what does it do?In a large project, there are many variables and functions to be defined. If these variables and functions are defined in the global scope, they may ...

Added by prestonwinfrey on Sun, 15 Sep 2019 06:39:26 +0300

To Beginners: HDU 2000~2013 Solutions

For students who start learning C language programming or C++ process-oriented programming, it is good to use online OJ website for practice training to improve their programming ability.There are many OJ websites at home and abroad. It is unrealistic and unnecessary to go and see each one and brush a topic.Even with an OJ website, it's difficu ...

Added by Design on Sun, 15 Sep 2019 04:43:31 +0300

iOS Core Drawing

Links to the original text: https://my.oschina.net/zyboy/blog/617426 1.Quartz 2D(Core Graphics) A set of graphics engines written by Apple in C language (a set of graphics APIs tha ...

Added by j152 on Mon, 09 Sep 2019 18:07:48 +0300

c regular expression

c regular expression Reference course: https://github.com/ziishaned/learn-regex/blob/master/translations/README-cn.md There are three main functions in linux for regular expressions #include <sys/types.h> #include <regex.h> //Generation rules int regcomp(regex_t *preg, const char *regex, int cflags); //Target string to match int r ...

Added by Hebbs on Mon, 09 Sep 2019 14:12:23 +0300

[uboot] (Chapter 3) uboot process - uboot-spl code process

Links to the original text: https://blog.csdn.net/ooonebook/article/details/52957395 ...

Added by Mistat2000 on Tue, 27 Aug 2019 09:20:01 +0300