2024年3月18日

一文看懂ceph-rgw zipper的设计理念(2)

摘要: 本文简介 书接上文。本文以CreateBucket为例进行详细讲述设计理念以及接口变化趋势。 1、接收请求和协议处理请求 rgw_asio_frontend.cc 主要功能:回调函数注册和请求处理 void handle_connection(boost::asio::io_context& con 阅读全文

posted @ 2024-03-18 15:25 陶大先生 阅读(10) 评论(0) 推荐(0) 编辑

一文看懂ceph-rgw zipper的设计理念(1)

摘要: 0.前言 RGW在ceph存储中的主要作用是提供S3和Swift的协议访问支持。Zipper工作主要是将RGW分为协议部分和后端部分。协议部分还是支持S3和Swift协议,包括身份认证、协议参数解析和op操作解析等等;后端部分主要是对接不同的存储,比如rados(zipper中变换为RadosSto 阅读全文

posted @ 2024-03-18 14:55 陶大先生 阅读(3) 评论(0) 推荐(0) 编辑

2021年1月26日

第四章:基于TCP套接字编程(三)

摘要: fork and exec and wait 1.fork and wait函数 1 #include <sys/types.h> 2 #include <sys/wait.h> 3 #include <stdlib.h> 4 #include <unistd.h> 5 #include <stdi 阅读全文

posted @ 2021-01-26 20:31 陶大先生 阅读(74) 评论(0) 推荐(0) 编辑

第四章:基于TCP套接字编程(二)

摘要: fork函数 1.fork的简单例子 1 #include <stdio.h> 2 #include <unistd.h> 3 #include <sys/wait.h> 4 5 int main() { 6 printf("hello world\n"); 7 int rc = fork(); 8 阅读全文

posted @ 2021-01-26 20:12 陶大先生 阅读(62) 评论(0) 推荐(0) 编辑

2020年12月23日

第四章:基于TCP套接字编程(一)

摘要: 0.一个时间获取的服务端程序 1 #include "unp.h" 2 #include <time.h> 3 4 int main(int argc, char **argv) 5 { 6 int listenfd, connfd; 7 struct sockaddr_in servaddr; 8 阅读全文

posted @ 2020-12-23 19:04 陶大先生 阅读(184) 评论(0) 推荐(0) 编辑

2019年10月25日

ceph学习--学习网址

摘要: ceph radosgw gc ceph rgw lc工作流程 ceph 元数据搜索 ceph多站点同步 玩转ceph性能测试 腾讯云存储团队 https://my.oschina.net/linuxhunter Radosgw 架构 Ceph对象存储方案 Ceph RGW中各Pool的作用 Rad 阅读全文

posted @ 2019-10-25 15:52 陶大先生 阅读(472) 评论(0) 推荐(0) 编辑

2019年10月22日

Linux中测试端口的几个命令

摘要: https://blog.csdn.net/z1134145881/article/details/54706711 1.telnet 2.wget 3.ssh 4. 阅读全文

posted @ 2019-10-22 19:28 陶大先生 阅读(5704) 评论(0) 推荐(0) 编辑

2019年8月13日

C++随手记——map.emplace and insert

摘要: 1.map.emplace() Inserts a new element in the map if its key is unique. This new element is constructed in place using args as the arguments for the co 阅读全文

posted @ 2019-08-13 15:35 陶大先生 阅读(4492) 评论(0) 推荐(0) 编辑

2019年7月12日

c++随手记——嵌套类

摘要: 类中定义一个类的用法就称之为嵌套类。类之间的相互访问用友元函数来声明。 作用……没有体会到有什么用。 值得注意的是: 1.嵌套类也分public和private,外界的访问需要注意是public和private,否则不能随意访问。 2.嵌套类之后,size还是1. 实例代码如下: 参考博客: htt 阅读全文

posted @ 2019-07-12 11:06 陶大先生 阅读(204) 评论(0) 推荐(0) 编辑

2019年6月27日

ceph社区博客学习(一)

摘要: How Data Is Stored In CEPH Cluster 本文翻译自 "How Data Is Stored In CEPH Cluster" 数据究竟是如何在Ceph Cluster中存储的? Now showing a easy to understand ceph data sto 阅读全文

posted @ 2019-06-27 19:57 陶大先生 阅读(930) 评论(0) 推荐(0) 编辑

导航