负载均衡

In computing, load balancing is the process of distributing a set of tasks over a set of resources computing units, with the aim of making their overall processing more effic

2024-06-02 · 8 min · 1582 words · Garlic Space

VLAN

A virtual local area network VLAN is any broadcast domain that is partitioned and isolated in a computer network at the data link layer OSI layer 2.23 In this conte

2024-05-05 · 29 min · 6169 words · Garlic Space

C语言宏参数转换为字符串

用宏定义来定义一个SQL语句, 用来指定字段的长度。那就拼接一下

2024-04-25 · 2 min · 259 words · Garlic Space

conflicts with file from package kernel-debuginfo

dnf upgrade-minimal –security

2024-04-13 · 1 min · 94 words · Garlic Space

curl support TLCP using TASSL

传输层密码协议TLCP 对应 TLS协议, 在GB/T 38636-2020规范中定义。支持国密sm2, sm3, sm4密钥套件。增加加密证书, 6.4.5.3章节中提到 选择ECC, ECDHE算法,密钥交换算法使用用加密证书公钥。

2024-02-16 · 1 min · 65 words · Garlic Space

io_uring echo-server

io_uring是Linux特有的异步I/O API。io_uring的名称来自用户空间和内核空间之间共享的环形缓冲区。在内核和用户空间之间进行通信使用环形缓冲区作为主要的通信模式。这种思想在业务系统中还是挺常见的: 比如用MQ、Kafka消息队列推送信息。一个接收队列, 一个发送队列,另外设计上也有Actor模型的影子, 应用和kernel, 分别是两

2024-01-07 · 11 min · 2176 words · Garlic Space

LeetCode-longest-peak

Given an array arr with N elements, the task is to find out the longest sub-array which has the shape of a mountain

2023-11-26 · 2 min · 345 words · Garlic Space

systemctl 启动服务缓慢

使用systemd配置服务启动慢

2023-10-21 · 2 min · 333 words · Garlic Space

linux sendfile

使用c语言实现一下文件复制功能:

2023-09-16 · 27 min · 5744 words · Garlic Space

linux 生成指定大小文件

linux生成指定大小文件常用的几个命令: fallocate truncate dd head tail fallocate...

2023-08-19 · 1 min · 205 words · Garlic Space