yinqiwen 最近的时间轴更新
yinqiwen's repos on GitHub
C++ · 1830 人关注
ardb
A redis protocol compatible nosql, it support multiple storage engines as backend like Google's LevelDB, Facebook's RocksDB, OpenLDAP's LMDB, PerconaFT, WiredTiger, ForestDB.
Go · 560 人关注
gsnova
Private proxy solution & network troubleshooting tool.
Go · 503 人关注
gscan
C · 210 人关注
geohash-int
A fast C99 geohash library which only provide int64 as hash result.
Java · 15 人关注
httpdns
A simple DNS query servive over http.
Go · 12 人关注
godns
A simple Go DNS client implementation with some new features.(Cache, Specifiable Server,...)
C · 8 人关注
arch
High performance networking C/C++ framework
Java · 8 人关注
httpclient
An async HTTP client build on netty3, which inspired from Go's http package.
C++ · 7 人关注
cn2py
C++ lib for chinese word to pinyin
C++ · 6 人关注
kcfg
A simple c++ json class/struct mapping head-only library.
C++ · 5 人关注
coroxx
C++ coroutine library
Go · 4 人关注
gotoolkit
C++ · 3 人关注
comms
High Performance Persistent Cache on memory mapping file.
Cuda · 3 人关注
lmsf
C++ · 1 人关注
didagle
C++ · 1 人关注
httpbench
A small program to benchmark HTTP servers, which is built on 'arch' framework.
C++ · 0 人关注
bfc
Blazing Fast Cache(Mem&Disk)
C++ · 0 人关注
braft
An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.
Rust · 0 人关注
candle
Minimalist ML framework for Rust
Java · 0 人关注
disruptor
High Performance Inter-Thread Messaging Library
Java · 0 人关注
elasticsearch-aboost
elasticsearch score boost plugin
C++ · 0 人关注
FasterTransformer
Transformer related optimization, including BERT, GPT
Go · 0 人关注
fdns
Go · 0 人关注
go-didagle
Java · 0 人关注
hyk-jsipunit
Automatically exported from code.google.com/p/hyk-jsipunit
Java · 0 人关注
hyk-proxy
Automatically exported from code.google.com/p/hyk-proxy
Java · 0 人关注
hyk-rpc
Automatically exported from code.google.com/p/hyk-rpc
0 人关注
incubator-brpc
Industrial-grade RPC framework used throughout Baidu, with 1,000,000+ instances and thousands kinds of services, called "baidu-rpc" inside Baidu.
Go · 0 人关注
misc
yinqiwen

yinqiwen

yinqiwen
V2EX 第 22750 号会员,加入于 2012-06-28 10:50:11 +08:00
Programmer
yinqiwen 最近回复了
2022-07-11 11:45:14 +08:00
回复了 yinqiwen 创建的主题 分享创造 C++20(coroutine) 写了个 proxy 工具
@nmap 阻塞同步调用不行, 只能是非阻塞异步的;
2022-07-11 10:47:24 +08:00
回复了 yinqiwen 创建的主题 分享创造 C++20(coroutine) 写了个 proxy 工具
@nmap coroutine 和网络库没啥直接关系,只是一种运行机制;理论上你可以把任何异步调用封装成 coroutine 调用, 这方面可以参考 folly 的实现: https://github.com/facebook/folly/tree/main/folly/experimental/coro
2022-07-09 16:43:17 +08:00
回复了 yinqiwen 创建的主题 分享创造 C++20(coroutine) 写了个 proxy 工具
linux 上用的是编译时指定下载 musl 工具链( https://more.musl.cc/11/x86_64-linux-musl/),可以随时升级, 而不是系统自带的 gcc ;
3.0 后可以在写入时 WAIT
http://redis.io/commands/wait
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1096 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 18:53 · PVG 02:53 · LAX 10:53 · JFK 13:53
Developed with CodeLauncher
♥ Do have faith in what you're doing.