netpoll

A high-performance non-blocking I/O networking framework focusing on RPC scenarios.

APACHE-2.0 License

Stars
4K
Committers
30

Bot releases are hidden (Show)

netpoll - v0.6.4

Published by alice-yyds about 1 month ago

Optimise

  1. [#357] optimise: reduce closure func malloc for hot path
  2. [#356] optimise: smart control graceful shutdown wait time

Chore

  1. [#354] chore: upgrade gopkg to v0.1.0
netpoll - v0.6.3 Latest Release

Published by alice-yyds 3 months ago

netpoll - v0.6.2

Published by alice-yyds 4 months ago

netpoll - v0.6.1

Published by alice-yyds 4 months ago

netpoll - v0.6.0

Published by alice-yyds 8 months ago

Feature

  1. [#306] feat: lazy init pollers to avoid create any poller goroutines if netpoll is not used
  2. [#303] feat: add WithOnDisconnect callback
  3. [#300] feat: netpoll exception implement net.Error interface
  4. [#294] feat: add SetRunner option

Fix

  1. [#307] fix: ctx race when disconnect callback run with connect callback
  2. [#304] fix: connection leak when poller close connection but onRequest callback just finished
  3. [#296] fix: stop timer when read triggered by err

Chore

  1. [#302] ci: bump the version of actions/checkout and actions/setup-go
netpoll - v0.5.1

Published by alice-yyds almost 1 year ago

netpoll - v0.5.0

Published by alice-yyds about 1 year ago

Optimize

  1. [#274] optimize: increase first bookSize to 8KB to reudce overhead for connection read at begin
  2. [#273] optimize: ignore EOF when read a closed connection

Fix

  1. [#283] fix: protect operator dont be detach twice
  2. [#280] fix: detach operator race
  3. [#278] fix: OnRequest should wait all readable data consumed when sender close connection
  4. [#276] fix: compile error
  5. [#238] fix: close conn when server OnRequest panic

Docs

  1. [#243] docs: rm outdated info
netpoll - v0.4.1

Published by alice-yyds over 1 year ago

Refactor

  • [#269] refactor: simplify func iovecs

Chore

  • [#262] chore: support windows build
netpoll - v0.4.0

Published by alice-yyds over 1 year ago

Feature:

  • [#249] feat: add Detach function to support detach connection from its poller

Optimize:

  • [#250] optimize: WriteDirect implementation to avoid panic and duplicate creation of redundant LinkBufferNode when remainLen is 0

Bugfix:

  • [#256] fix: close the poll that has already been created when calling the openPoll fails
  • [#251] fix: err to e0
  • [#226] fix: poller read all data before connection close
  • [#237] fix: shard queue state closed mistake
  • [#189] fix: close connection when readv syscall return 0, nil

Refactor

  • [#233] refactor: simplify race and norace event loop
netpoll - v0.3.2

Published by alice-yyds almost 2 years ago

Feature:

  • feat(mux): shared queue add Close interface [#218]

Chore:

  • chore: add epoll tests [#221]
  • chore: add logger [#222]

Bugfix:

  • fix: check nil in isSingleNode func [#215]
  • fix: free operator in poller [#223]
netpoll - v0.3.1

Published by alice-yyds almost 2 years ago

Bugfix:

  • fix: avoid bookAck panic when readv return EINTR(#212)

Chore:

  • chore: fixed skywalking-eyes version(#211)
netpoll - v0.3.0

Published by alice-yyds almost 2 years ago

Feature:

  • feat: support dial in IPV6 only (#182)
  • feat: connection flush support write timeout (#206)

Bugfix:

  • fix: LinkBuffer length overflow (#179)
  • fix: don't check epoll out when epoll err (#183)
  • fix: limit iovecs max to 2GB(2^31) (#196)
  • fix: fd not detach when close by user (#200)
netpoll - v0.2.6

Published by alice-yyds about 2 years ago

Refactor:

  • refactor: netpoll can be imported by other components under Windows and compiled without error (#178)

Bugfix:

  • fix: cliconn check inputbuffer when close (#154)
  • fix: pollDesc.operator.OnWrite fatal address (#184)
netpoll - v0.2.5

Published by alice-yyds over 2 years ago

Bugfix:

  • fix: barrier memory leak (#158)
  • fix: pollDesc need unused op when detach (#169)
  • fix: flush wrap raw errno to exception (#168)
  • fix: op.detach will data race when calling onClose (#166)
  • fix: SetOnRequest need trigger OnRequest if there is already input data (#165)

Chore:

  • test: add test case for LinkBuffer.resetTail (#161)

Doc:

  • doc: public hertz in readme (#164)
netpoll - v0.2.4

Published by alice-yyds over 2 years ago

Bugfix

  • fix: reset buffer node when created (#146)
  • fix: bookAck & close cause panic nil pointer (#147)
netpoll - v0.2.3

Published by alice-yyds over 2 years ago

Bugfix

  • fix: protect filling from panic if connection closed (#141)
  • fix: detach unused operator from poller (#142)
netpoll - v0.2.2

Published by alice-yyds over 2 years ago

Improvement

  • impr: recycle caches when LinkBuffer is closed (#131)
  • impr: mcache bsr use math/bits.Len instead (#133)
  • impr: SetNumLoops no longer resets all pollers (#135)

Bugfix

  • fix: check IsActive when flush (#118)
  • fix: zcReader.fill lost some data when read io.EOF (#122)
  • fix: send&close ignored by OnRequest (#128)

Chore

  • doc: fix replace examples url (#119)
  • doc: restate the definition of Reader.Slice (#126)
  • doc: update guide.md (#129)

Revert

  • revert: "feat: change default number of loops policy (#31)" (#130)
netpoll - v0.2.1

Published by Hchenn over 2 years ago

Bugfix

  • fix: accurately check io.EOF after the connection closed by peer (#115)
netpoll - v0.2.0

Published by alice-yyds over 2 years ago

Improvement

  • feat: on connect callback (#102)
  • feat: new conn api - Until (#91)
  • feat: support dialing without timeout (#105)

Bugfix

  • fix: trigger close callback when only set the onConnect callback (#111)
  • fix: add max node size to prevent OOM (#76)
  • fix: FDOperator.reset() not reset op.OnWrite (#104)
  • fix: write panic when conn close (#96)

Chore

  • docs: update README.md (#99) (#103)
  • fix: unit tests may fail (#106)
netpoll - v0.1.2

Published by Hchenn almost 3 years ago

Hotfix

  • fix: check args in LinkBuffer API (#95)
Package Rankings
Top 0.95% on Proxy.golang.org
Badges
Extracted from project README
Release WebSite License Go Report Card OpenIssue ClosedIssue
Related Projects