timer
High-performance timer implementation based on 5-level time wheel. 高性能定时器(5级时间轮,最小堆)[从零实现]
- 281
- Go
- MIT
- 24 mo ago
antlabs
高性能lib库和分布式解决方案
Built from antlabs's public GitHub profile. Not on Take My Repo yet, so there are no posts or updates here.
High-performance timer implementation based on 5-level time wheel. 高性能定时器(5级时间轮,最小堆)[从零实现]
Calculate string similarity library, integrate multiple algorithms on the back end。计算字符串相似度库,后端集成多种算法[从零实现]
高性能websocket库, Callback写法,在高频cpu上有不俗表现 https://github.com/antlabs/quickws-example
fio=fast io, 支持多协议。100w websocket连接仅需500-700MB内存,针对海量连接特别优化的websocket库(kqueue, epoll),高性能,callback写法,在服务器cpu上有不俗表现 https://github.com/antlabs/greatws-example
快写完了....支持泛型的数据结构库(vec, linkedlist, skiplist, hashtable, btree, avltree, rbtree, trie, set
Generate struct definition according to json/yaml/query string/http header string @^^@ 根据json/yaml/query string/http header字符串生成struct[从零实现]
脚手架工具,统一的dsl,方便生成一些代码(1. 配置生成http client/server代码 2. 从json/yaml生成结构体定义 3. 生成grpc protobuf)
高性能http router库,API风格类似httprouter,比1.3.0的httprouter快50-60%的样子,比开发版本的httprouter慢一点,大约是 92-95%的性能。[从零实现]