摘要:1、前言 昨天总结了一下Linux下网络编程“惊群”现象,给出Nginx处理惊群的方法,使用互斥锁。为例发挥多核的优势,目前常见的网络编程模型就是多进程或多线程,根据accpet的位置,分为如下场景: (1)单进程或线程创建socket,并进行listen和accept,接收到连接后创建进程和线程处
阅读全文
摘要:https://gitlab.informatik.uni-halle.de/acwuz/proto-quic-honeypot/-/tree/b25a794403c61acbf86e1e6b9e0629f0fc3c1959/src/net/quic/quartc // Copyright (c)
阅读全文
摘要:QuicWrite (gdb) bt #0 posix_quic::QuicStreamEntry::Writev (this=this@entry=0x84cee0, iov=iov@entry=0xffffffff8fe8, iov_count=iov_count@entry=1, fin=fi
阅读全文
摘要:gdb) bt #0 posix_quic::Event::Trigger (event=4, this=0x839080) at /root/posix_quic/src/event.cpp:55 #1 posix_quic::Event::SetWritable (this=this@entry
阅读全文
摘要:root@ubuntu:~/reading-and-annotate-quic/libquic-client-server-example/libquic/build# cmake .. CMake Error: The current CMakeCache.txt directory /root/
阅读全文
摘要:enum QuicFrameType { PADDING_FRAME = 0, RST_STREAM_FRAME = 1, CONNECTION_CLOSE_FRAME = 2, GOAWAY_FRAME = 3, WINDOW_UPDATE_FRAME = 4, BLOCKED_FRAME = 5
阅读全文
摘要:QUIC实现代码分析 文件介绍 quic_connection类文件主要编写QuicConnection类,该类是quic服务端和客户端的处理框架,它提供SendStreamData方法用来发送流数据,被QuicSession调用。 它使用QuicPacketGenerator来创建Quic帧。 而
阅读全文
摘要:转载 How to Write a QUIC Endpoint Program 要编写使用QUIC的应用程序,需要创建一些新类以及继承一些QUIC类。 本文档通过QUIC的 客户端和服务器程序作为示例,介绍如何在自己的应用程序中使用QUIC。 使用的proto-quic版本为:Updating to
阅读全文
摘要:To write an application that uses QUIC, you will have to subclass some of the QUIC classes as well as creating some new classes. This document tries t
阅读全文
摘要:root@ubuntu:~# git clone https://github.com/ainvyu/vcxproj2cmake.git Cloning into 'vcxproj2cmake'... remote: Enumerating objects: 37, done. remote: To
阅读全文
摘要:root@ubuntu:~/posix_quic# g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper Target: aarch6
阅读全文
摘要:按下 F12 进入浏览器调试信息界面; 选取 Network->Protocol,
阅读全文
摘要:QUIC协议是一系列协议的集合,主要包括: 传输协议(Transport) 丢包检测与拥塞控制(Recovery) 安全传输协议(TLS) HTTP3协议 HTTP头部压缩协议(QPACK) 负载均衡协议(Load Balance)。 本文针对QUIC的系列协议进行科普性简单介绍,细节读者仍然需要通
阅读全文
摘要:https://reposhub.com/rust/network-programming/cloudflare-quiche.html Building # 準備 $ apt-get install cmake $ curl https://sh.rustup.rs -sSf | sh # 適宜P
阅读全文
摘要:QUIC requires to not have IP fragmentation. By looking at the source code, it seems that QUIC assumes a maximum of 1392: Ether=14 IPv4=20 UDP=8 QUIC=1
阅读全文
摘要:Quick UDP Internet Connection (QUIC) is a network protocol initially developed and deployed by Google, and now being standardized in the Internet Engi
阅读全文
摘要:Build quiche and BoringSSL: % git clone --recursive https://github.com/cloudflare/quiche % cd quiche % cargo build --release --features ffi,pkg-config
阅读全文
摘要:Chrome浏览器启用quic 1.启用quic: chrome://flags/#enable-quic 2.检查quic: chrome://net-internals/#quic 安装 http2-and-spdy-indicator 浏览器插件 Google has support for
阅读全文
摘要:Peer A Server-Reflexive + + Transport Address | | 192.0.2.150:32102 | | | /| | TURN | / ^| Peer A | Client’s Server | / || | Host Transport Transport
阅读全文
摘要:root@ubuntu:~/nginx-1.16.1# ps -elf | grep nginx 1 S root 2739 1 0 80 0 - 2265 sigsus 20:09 ? 00:00:00 nginx: master process ./objs/nginx -c conf/ngin
阅读全文