Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/panjf2000/gnet
π gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet ζ―δΈδΈͺι«ζ§θ½γθ½»ιηΊ§γιι»ε‘ηδΊδ»Άι©±ε¨ Go η½η»ζ‘ζΆγ
https://github.com/panjf2000/gnet
doc: renew the supported platforms
97d4ce4e6537cc39c0d1013fc7f8418827f973fb authored over 4 years ago
97d4ce4e6537cc39c0d1013fc7f8418827f973fb authored over 4 years ago
mod: upgrade dependent modules
84fb0018628a06ea5084b5f25e166f7287799554 authored over 4 years ago
84fb0018628a06ea5084b5f25e166f7287799554 authored over 4 years ago
doc: fix a malformed word in README_ZH.md (#86)
391c45f3c995cf7ad45cf495fe40ccff3d60e076 authored over 4 years ago
391c45f3c995cf7ad45cf495fe40ccff3d60e076 authored over 4 years ago
doc: supplement the missing acknowledgment item
b031357ed623f630048a9222229e76c05cb7e6ef authored over 4 years ago
b031357ed623f630048a9222229e76c05cb7e6ef authored over 4 years ago
trifle: refine a return statement
7881f9603bebd663fd5a933ebd25565bc3c15373 authored over 4 years ago
7881f9603bebd663fd5a933ebd25565bc3c15373 authored over 4 years ago
Revert "opt: make use of the error returned by codec"
This reverts commit 60ebc0a8c1fab3ca57ee642e2a396642e4c9b3c4.
4597ed5bd7ca31663356eced2a4d7bc3da59f362 authored over 4 years ago
opt: make use of the error returned by codec
60ebc0a8c1fab3ca57ee642e2a396642e4c9b3c4 authored over 4 years ago
60ebc0a8c1fab3ca57ee642e2a396642e4c9b3c4 authored over 4 years ago
trifle: unexport some errors
5287bd8bde31bbcdfc482810479cd6c773afdeeb authored over 4 years ago
5287bd8bde31bbcdfc482810479cd6c773afdeeb authored over 4 years ago
trifle: remove useless field of server
47817a0b7098443d141e8857cbfc4d30f13b3965 authored over 4 years ago
47817a0b7098443d141e8857cbfc4d30f13b3965 authored over 4 years ago
feature: support graceful shutdown with OS signals
Fixes #82
3cdc3c9b490556ab064cbd9d88560e704091663c authored over 4 years ago
opt: make a big allocation on ring-buffer at the first time
61963bd439beba73ef29c74b9870442c867e192a authored over 4 years ago
61963bd439beba73ef29c74b9870442c867e192a authored over 4 years ago
trifle: reuse slice struct when resetting buffer
916c255de373b3ff73eaa10cb1f0bacc2c1b6e3f authored over 4 years ago
916c255de373b3ff73eaa10cb1f0bacc2c1b6e3f authored over 4 years ago
Revert "opt: replace the nil condition with zero length when looping read"
This reverts commit d24c334fed53487723f3cf878f2767ba5528140c.
2ba79354b59121591424cf6def0c0496425cc3e4 authored over 4 years ago
doc: update READMEs
5e74433ab578a127eba1b83d3ed87c1bece2cf3f authored over 4 years ago
5e74433ab578a127eba1b83d3ed87c1bece2cf3f authored over 4 years ago
opt: replace the nil condition with zero length when looping read
d24c334fed53487723f3cf878f2767ba5528140c authored over 4 years ago
d24c334fed53487723f3cf878f2767ba5528140c authored over 4 years ago
trifle: use more formal flags for eventfd
ccc6c25923404195e7fba960d6cdfb57d3a7cea4 authored almost 5 years ago
ccc6c25923404195e7fba960d6cdfb57d3a7cea4 authored almost 5 years ago
opt: improve the creation processes of netpoller
Fixes #72
caaf9ea74a904bb4a0af833ddc83100604eb2fc6 authored almost 5 years ago
doc: add a new article about gnet
d500bf449f7808df210ff859014387a833c2f9f2 authored almost 5 years ago
d500bf449f7808df210ff859014387a833c2f9f2 authored almost 5 years ago
trifle: use customized logger to log errors instead of std log package
3a697014af6c6a61828147d2def1f7a543e149b6 authored almost 5 years ago
3a697014af6c6a61828147d2def1f7a543e149b6 authored almost 5 years ago
doc: improve comments
e54e59ba199e0e6873e7f147e6f6d20d701f8226 authored almost 5 years ago
e54e59ba199e0e6873e7f147e6f6d20d701f8226 authored almost 5 years ago
ci: exclude golangci-lint from Windows
dda5ccf5d80013ad9d88e4787eda9f672f2a71e7 authored almost 5 years ago
dda5ccf5d80013ad9d88e4787eda9f672f2a71e7 authored almost 5 years ago
ci: fix code issues of golangci-lint on Windows
165ebf6420d97ad99dfea9a2c710cae6e5f1e405 authored almost 5 years ago
165ebf6420d97ad99dfea9a2c710cae6e5f1e405 authored almost 5 years ago
ci: re-format yml of travis
f50419e3d6cf1dd11143f86d4a1d6023e35c92c4 authored almost 5 years ago
f50419e3d6cf1dd11143f86d4a1d6023e35c92c4 authored almost 5 years ago
ci: fix code issues
a4d9a8c899c38054ab6d71979f09aaebfba684fb authored almost 5 years ago
a4d9a8c899c38054ab6d71979f09aaebfba684fb authored almost 5 years ago
ci: add github-check of reviewdog
af410a125c90b6814d0cf65371a805489930657a authored almost 5 years ago
af410a125c90b6814d0cf65371a805489930657a authored almost 5 years ago
ci: leverage reviewdog as automated code review tool
5db42f9413a7f17b6e6d8383f0e9c7c6dbf3a9d7 authored almost 5 years ago
5db42f9413a7f17b6e6d8383f0e9c7c6dbf3a9d7 authored almost 5 years ago
Correct typo UPD => UDP (#66)
d8a2ee67ab552104c47deb915f6f05601848ea00 authored almost 5 years ago
d8a2ee67ab552104c47deb915f6f05601848ea00 authored almost 5 years ago
doc: Update READMEs
a0d53f5061405901e17df4fa9760633edd9f1d98 authored almost 5 years ago
a0d53f5061405901e17df4fa9760633edd9f1d98 authored almost 5 years ago
trifle: enable ReadN(int) to handle corner cases
2e89e255fd636371c0671542387e807bcd18a496 authored almost 5 years ago
2e89e255fd636371c0671542387e807bcd18a496 authored almost 5 years ago
mod: Upgrade dependencies
5d509576fb54f9081426b2e235d8389dbe7e34b3 authored almost 5 years ago
5d509576fb54f9081426b2e235d8389dbe7e34b3 authored almost 5 years ago
opt: lazily allocate memory for ring-buffers
095ef52c9275b5382b7e557da7bb40c5a3b156ca authored almost 5 years ago
095ef52c9275b5382b7e557da7bb40c5a3b156ca authored almost 5 years ago
test: add more unit tests for ring-buffer
94246dc0fa7c0fcd02e0498e2a355f661b1403c8 authored almost 5 years ago
94246dc0fa7c0fcd02e0498e2a355f661b1403c8 authored almost 5 years ago
doc: Update READMEs
Renew TechEmpower benchmarks
3743d0f26ff38fec6872be0d13eac7e7d370d4b9 authored almost 5 years ago
test: add unit test for ring-buffer
ecf3473072d1c02ca69b469d24c5581eae041d2f authored almost 5 years ago
ecf3473072d1c02ca69b469d24c5581eae041d2f authored almost 5 years ago
opt: refine the range indexes when re-slicing
008c0c9e4c702431db6b3d4372be94ea99ac5a5e authored almost 5 years ago
008c0c9e4c702431db6b3d4372be94ea99ac5a5e authored almost 5 years ago
fix: fix a bug of ring-buffer
a9caa26689f9ecb46a98feb3bb5513639c8beb98 authored almost 5 years ago
a9caa26689f9ecb46a98feb3bb5513639c8beb98 authored almost 5 years ago
trifle: rename the eventloop_group.go to load_balancing.go
24203f4d936374666ef73c1ff7d96656c4de5fcb authored almost 5 years ago
24203f4d936374666ef73c1ff7d96656c4de5fcb authored almost 5 years ago
feature: add a new API to get the number of currently active connections
5ae4849ac2941394b21254950ec7101081add782 authored almost 5 years ago
5ae4849ac2941394b21254950ec7101081add782 authored almost 5 years ago
feature: support new load-balancing algorithm of source-addr-hash
4464ee99183fe5e8f4daa4ff9992802c663c2866 authored almost 5 years ago
4464ee99183fe5e8f4daa4ff9992802c663c2866 authored almost 5 years ago
feature: support new load-balancing algorithm of least-connections (#63)
Fixed #26
fc7301380cb61a3916ae18175346e555ef416cd0 authored almost 5 years ago
doc: improve some statements
cc4ccd470b0a4fabf902896df714b7fd07346216 authored almost 5 years ago
cc4ccd470b0a4fabf902896df714b7fd07346216 authored almost 5 years ago
doc: replace doc links of gowalker.org with pkg.go.dev
df4aa23e04ed4fc9f2f18330ec7a86598a9f4eb3 authored almost 5 years ago
df4aa23e04ed4fc9f2f18330ec7a86598a9f4eb3 authored almost 5 years ago
doc: update READMEs
Renew the TechEmpower benchmark
04b473e20f51afe4b798d54b336fc72a7c5cd7b0 authored almost 5 years ago
doc: update READMEs
Correct some words and renew the TechEmpower link
9bd48a348281542d3cac008b5525a693981ec525 authored almost 5 years ago
doc: add TechEmpower benchmarks
65d859b02a7766808151db5a809f8776ba708cfd authored almost 5 years ago
65d859b02a7766808151db5a809f8776ba708cfd authored almost 5 years ago
opt: improve several methods of ring-buffer
828e845558c49918a647a1144eab8d9ca35887de authored almost 5 years ago
828e845558c49918a647a1144eab8d9ca35887de authored almost 5 years ago
fix: fix an issue of not recycling byte-buffers
3b6edfdd933abab07a823bc0760c3d24b61b0879 authored almost 5 years ago
3b6edfdd933abab07a823bc0760c3d24b61b0879 authored almost 5 years ago
readme: Switch go doc to pkg.go.dev
b973741b7415e2e42b16e8dcf4adf6553c41ed40 authored almost 5 years ago
b973741b7415e2e42b16e8dcf4adf6553c41ed40 authored almost 5 years ago
opt: improve http example
7155bedc666d9b97942c12bb3fd27024c0e4d582 authored almost 5 years ago
7155bedc666d9b97942c12bb3fd27024c0e4d582 authored almost 5 years ago
feature: support customized logger
742f7f220784e4a4622672ad12bd12f0ce9861de authored almost 5 years ago
742f7f220784e4a4622672ad12bd12f0ce9861de authored almost 5 years ago
Update READMEs
7c7a5c6926fe0fe7c99a4389fe6067115d5a67ea authored almost 5 years ago
7c7a5c6926fe0fe7c99a4389fe6067115d5a67ea authored almost 5 years ago
refactor: make ReadN method not move read pointer
9b22591da4c69b0220e2f19bc0c8dc1a7fbf6511 authored almost 5 years ago
9b22591da4c69b0220e2f19bc0c8dc1a7fbf6511 authored almost 5 years ago
feature: enable users to customize the number of event-loops
7f6d9fa4b777e842c15b864c2aca5921de4e6b53 authored almost 5 years ago
7f6d9fa4b777e842c15b864c2aca5921de4e6b53 authored almost 5 years ago
mod: upgrade dependent modules
1bf49b340eb476a09dbb606ade23fdc3ee5a167a authored almost 5 years ago
1bf49b340eb476a09dbb606ade23fdc3ee5a167a authored almost 5 years ago
fix: fix a bug of LengthFieldBasedFrameCodec when decoding data
fixed #60
6a1dc8ee8bc6be2edb2d58db079f2125743d1d19 authored almost 5 years ago
ci: add go1.14 support
aabdb0586d4aed69e13fd8f0c82653f04ec10c75 authored almost 5 years ago
aabdb0586d4aed69e13fd8f0c82653f04ec10c75 authored almost 5 years ago
fix: fix a typo
ecde0ee3d02726d6df77d148834d18372e0df27e authored almost 5 years ago
ecde0ee3d02726d6df77d148834d18372e0df27e authored almost 5 years ago
opt: enable the close-on-exec flag for the new file descriptor of epoll
a0e6edf6ee679851e13f6f9cb7a5e5328da120a6 authored almost 5 years ago
a0e6edf6ee679851e13f6f9cb7a5e5328da120a6 authored almost 5 years ago
opt: enable the nonblocking mode in linux eventfd
918c86c5c3a2b7fce0cffbb0abad11071e32cd09 authored almost 5 years ago
918c86c5c3a2b7fce0cffbb0abad11071e32cd09 authored almost 5 years ago
fix: correct the test code about closing connections
aa7cc9edc33cba16803ffab2c7b3917766a37828 authored almost 5 years ago
aa7cc9edc33cba16803ffab2c7b3917766a37828 authored almost 5 years ago
trifle: update document comments
bcb6829214a2de73f7cf92e570ac631d8ffcc0e3 authored almost 5 years ago
bcb6829214a2de73f7cf92e570ac631d8ffcc0e3 authored almost 5 years ago
Fix a bug about closing connection on Windows (#57)
* Fix a bug about Close connection in Windows system
* Format code
bc51b1d75e5f90ec60ba669f390b68432ada67b4 authored almost 5 years ago
Fix a bug about http pipeline in gnet
e19f553afaef01e8a523e4f68544b388422df777 authored almost 5 years ago
e19f553afaef01e8a523e4f68544b388422df777 authored almost 5 years ago
trifle: remove unreachable and useless code
e18b177436eb3c5dcd84ef60671ec9c60d3da193 authored almost 5 years ago
e18b177436eb3c5dcd84ef60671ec9c60d3da193 authored almost 5 years ago
feature: support Closing connection from individual goroutines
Fixes #43, #44
52c5f3184057d7b94e13aa1f0202def6f33fd256 authored almost 5 years ago
fix: write the last data back before closing connections
8fecd38bed5d07b532d524efba1cd50d25e01f2d authored almost 5 years ago
8fecd38bed5d07b532d524efba1cd50d25e01f2d authored almost 5 years ago
opt: avoid memory copy when writing data back to clients
2c4555af195380753a4f44a63254114b06dca914 authored almost 5 years ago
2c4555af195380753a4f44a63254114b06dca914 authored almost 5 years ago
mod: upgrade go dependent modules
c47c200601283862577d78db0795d21d336698cc authored almost 5 years ago
c47c200601283862577d78db0795d21d336698cc authored almost 5 years ago
trifle: rename structs, functions and variables with more rational names
8a59a51d248d7de19e8ed92e8084c725ed1bbfba authored almost 5 years ago
8a59a51d248d7de19e8ed92e8084c725ed1bbfba authored almost 5 years ago
opt: turn off the logs printing when server is shutting down
dbb3b65ea91aa14da7858e00a61ae4c0bd9948a5 authored almost 5 years ago
dbb3b65ea91aa14da7858e00a61ae4c0bd9948a5 authored almost 5 years ago
trifle: rename some variables with rational name
4ac48fd360e908c3a9021e2b7fbc3b0ad94dd226 authored almost 5 years ago
4ac48fd360e908c3a9021e2b7fbc3b0ad94dd226 authored almost 5 years ago
trifle: fix a misrepresentation on README
1910c127084bc6c6ccddbcab98d6a272ed216456 authored almost 5 years ago
1910c127084bc6c6ccddbcab98d6a272ed216456 authored almost 5 years ago
trifle: comment out unused constant
5c2e38c879c3ca5ccc2095719a2fb5b5ddecfd9e authored almost 5 years ago
5c2e38c879c3ca5ccc2095719a2fb5b5ddecfd9e authored almost 5 years ago
opt: reduce system calls of write
3dd780d75fbb99b33a17354e517f71d595e2f5c9 authored almost 5 years ago
3dd780d75fbb99b33a17354e517f71d595e2f5c9 authored almost 5 years ago
trifle: Update READMEs
f114138e91a4551f7499e7dce88ea4efaee3d935 authored almost 5 years ago
f114138e91a4551f7499e7dce88ea4efaee3d935 authored almost 5 years ago
Add the example of Unix Domain Socket
82e331bdff152d5f7b246bca50e83f379b3df327 authored about 5 years ago
82e331bdff152d5f7b246bca50e83f379b3df327 authored about 5 years ago
test: add unit tests for UNIX Domain Socket protocol
757573b4da2aa39a8ba30c1229500768cd391c66 authored about 5 years ago
757573b4da2aa39a8ba30c1229500768cd391c66 authored about 5 years ago
opt: set up the initial length of poller event-list with rational value
52b4e6c8bdda6dcab4645cca75a840ce529b50cf authored about 5 years ago
52b4e6c8bdda6dcab4645cca75a840ce529b50cf authored about 5 years ago
opt: optimize kqueue looping
6e71cb1af53755b642a307d3dc08d435c0d86427 authored about 5 years ago
6e71cb1af53755b642a307d3dc08d435c0d86427 authored about 5 years ago
opt: invoke loopOpen right after accepting a socket on reuseport mode
c7746e204fa2578aad5a3f29529ded8f9e5b7e6a authored about 5 years ago
c7746e204fa2578aad5a3f29529ded8f9e5b7e6a authored about 5 years ago
fix: fix a bug that server keeps looping when connection is closed by client
4ab909ad51c85d1d5d7ba4e9bcccb244e69f6f57 authored about 5 years ago
4ab909ad51c85d1d5d7ba4e9bcccb244e69f6f57 authored about 5 years ago
opt: recycle ring-buffers by making it GC friendly
c58f19b6fc6b598ab37cf536a0be4404921fbbfe authored about 5 years ago
c58f19b6fc6b598ab37cf536a0be4404921fbbfe authored about 5 years ago
fix: fix the async write of UDP on Windows
9b30e8c203bb624690323bb872884f03dcf719de authored about 5 years ago
9b30e8c203bb624690323bb872884f03dcf719de authored about 5 years ago
trifle: add a little bit tests
1df4d4987b7e52f6ba9651183741b5f4baf92329 authored about 5 years ago
1df4d4987b7e52f6ba9651183741b5f4baf92329 authored about 5 years ago
golint: fix the golint issues
b45ea46647ba7e62a31bbb205f6465b99886a90a authored about 5 years ago
b45ea46647ba7e62a31bbb205f6465b99886a90a authored about 5 years ago
refactor: optimize gnet React API, fixes #49
2d8545d66cef0833c8a3d4a728d06bbb1f6dd9e6 authored about 5 years ago
2d8545d66cef0833c8a3d4a728d06bbb1f6dd9e6 authored about 5 years ago
test: Add more unit tests for codec
2f4152f35256940a03d24509b92afd34d7de88f6 authored about 5 years ago
2f4152f35256940a03d24509b92afd34d7de88f6 authored about 5 years ago
Update READMEs
c7934482a01db19af39e0f86df0446902c60dc3d authored about 5 years ago
c7934482a01db19af39e0f86df0446902c60dc3d authored about 5 years ago
trifle: Add a new template of Github issues
fce81bda1667d4c5f46a8c68d3cc52b1f7a46dac authored about 5 years ago
fce81bda1667d4c5f46a8c68d3cc52b1f7a46dac authored about 5 years ago
trifle: Upgrade to go 1.13 on go modules
6f30a1db4e3cb0fa266d7fa17788d6bbf3536c53 authored about 5 years ago
6f30a1db4e3cb0fa266d7fa17788d6bbf3536c53 authored about 5 years ago
fix: Fix an issue that closes listener twice
3b42d73334df845781685a5402b585fd88a976b6 authored about 5 years ago
3b42d73334df845781685a5402b585fd88a976b6 authored about 5 years ago
trifle: Remove some useless code comments
528b5a55b55081b7ae34c466d21cb71b4cc31cf4 authored about 5 years ago
528b5a55b55081b7ae34c466d21cb71b4cc31cf4 authored about 5 years ago
fix: Fix a bug in loopIn() when an error returned from React()
f97f0a796e9b2e1c358b256e1840717900b15ff8 authored about 5 years ago
f97f0a796e9b2e1c358b256e1840717900b15ff8 authored about 5 years ago
Update README-EN
3cc7995906650cb6db5d13733a78577afe1eb779 authored about 5 years ago
3cc7995906650cb6db5d13733a78577afe1eb779 authored about 5 years ago
opt: Skip event-loop when no data to write
62b6416067f49defd86b7fb811bed9db5080881c authored about 5 years ago
62b6416067f49defd86b7fb811bed9db5080881c authored about 5 years ago
opt: reduce the times of waking up poller
72de5904e3b92f5b1e502e2792b1fdf30578838c authored about 5 years ago
72de5904e3b92f5b1e502e2792b1fdf30578838c authored about 5 years ago
opt: refactor reactor mode on freeBSD platform
8792b58f1f72bf63d8e448984ff530b0512ea48a authored about 5 years ago
8792b58f1f72bf63d8e448984ff530b0512ea48a authored about 5 years ago
trifle: Rename Action and update http example
571f1a978539696ce0dcafe7237c1fa366091d67 authored about 5 years ago
571f1a978539696ce0dcafe7237c1fa366091d67 authored about 5 years ago
Update http example
a8cc6d202234e8857c2c3b2dc1a2d515143f5f2f authored about 5 years ago
a8cc6d202234e8857c2c3b2dc1a2d515143f5f2f authored about 5 years ago
Reduce redundant uses of strings.Split in parseAddr (#46)
96a187c97558ca62491bd22d64242d5c3aa0524a authored about 5 years ago
96a187c97558ca62491bd22d64242d5c3aa0524a authored about 5 years ago