All Projects → y123456yz → Reading And Annotate Quic

y123456yz / Reading And Annotate Quic

quic、prot_quic、goquic、libquic源码中文注释分析,增加C++ quic-client和quic-server example 程序,便于快速掌握学习谷歌quic库源码和学习quic协议,作为新的网络加速协议,可以根据实际需要应用于自己的工程项目中。把google quic源码和goquic合并到一个工程编译安装

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Reading And Annotate Quic

datagram
In-progress version of draft-ietf-quic-datagram
Stars: ✭ 25 (-90.81%)
Mutual labels:  quic
quic-tracker
A test suite for QUIC
Stars: ✭ 59 (-78.31%)
Mutual labels:  quic
xquic
XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Stars: ✭ 943 (+246.69%)
Mutual labels:  quic
quic vs tcp
A Survey and Benchmark of QUIC
Stars: ✭ 41 (-84.93%)
Mutual labels:  quic
doq-proxy
DNS-over-QUIC to UDP Proxy
Stars: ✭ 57 (-79.04%)
Mutual labels:  quic
ops-drafts
Applicability and Manageability Statements
Stars: ✭ 21 (-92.28%)
Mutual labels:  quic
docker-nginx-http3
Docker image for Nginx + HTTP/3 powered by Quiche
Stars: ✭ 19 (-93.01%)
Mutual labels:  quic
quic-network-simulator
ns3-based network simulator for QUIC testing
Stars: ✭ 77 (-71.69%)
Mutual labels:  quic
ss-v2ray-docker
Deprecated: please use https://hub.docker.com/r/mazy/ss-xray
Stars: ✭ 28 (-89.71%)
Mutual labels:  quic
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 8,395 (+2986.4%)
Mutual labels:  quic
moss
Reliable and Fast UDP Connections
Stars: ✭ 37 (-86.4%)
Mutual labels:  quic
flutter curl
Flutter plugin to use libcurl for HTTP calls
Stars: ✭ 42 (-84.56%)
Mutual labels:  quic
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 154 (-43.38%)
Mutual labels:  quic
quic-py
QUIC protocol implementation in python
Stars: ✭ 38 (-86.03%)
Mutual labels:  quic
go-libp2p-quic-transport
An implementation of a libp2p transport using QUIC
Stars: ✭ 102 (-62.5%)
Mutual labels:  quic
load-balancers
In-progress version of draft-ietf-quic-load-balancers
Stars: ✭ 31 (-88.6%)
Mutual labels:  quic
mocket
Reliable UDP server client for flaky networks
Stars: ✭ 21 (-92.28%)
Mutual labels:  quic
qlog
The IETF I-D documents for the qlog format
Stars: ✭ 36 (-86.76%)
Mutual labels:  quic
qperf
qperf is a performance measurement tool for QUIC similar to iperf
Stars: ✭ 31 (-88.6%)
Mutual labels:  quic
QuicPlayer
media player using QUIC protocol
Stars: ✭ 17 (-93.75%)
Mutual labels:  quic

reading-and-annotate-quic

goquic、libquic、quic_client_server_example源码注释分析

nginx高并发设计优秀思想应用于其他高并发代理中间件:

redis、nginx、memcache、twemproxy、mongodb等更多中间件,分布式系统,高性能服务端核心思想实现博客:

QQ交流群1(针对在校生)-(群号:568892619 )

群号:568892619
在校生nginx、redis、memcache、twemproxy等源码实现交流

QQ交流群2(针对已工作,有一些技术基础的同学)-(581089275)

群号: 581089275
主要针对有一定技术基础的开发人员,提升其基础组件源码技术深度(如nginx、redis、memcache、twemproxy、mongodb、存储引擎、内核网络协议栈等)

nginx高性能特性应用于其他项目,效果明显

Nginx多进程高并发、低时延、高可靠机制在缓存代理中的应用: https://github.com/y123456yz/reading-code-of-nginx-1.9.2/blob/master/%E5%80%9F%E9%89%B4nginx%E7%89%B9%E6%80%A7%E5%BA%94%E7%94%A8%E4%BA%8E%E5%85%B6%E4%BB%96%E9%A1%B9%E7%9B%AE-Nginx%E5%A4%9A%E8%BF%9B%E7%A8%8B%E9%AB%98%E5%B9%B6%E5%8F%91%E3%80%81%E4%BD%8E%E6%97%B6%E5%BB%B6%E3%80%81%E9%AB%98%E5%8F%AF%E9%9D%A0%E6%9C%BA%E5%88%B6%E5%9C%A8%E7%BC%93%E5%AD%98%E4%BB%A3%E7%90%86%E4%B8%AD%E7%9A%84%E5%BA%94%E7%94%A8.docx

