issues
search
lesismal
/
nbio
Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.
MIT License
2.11k
stars
151
forks
source link
add comments
#400
Closed
lesismal
closed
3 months ago
lesismal
commented
3 months ago
Socket
epoll/kqueue: clear fd from poller automatically by syscall.Close will.
Add flow control for write cache flush to avoid large buffer write failure.
Optimize the write cache using buffers to avoid a single large buffer cache.
HTTP:
Change body to [][]byte to avoid single large buffer usage.
Optimize body calculation.
Add MaxHTTPBodySize config.
add Client.Dial configuration.
add Engine.SetETAsyncRead/SetLTSyncRead.
Websocket
Add Lock for parsing logic.
Optimize session consistency.
Socket
HTTP:
Websocket