摘要: 原文转自:https://medium.com/@tjsw/%E6%BD%AE-c-11-perfect-forwarding-%E5%AE%8C%E7%BE%8E%E8%BD%89%E7%99%BC%E4%BD%A0%E7%9A%84%E9%9C%80%E6%B1%82-%E6%B7%B1%E5% 阅读全文
posted @ 2020-04-13 00:18 dk_tuke 阅读(160) 评论(0) 推荐(0) 编辑
摘要: From官方文档:https://kafka.apache.org/documentation/#majordesignelements 4. DESIGN 4.1 Motivation We designed Kafka to be able to act as a unified platfor 阅读全文
posted @ 2020-01-02 15:18 dk_tuke 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 原文转至:https://www.thegeekdiary.com/beginners-guide-to-yum-configuration/ All software on a Linux system is divided into packages that can be installed, 阅读全文
posted @ 2019-10-16 13:47 dk_tuke 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 1. valgrind跟踪子进程 以下例子用spawn-cgi来测试验证,spawn-cgi会生成一个cgi子进程--trace-children=yes:valgrind加上该参数用于跟踪子进程 valgrind --leak-check=full --trace-children=yes --t 阅读全文
posted @ 2019-10-10 22:18 dk_tuke 阅读(987) 评论(0) 推荐(0) 编辑
摘要: 1. 介绍 由于CGI解释器的反复加载会使CGI性能低下,FastCGI可以将CGI解释器保持在内存中, 提高性能相关地址:https://fastcgi-archives.github.io 2. Fastcgi特点: 性能 简单,容易移植 语言无关 进程隔离 通用性,主流WebServer都支持 阅读全文
posted @ 2019-10-10 22:15 dk_tuke 阅读(704) 评论(0) 推荐(0) 编辑
摘要: Redis集群->拓扑结构 Redis 集群是一个网状结构,无中心结构,每个节点都通过 TCP 连接跟其他每个节点连接。在一个有 N 个节点的集群中,每个节点都有 N-1 个流出的 TCP 连接,和 N-1 个流入的连接。 这些 TCP 连接会永久保持,并不是按需创建的。节点们使用一个 gossip 阅读全文
posted @ 2019-10-10 22:06 dk_tuke 阅读(814) 评论(1) 推荐(0) 编辑
摘要: 原文转至:https://dzone.com/articles/what-servlet-container In this post, I write a little bit about the basic ideas of web server, Servlet container and i 阅读全文
posted @ 2019-09-27 09:53 dk_tuke 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1.格式化组件 - fmt github:https://github.com/fmtlib/fmt Motivation: So why yet another formatting library? There are plenty of methods for doing this task, 阅读全文
posted @ 2019-09-25 20:34 dk_tuke 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 原文转至:https://docs.google.com/document/d/1Lr9UYXEz6s6R_3PWg3bZQLF3upGaNEkc0rQCFSzaYDI/edit# Asynchronous I/O Design and Implementation Motivation I/O a 阅读全文
posted @ 2019-09-25 19:44 dk_tuke 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 原文转至:http://goog-perftools.sourceforge.net/doc/tcmalloc.html TCMalloc : Thread-Caching Malloc Motivation TCMalloc is faster than the glibc 2.3 malloc 阅读全文
posted @ 2019-09-25 14:31 dk_tuke 阅读(291) 评论(0) 推荐(0) 编辑