nginx多进程、高性能、低时延机制应用于缓存中间件twemproxy,对twemproxy进行多进程优化改造,提升TPS,降低时延:
http://blog.itpub.net/69908606/viewspace-2565161/

一. goquic下载编译安装过程

  1. echo $GOPATH查看环境变量路径,然后进入该目录(根据自己实际情况进入相应目录)
    [[email protected] reading-and-annotate-quic]# echo $GOPATH
    /root/gopath

  2. cd /root/gopath/src/github.com
    如果没有想要目录,则创建

  3. 在github.com目录下devsisters目录
    mkdir devsisters;
    cd devsisters;

  4. 下载代码
    git clone https://github.com/y123456yz/reading-and-annotate-quic

  5. 拷贝reading-and-annotate-quic目录中的goquic文件夹到/root/redisbackup/src/github.com/devsisters/目录下面

  6. 编译 GOQUIC_BUILD=Release ./build_libs.sh
    如果编译没问题会有如下信息:
    d/stateless_rejector.o
    ar: creating libgoquic.a
    a - build/adaptor.o
    a - build/adaptor_client.o
    a - build/chlo_extractor.o
    a - build/go_ephemeral_key_source.o
    a - build/go_proof_verifier.o
    a - build/go_quic_alarm_factory.o
    a - build/go_quic_client_packet_writer.o
    a - build/go_quic_client_session.o
    a - build/go_quic_connection_helper.o
    a - build/go_quic_dispatcher.o
    a - build/go_quic_per_connection_packet_writer.o
    a - build/go_quic_server_packet_writer.o
    a - build/go_quic_simple_crypto_server_stream_helper.o
    a - build/go_quic_simple_dispatcher.o
    a - build/go_quic_simple_server_session.o
    a - build/go_quic_simple_server_session_helper.o
    a - build/go_quic_simple_server_stream.o
    a - build/go_quic_spdy_client_stream.o
    a - build/go_quic_time_wait_list_manager.o
    a - build/go_utils.o
    a - build/proof_source_goquic.o
    a - build/stateless_rejector.o
    lib/linux_amd64/ updated

  7. 测试
    [[email protected] goquic]# go build example/server.go
    [[email protected] goquic]# ./server
    [[email protected] goquic]# ./server -h
    Usage of ./server:
    -addr string
    TCP/UDP listen address (default "0.0.0.0")
    -cert string
    Certificate file (PEM), will use encrypted QUIC and SSL when provided
    -key string
    Private key file (PEM), will use encrypted QUIC and SSL when provided

二. 借助libquic库实现的客户端和服务端例子编译方法

  1. 先进入libquic-client-server-example/libquic目录,编译出libquic库
  2. 进入libquic-client-server-example/quic_client_server_example目录,编译出quic client和quic server可执行文件

三. 说明

goquic和libquic-client-server-example都依赖libquic,他们各自一份libquic的原因是: quic_client_server_example参考quic_toy源码, 它是基于libquic老版本开发的,goquic是基于libquic新版本开发。

编译出现问题参考这里

https://github.com/y123456yz/reading-and-annotate-quic/tree/master/libquic%20centos6.5%E7%BC%96%E8%AF%91%E7%8E%AF%E5%A2%83%E8%AE%BE%E7%BD%AE

文档参考

https://github.com/y123456yz/reading-and-annotate-quic/tree/master/libquic%20centos6.5%E7%BC%96%E8%AF%91%E7%8E%AF%E5%A2%83%E8%AE%BE%E7%BD%AE/%E6%96%87%E6%A1%A3%E8%B5%84%E6%96%99

nginx http2 quic学习参考:

nginx源码中文详细分析注释参考:https://github.com/y123456yz/reading-code-of-nginx-1.9.2
libquic goquic编译安装,源码分析注释:https://github.com/y123456yz/reading-and-annotate-quic
nghttp2相关参考:https://github.com/y123456yz/reading-and-annotate-nghttp2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].