profile
viewpoint
Hchen Hchenn @bytedance Beijing, China Never forget why you started

cloudwego/netpoll 2097

A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.

bytedance/gopkg 415

Universal Utilities for Go

Hchenn/hbase 3

Simple Hbase ORM based on row key

Hchenn/gopkg 1

Universal Utilities for Go

Hchenn/kitex 0

A high-performance and strong-extensibility Golang RPC framework that helps developers build microservices.

Hchenn/netpoll 0

A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.

Hchenn/rpcx-benchmark 0

test popular rpc benchmarks at same throughputs with share clients

Hchenn/thrift 0

Apache Thrift

push eventcloudwego/netpoll

Hchen

commit sha 4ddfcbccce4cd9eadd0b0e5de498d51815cd82a2

docs: update doc/guide (#35) * doc: update README * doc: add guide cn/en * ci: remove check branch * doc: mv multisyscall to future

view details

Joway

commit sha 026237e08fd5d13f022647754532b83d36df0fb9

feat: blocking conn flush API (#9)

view details

Joway

commit sha 276559f5112234678caf875942bc5308d75e8308

feat: rm reading lock (#19)

view details

Hchen

commit sha e188cf161377c25415f65eeeb6f515fc367894d0

feat: add API to DisableGopool (#28)

view details

Hchen

commit sha eb71b1f3fe4a8a096924d5a1d8f5a8f0c8a6e9c0

feat: redefine EventLoop.Serve arg: `Listener` -> `net.Listener` (#29) * feat: redefine EventLoop.Serve arg: Listener -> net.Listener * chore: add API ConvertListener

view details

Joway

commit sha a0c71452d91183ae42fb43ee2eebb2e6a6e5e18c

feat: change default number of loops policy (#31)

view details

Joway

commit sha 337b6461e096e642277eebd6e16630e3542418c6

feat: return real error for nocopy rw (#34) * feat: return real error for nocopy rw * chore: add eof test

view details

Joway

commit sha f343971bba5fe829e1097921f98bf0617768f4fd

feat: read && write in a single loop (#38)

view details

Joway

commit sha 8224c3e8bfb163d8e2b0fa5c731856ce5973d524

feat: support TCP_NODELAY (#39) * feat: support TCP_NODELAY * feat: default tcp_nodelay = true * feat: hide intertal interface * chore: fix tests

view details

Joway

commit sha 3304c59ced90fdf1984e0895b1531f9d35938c50

fix: set leftover wait read size (#41)

view details

Yongyue Sun

commit sha 33dd2124adc76a5a0a071a629ad2f6c03eb3d3e9

reduce idle wake-ups no need to trigger original goroutine if data was not enough.

view details

Hchen

commit sha 8691f5d85871051b8a49425dfe9473ad539a853f

feat: add mux SharedQueue

view details

Hchen

commit sha f179d35cf2d54271b7b1fe9e3384a7581a38a79f

Merge pull request #50 from cloudwego/feat/shared_queue feat: add mux SharedQueue

view details

Hchen

commit sha 9cd80f633acdac6d1e669175a9bf5cdfac6eaf5e

doc: fix guide code demo

view details

Hchen

commit sha 6b6a7bdc579ec07ed07439535054c7226c4c1a7f

Merge pull request #53 from Hchenn/fix/doc_guide doc: fix guide code demo

view details

Joway

commit sha 0fe1e8a0ac621e8b34e2819f5e0ca017f6618f35

fix: ensure loop object will not be finalized before serve return (#54)

view details

Guangming Luo

commit sha 9f50fccb0a3681a4d536e4f51dd304039634f77f

Update issue templates

view details

Guangming Luo

commit sha 5bbdedffcdefb0b2c53a301368ce0dfd32cec51d

Merge pull request #56 from cloudwego/issue-template Update issue templates

view details

Joway

commit sha c70742286189503a8915117727127eddac12c51e

feat: unify and simplify conn locks (#45)

view details

liusong

commit sha b47302bdad3e64c097c9d98fe64d69a8ebfd0b73

Change rand.Intn to fastrand.Intn

view details

push time in 16 hours

push eventHchenn/kitex

halst

commit sha 999ec12195185b9229e8378dc7cc5fdb55f0523b

chore(klog):use klog as global log in some logs (#230)

view details

Guangming Luo

commit sha c78ad07bc98a63af489b0f79cdac344449f342a7

Fix link in readme_zh (#236)

view details

Joway

commit sha c4983e9a5a915773c02a3063afaa2825349e2942

feat: disable rpc timeout by default (#239)

view details

Hchen

commit sha fde6c5793e51a130c201aa44b4756dfb2c3840f7

feat: adapt netpoll.Writer.Append API (#241)

view details

Hchen

commit sha 720d7a15276b1f1a8393415d1d5d0fbba30dcf46

feat: replace netpollmux.SharedQueue to netpoll/mux.ShardQueue

view details

push time in 16 hours

push eventHchenn/kitex

Hchen

commit sha fde6c5793e51a130c201aa44b4756dfb2c3840f7

feat: adapt netpoll.Writer.Append API (#241)

view details

push time in 16 hours

push eventcloudwego/kitex

Hchen

commit sha fde6c5793e51a130c201aa44b4756dfb2c3840f7

feat: adapt netpoll.Writer.Append API (#241)

view details

push time in 16 hours

PR merged cloudwego/kitex

feat: adapt netpoll.Writer.Append API
+20 -18

1 comment

12 changed files

Hchenn

pr closed time in 16 hours

push eventHchenn/kitex

halst

commit sha 999ec12195185b9229e8378dc7cc5fdb55f0523b

chore(klog):use klog as global log in some logs (#230)

view details

Guangming Luo

commit sha c78ad07bc98a63af489b0f79cdac344449f342a7

Fix link in readme_zh (#236)

view details

Joway

commit sha c4983e9a5a915773c02a3063afaa2825349e2942

feat: disable rpc timeout by default (#239)

view details

push time in 16 hours

create barnchHchenn/kitex

branch : feat/mux_shard_queue

created branch time in 16 hours

PR opened cloudwego/kitex

feat: adapt netpoll.Writer.Append API
+20 -18

0 comment

12 changed files

pr created time in 16 hours

push eventHchenn/kitex

Hchen

commit sha b7a65b9c3e3d831f130076d076c407c13c744f05

feat: adapt netpoll.Writer.Append API

view details

push time in 16 hours

create barnchHchenn/kitex

branch : fix/append_api

created branch time in 16 hours

push eventHchenn/kitex

Hchen

commit sha 57caa19f4175b0f5c8aeb6eaf8675672b8af3fba

update nhttp2

view details

push time in 17 hours

create barnchHchenn/netpoll-http2

branch : fix/append_api

created branch time in 17 hours

push eventHchenn/kitex

Hchen

commit sha ef2308eb4c32c836648034b415abeee9e1893945

update netpoll

view details

push time in 17 hours

push eventcloudwego/netpoll

Hchen

commit sha dcf8909e227a5e482151d48304e983f7a5bdb408

fix: mux adapt Append API (#83)

view details

push time in 17 hours

PR merged cloudwego/netpoll

fix: mux adapt Append API
+1 -1

1 comment

1 changed file

Hchenn

pr closed time in 17 hours

PR opened cloudwego/netpoll

fix: mux adapt Append API
+1 -1

0 comment

1 changed file

pr created time in 18 hours

push eventHchenn/netpoll

Hchen

commit sha 223d4786304ae4f62647b0487cba9f8566df1be9

fix: mux adapt Append API

view details

push time in 18 hours

create barnchHchenn/netpoll

branch : fix/mux_append_api

created branch time in 18 hours

push eventHchenn/kitex

Hchen

commit sha 31b173b1553dab19d2466bba699601c031fa1283

refactor: adapt to netpoll v0.1.0 1. replace: netpollmux.SharedQueue -> netpoll/mux.ShardQueue 2. replace: netpollmux.SharedMap -> netpollmux.ShardMap 3. modify API: netpoll.Writer.Append, remote.ByteBuffer.AppendBuffer

view details

push time in 18 hours

create barnchHchenn/kitex

branch : refactor/mux

created branch time in 2 days

push eventHchenn/kitex

lsjbd

commit sha 893329fcc9ed9274d723a3057e6dd31d1e7e4991

feat(generic): support combined services (#206)

view details

lsjbd

commit sha 273785a73d3d1923fc702509997b8c1c3e059e4d

perf: reduce memory allocation (#187)

view details

YangruiEmma

commit sha 6164cb8c0301ddda957160cb1f0ab35e69c36a30

feat: add NewThriftCodecDisableFastMode to disable FastWrite/Read (#231)

view details

Joway

commit sha 9621edd0b9562af792b7ee49fdcce7a345080cea

fix: enable server error handle middleware (#229)

view details

Joway

commit sha 156bd8934118b8e4e5d0c18cbc8ca46bd09adc0b

fix: set default rpctimeout and disable timeout logic if rpctimeout == 0 (#233)

view details

YangruiEmma

commit sha 6c9c3abb4cccb0690d12d99307d416da71b40771

feat: distinguish ErrRPCFinish in cost info of backup request (#232)

view details

YangruiEmma

commit sha 40d2a17fd5929c84db1ed920bee9d71db8379c82

feat: export SetSeqID and add GetSeqID for binary generic call of server side (#215)

view details

YangruiEmma

commit sha 12a01ad5b710c6c68a2efc1c6e0f4d080fad702a

feat: support pass proxy ctx to mwBuilder && register Dump in lbcache to diagnosis (#234) * feat: modify ServiceName to ServerInfo in proxy.go to pass more info * feat: register Dump in lbcache to diagnosis * fix: instance info in discovery event change

view details

push time in 2 days

push eventHchenn/kitex

Hchen

commit sha 31ec2e1058eec61c18cfece70a50ae03e45cd3d8

tmp

view details

push time in 2 days

push eventcloudwego/netpoll

kinggo

commit sha b7f6c6468a7ffadd749bb34b425c9dbc454e2a05

fix: remove WriteBuffer's returned parameter n. (#49)

view details

push time in 2 days

PR merged cloudwego/netpoll

fix: remove WriteBuffer() returned parameter n. fix

for #48's PR

+15 -13

2 comments

5 changed files

longlihale

pr closed time in 2 days

PullRequestReviewEvent

issue commentcloudwego/netpoll

connection_reactor.go方法中onRequest方法是否可以仿照netty进行优化

103行 定义了 task 是个任务,该任务在 128行 被扔到协程池进行处理,不会影响其他 I/O

xj524598

comment created time in 2 days

issue commentcloudwego/netpoll

运行普通的server端demo有问题

18 行删掉冒号

xj524598

comment created time in 6 days

issue commentcloudwego/netpoll

运行普通的server端demo有问题

请问 这里的全部数据是指这一次io事件中涉及到的socket数据 还是指客户端完整的应用曾协议数据 发自我的iPhone ------------------ 原始邮件 ------------------ 发件人: Hchen ***@***.***> 发送时间: 2021年11月25日 17:43 收件人: cloudwego/netpoll ***@***.***> 抄送: xj524598 ***@***.***>, Author ***@***.***> 主题: Re: [cloudwego/netpoll] 运行普通的server端demo有问题 (Issue #80)

是指 connection.Reader().Len() return 前要为 0,可以通过 Reader 提供的 API 获取或丢掉数据,具体可以参考 这里

xj524598

comment created time in 6 days

more