1.ngx_http_complex_value函数的机制和原理?

ngx_http_complex_value_t的数据结构如下:

typedef struct {
    ngx_str_t                   value;
    ngx_uint_t                 *flushes;
    void                       *lengths;
    void                       *values;
} ngx_http_complex_value_t;

2.ngx限速模块$binary_remote_addr有什么作用?

$binary_remote_addr变量的长度是固定的4字节

3.ngx_crc32_short 如何解决Hash冲突

4.ngx_shmtx_lock nginx这个函数的加锁机制

5.了解红黑树的机制原理优点和缺点

results matching ""

    No results matching ""