Skip to content
View guonaihong's full-sized avatar
  • Shanghai,China

Block or report guonaihong

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
guonaihong/README.md

简介

if/else 工程师,个人兴趣=研究协议

开发环境

vscode + vim 模式

语言 go为主力,正在学习rust。

开源项目

协议

websocket

quickws 满足高tps场景的websocket协议库,包含客户端,服务端, 5800h cpu tps可以到47-48w/s

greatws 针对海量websocket链接特别优化,基于kqueue和epoll, 100w websocket连接,只需500-700MB内存(早期阶段)

http

httparser 高性能http 1.1解析器,为你的异步io库插上http1.1解析的翅膀, 每秒可以处理630.15MB/s流量

TODO

。。。

util包

gout restful api和 http benchmark lib

clop 命令行解析器,只要会写struct,定义tag,轻松实现gnu 风格命令行

pcurl 解析curl命令库,生成*http.Request,让你的应用瞬间秒懂curl。

timer 基于5级时间轮实现的定时器,性能可观,fast, fast, fast

pcopy 高性能深度拷贝库。相比上个版本提升4-10倍性能

brouter 高性能http router库,API风格类似httprouter,比1.3.0的httprouter快50-60%的样子,比开发版本的httprouter慢一点,大约是 92-95%的性能

Popular repositories Loading

  1. gout gout Public

    gout to become the Swiss Army Knife of the http client @^^@---> gout 是http client领域的瑞士军刀,小巧,强大,犀利。具体用法可看文档,如使用迷惑或者API用得不爽都可提issues

    Go 1.3k 114

  2. clop clop Public

    ^=^ clop是基于struct的命令行解析库,专注是它的灵魂,像AK47一样,简单,强大,专注,让命令行里面的疑难杂症统统走开[从零实现]

    Go 132 10

  3. coreutils coreutils Public

    Reimplement the gnu coreutils package with the go language. Coreutils contains many basic commands

    Go 54 8

  4. flag flag Public archive

    专为命令行爱好者设计,方便写出类似于git或者coreutils中的命令接口(ls, mv, cat),新用户建议使用https://github.com/guonaihong/clop

    Go 49 7

  5. gurl gurl Public

    Gurl is a performance testing tool. The supported protocols are http, websocket, tcp. Of course, it also supports access in non-bench mode. gurl是性能测试工具,支持的协议有http, websocket,tcp。当然也支持非bench模式下的访问

    Go 36 10

  6. wav wav Public

    目前主要功能是给pcm文件加wav头,提供的命令行工具可以把pcm转成wav

    Go 11 3