Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

gnet

🌐🐳 A high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
Collective - Host: opensource - https://opencollective.com/gnet - Code: https://github.com/panjf2000/gnet

opt: implement zero-allocated []byte pool for reusing bytes (#292)

github.com/panjf2000/gnet - 741be360d7edfb9e96ec7508712b2cddfbe08e5d authored almost 3 years ago by Fufu <[email protected]>
bug: fix the repeated resource release issues

For #305

github.com/panjf2000/gnet - d6cbe31e65ad3666acf8b4b9d4f55da9ec8c2fdd authored almost 3 years ago by Andy Pan <[email protected]>
chore: fix the undefined: math.MaxInt

github.com/panjf2000/gnet - afde9cd848f6f143f313c1477af315cb34bef372 authored about 3 years ago by Andy Pan <[email protected]>
bug: limit the maximum size of iovec

Fixes #303

github.com/panjf2000/gnet - 58a6ae9d04be38d5031a4249ef41ef0b52294c44 authored about 3 years ago by Andy Pan <[email protected]>
bug: eliminate the redundant Encode() call of each AsyncWrite() on Windows

Fixes #300

github.com/panjf2000/gnet - b4d76f88e3674d8ee9f7260b168c0ec0e227fb79 authored about 3 years ago by Andy Pan <[email protected]>
chore: update some comments

github.com/panjf2000/gnet - 51fb73842710051c216dbea9c170d62e7eafcf4b authored about 3 years ago by Andy Pan <[email protected]>
chore: refine the condition after Decode()

github.com/panjf2000/gnet - 51b71cd434f2e8283103ad89e101ad3b22cfcafe authored about 3 years ago by Andy Pan <[email protected]>
chore: resolve the lint issue of staticcheck

github.com/panjf2000/gnet - e8f7a874593d7bc0b4aec5bf190f85e49e33257c authored about 3 years ago by Andy Pan <[email protected]>
opt: simplify some internal function names

github.com/panjf2000/gnet - 302b2e55a1e0b62544983c0ea3d692fdaa5db4df authored about 3 years ago by Andy Pan <[email protected]>
opt: implement a []byte pool for reusing bytes

github.com/panjf2000/gnet - d1ca7f3360ea906411616967d14727ad8c1a4add authored about 3 years ago by Andy Pan <[email protected]>
opt: improve the internal package of socket

github.com/panjf2000/gnet - c0681fe67c3b94803a68bfd523e69cad5c50f0a0 authored about 3 years ago by Andy Pan <[email protected]>
opt: reduce the memory usage with UDP protocol

Fixes #289

github.com/panjf2000/gnet - ad0f237badb9ddd3451b83d75e11bce822318f15 authored about 3 years ago by Andy Pan <[email protected]>
bug: set the status of ring-buffer to non-empty after it grows its size

Fixes #288

github.com/panjf2000/gnet - 4569dec0c13f52e2a0fbb8063dfffbed0ff406bd authored about 3 years ago by Andy Pan <[email protected]>
opt: improve the management logic of the mixed-buffer

github.com/panjf2000/gnet - b8d571dd762cb79c2c685f16d36886f6edb40195 authored about 3 years ago by Andy Pan <[email protected]>
opt: make the mixed-buffer more flexible

github.com/panjf2000/gnet - 4ac906cae698b1a4483c583d0267f86f05ce595b authored about 3 years ago by Andy Pan <[email protected]>
chore: update go modules

github.com/panjf2000/gnet - 4b3679d8f4f9c2bc83ee65154ff1303558089e7d authored about 3 years ago by Andy Pan <[email protected]>
feat: implement the gnet.Conn.AsyncWritev()

Fixes #245

github.com/panjf2000/gnet - 9a2032f876cd8f41c554545bcbb63d3043f4946f authored about 3 years ago by Andy Pan <[email protected]>
chore: check the box fo gnet client

Fixes #4
Fixes #143
Fixes #248
Fixes #282

github.com/panjf2000/gnet - aa0254f5bf0ab512083de15981d616ee679206a9 authored about 3 years ago by Andy Pan <[email protected]>
feat: invoke OnClosed() when a UDP socket is closed

github.com/panjf2000/gnet - 7be4b2a758e32af489450b6b62d8da48e471ba00 authored about 3 years ago by Andy Pan <[email protected]>
chore: improve code quality

github.com/panjf2000/gnet - 72cd0ea7924ead73271c327e3a3b4546795443c6 authored about 3 years ago by Andy Pan <[email protected]>
opt: refactor the logic of handling UDP sockets

github.com/panjf2000/gnet - d72d3de70a0cb31c6059820dbd4ba6db6c4e23eb authored about 3 years ago by Andy Pan <[email protected]>
chore: start more clients to test

github.com/panjf2000/gnet - 4f2cfa3de6ea9c258d4eebacf0c7605146556b18 authored about 3 years ago by Andy Pan <[email protected]>
feat: support UDP and Unix protocol in client

github.com/panjf2000/gnet - 7159b95cd9ebc8fe2f9bea909844eb8c8bb37bf7 authored about 3 years ago by Andy Pan <[email protected]>
opt: refine code

github.com/panjf2000/gnet - 5d8fe649f487019f8f5e9d1925a5a63994bc6c17 authored about 3 years ago by Andy Pan <[email protected]>
opt: refine code of moving write pointer in ring-buffer

github.com/panjf2000/gnet - f1d1d7736532916158c934c33c665a74a819fdd1 authored about 3 years ago by Andy Pan <[email protected]>
opt: scale up the inbound ring-buffer when it is full

github.com/panjf2000/gnet - 25c8b86347f1f377b928e68bf58dba89f6f6154c authored about 3 years ago by Andy Pan <[email protected]>
opt: avoid memory allocations when calling readv

github.com/panjf2000/gnet - 15611b482f50f1333fcee47b02d6ec04b4d2ede5 authored about 3 years ago by Andy Pan <[email protected]>
opt: improve the network read with ring-buffer and readv

github.com/panjf2000/gnet - 0dcf599fd0673bc712b5409fd9a0711cb90606c0 authored about 3 years ago by Andy Pan <[email protected]>
chore: rename a function in internal/queue/queue.AsyncTaskQueue

github.com/panjf2000/gnet - dfa473dd8689084de04eebd3a4ae9940918c4561 authored about 3 years ago by Andy Pan <[email protected]>
opt: get as much data read from socket per loop as possible

github.com/panjf2000/gnet - 148ee163fb3ddd0fcd7919ab17390a3cd910933f authored about 3 years ago by Andy Pan <[email protected]>
fix: add the RingBuffer.WithByteBuffer() back for Windows

github.com/panjf2000/gnet - 747896a17493af1ec8e62f508d9c08db1ea54606 authored about 3 years ago by Andy Pan <[email protected]>
chore: fix the build failure on Windows

github.com/panjf2000/gnet - c29ef7160c484bde0e478be2c8b24aa07745dd60 authored about 3 years ago by Andy Pan <[email protected]>
opt: improve the logic of reading data from socket into ring-buffer

github.com/panjf2000/gnet - a7f07b3d4eaa70a9b5c8b389d73b72ddb06b8c16 authored about 3 years ago by Andy Pan <[email protected]>
chore: simplify the imports of list-buffer

github.com/panjf2000/gnet - 93a2843e65b67727ddf8060d925cd504ddf66f4e authored about 3 years ago by Andy Pan <[email protected]>
chore: improve the project layout

github.com/panjf2000/gnet - 2e172bde78bcdb56dbec9a57d95dfa4b6213b1f2 authored about 3 years ago by Andy Pan <[email protected]>
chore: update go.mod

github.com/panjf2000/gnet - a3bd990920aafe4ca96bb1cae1aa8c54e7c7287a authored about 3 years ago by Andy Pan <[email protected]>
chore: add comments to indicate which APIs are concurrency-safe

github.com/panjf2000/gnet - 016b5b433db08f2745dda33fc9a85eed60827b6f authored about 3 years ago by Andy Pan <[email protected]>
chore: set MaxStackingBytes to 32KB

github.com/panjf2000/gnet - 62c33d9ea176e43dc36200d0fc26f72d0ac5c436 authored about 3 years ago by Andy Pan <[email protected]>
opt: increase the maximum buffer size of ring-buffer inside mixed-buffer

github.com/panjf2000/gnet - 0c6af6cd96f287c28da5b8d6aa157bcc2eefddb8 authored about 3 years ago by Andy Pan <[email protected]>
opt: implement a mixed buffer of ring-buffer and list-buffer

mixed-buffer combines ring-buffer and list-buffer, used as the outbound buffer by gnet.Conn

github.com/panjf2000/gnet - edbdf4b54b7439bfb2ac4ba9652ec6a1764e0659 authored about 3 years ago by Andy Pan <[email protected]>
bug: fix the issue of panic: runtime error: slice bounds out of range

github.com/panjf2000/gnet - 30311e936869d8685c8c06ff98170f0adb68bc8b authored about 3 years ago by Andy Pan <[email protected]>
chore: a trivial update

github.com/panjf2000/gnet - 24967fe4d72908b298622d7f15877a4d7ab7d4d4 authored about 3 years ago by Andy Pan <[email protected]>
chore: refine the loop in ByteBufferList.PeekBytesList()

github.com/panjf2000/gnet - bcaa8939b641ca19060151a2cf534c4b095a3b26 authored about 3 years ago by Andy Pan <[email protected]>
opt: optimize the buffer management and network I/O

github.com/panjf2000/gnet - 6aba6d7a3fc31cf749b0001dcb1c82f01c816f65 authored about 3 years ago by Andy Pan <[email protected]>
chore: rename all receivers of ring-buffer

github.com/panjf2000/gnet - c85cf92f691ec5dc45d8d932e2f7675a327ce4da authored about 3 years ago by Andy Pan <[email protected]>
feat: implement writev and readv on BSD-like OS's

github.com/panjf2000/gnet - 60ba6d30b04351e26c3f7c9cc496b1b849936731 authored about 3 years ago by Andy Pan <[email protected]>
test: make the unit tests for client work

github.com/panjf2000/gnet - 802fa358f2c8ac95414e36cb0afd53f6dd57bfa0 authored about 3 years ago by Andy Pan <[email protected]>
chore: update a comment

github.com/panjf2000/gnet - 072ff35413e504d776757981586b940ea787f979 authored about 3 years ago by Andy Pan <[email protected]>
chore: resolve the format issues

github.com/panjf2000/gnet - fa054af67c811c89b451146862432899dacc48c8 authored about 3 years ago by Andy Pan <[email protected]>
bug: fix the data corruption in some default codecs

github.com/panjf2000/gnet - a56d2f3f50981107ae6b2bd2653fe19dc75d4e18 authored about 3 years ago by Andy Pan <[email protected]>
chore: make several improvements for logger

github.com/panjf2000/gnet - 58d2031440b1c9725e2d12aeb651aa8bc78d3489 authored about 3 years ago by Andy Pan <[email protected]>
feat: support more functional options for client

github.com/panjf2000/gnet - 4db46da43d5defd5da71213c0abaebb174af642c authored about 3 years ago by Andy Pan <[email protected]>
feat: support so_reuseaddr (#280)

Fixes #266
Fixes #272

Co-authored-by: zhongweikang <[email protected]>

github.com/panjf2000/gnet - f7a3adadd83bbc79803d8eb464cb0575fd355892 authored about 3 years ago by zhongweikang <[email protected]>
chore: return the more specific errors when Dial() fails

github.com/panjf2000/gnet - c71b023c10e721222dd95e8a6f03f3863d22b0bd authored about 3 years ago by Andy Pan <[email protected]>
fix: resolve all test failures of gnet client

Fixes #260

github.com/panjf2000/gnet - a5ac95a5057fb82e2f71cb6a7f4ffed83c967efb authored about 3 years ago by Andy Pan <[email protected]>
fix: correct the wrong logging function

github.com/panjf2000/gnet - 10c619f3a42c4f8397464a7a45daff24bfa873ea authored about 3 years ago by Andy Pan <[email protected]>
chore: return error when loopRegister fails

github.com/panjf2000/gnet - c40b4b6f63ed0c210ef835d484b293204c155709 authored about 3 years ago by Andy Pan <[email protected]>
chore: refine test code

github.com/panjf2000/gnet - c8965ecb48c979011110a5cff86c07c6aa6a537c authored about 3 years ago by Andy Pan <[email protected]>
chore: eliminate the code for preventing false-sharing

github.com/panjf2000/gnet - 0bfade3aea015a7932b0e45b646a6c85a620a205 authored about 3 years ago by Andy Pan <[email protected]>
chore: print errors in logs

github.com/panjf2000/gnet - cc085c50545d988157ee895e6e985f93e3b17e30 authored about 3 years ago by Andy Pan <[email protected]>
chore: update some comments

github.com/panjf2000/gnet - 65b8f8b5ebe8503fbd8842f254c3b19abb19f815 authored about 3 years ago by Andy Pan <[email protected]>
doc: remove the irrelevant articles

github.com/panjf2000/gnet - bbdc1bcc76138feb3529d639e63ebe9374c22165 authored about 3 years ago by Andy Pan <[email protected]>
Update FUNDING.yml

github.com/panjf2000/gnet - 7b29795db5fe184da0939490f8bf4ec39d3c27db authored about 3 years ago by Andy Pan <[email protected]>
Create FUNDING.yml

github.com/panjf2000/gnet - 1989eda4cc668e548f8572ac9fb07cef8c8f612d authored about 3 years ago by Andy Pan <[email protected]>
chore: update README's

github.com/panjf2000/gnet - dacd62e255ab37367d1e018d0640cb29b6f3a995 authored about 3 years ago by Andy Pan <[email protected]>
fix: add build constraints in gnet.Client to exclude Windows

Fixes #258

github.com/panjf2000/gnet - 13f934c4465957d0369c89ae46f6f9022e7345ba authored about 3 years ago by Andy Pan <[email protected]>
doc: update to the latest benchmark results

github.com/panjf2000/gnet - 81d984236401fb42d2f75c8989b87321804f4503 authored about 3 years ago by Andy Pan <[email protected]>
doc: update README's

github.com/panjf2000/gnet - d219ce9c59c2f119bc14568d0b27abc2b2b5dc23 authored about 3 years ago by Andy Pan <[email protected]>
chore: add copyright statement in client.go

github.com/panjf2000/gnet - 9c26c1e7e4dd900bc24dd269401ee752ffed8020 authored about 3 years ago by Andy Pan <[email protected]>
doc: change the license from MIT to Apache 2.0

github.com/panjf2000/gnet - a900c8f21958eb8096443125afafb672d9f1218e authored about 3 years ago by Andy Pan <[email protected]>
chore: update some log descriptions

github.com/panjf2000/gnet - b56ff6aec92005198f4bca27b747946bf3139e89 authored about 3 years ago by Andy Pan <[email protected]>
doc: update some docs

github.com/panjf2000/gnet - 514758a7ed5f393aa3058e881ba14e21f3503daa authored about 3 years ago by Andy Pan <[email protected]>
feat: Implement the gnet client

github.com/panjf2000/gnet - 2295e8c6f3394341d28318cb6ea33f0799d52c45 authored about 3 years ago by Andy Pan <[email protected]>
Add a new event handler: AfterWrite()

Fixes #242

github.com/panjf2000/gnet - 6a654c85e7c1172503813c9703603e42eea2fc29 authored about 3 years ago by Andy Pan <[email protected]>
opt: reduce the potential system calls for waking pollers up

github.com/panjf2000/gnet - 9ce41f3b921a9341081506629185e733f97defa4 authored over 3 years ago by Andy Pan <[email protected]>
Revert "opt: reduce atomic operations for asynchronous task queues in pollers"

This reverts commit 90bea0e0ee46176cbfac02e6a2a2b6ebf873db71.

github.com/panjf2000/gnet - e2ad774437c75cee97703be3c08f907b11761a6c authored over 3 years ago by Andy Pan <[email protected]>
opt: prevent the event-list from expanding or shrinking endlessly

github.com/panjf2000/gnet - b220dfd3f3ff9b8ecee4a09170d4db3760393fc0 authored over 3 years ago by Andy Pan <[email protected]>
opt: reduce atomic operations for asynchronous task queues in pollers

github.com/panjf2000/gnet - 90bea0e0ee46176cbfac02e6a2a2b6ebf873db71 authored over 3 years ago by Andy Pan <[email protected]>
Add a new patron

github.com/panjf2000/gnet - 0c9f965f24a6a706ddcfbcc2ba2dd8339e611e8e authored over 3 years ago by Andy Pan <[email protected]>
doc: add the echo benchmarks on macOS

github.com/panjf2000/gnet - f429e7afaf3745574c95bf03d60baeaec2ecd9c1 authored over 3 years ago by Andy Pan <[email protected]>
fix: resolve the data race of stdConn on Windows (#235)

github.com/panjf2000/gnet - 990db79996793dbf6057b182726be3a3e52d75c9 authored over 3 years ago by wz <[email protected]>
chore: update README's

github.com/panjf2000/gnet - b95d9dbc2869bb652de5e217af7e1e87e2156ee5 authored over 3 years ago by Andy Pan <[email protected]>
chore: fix typos

github.com/panjf2000/gnet - 6a5e0a3d98c45921ab948177d88160b024c1ba39 authored over 3 years ago by Andy Pan <[email protected]>
doc: update benchmark results

github.com/panjf2000/gnet - 1b4ae56edf45bb3bc165c183a089fb0a8144ca67 authored over 3 years ago by Andy Pan <[email protected]>
doc: update benchmark results

github.com/panjf2000/gnet - 24e4ce06a4c4e1d3990eec9945c98175763c027f authored over 3 years ago by Andy Pan <[email protected]>
doc: renew benchmark results

github.com/panjf2000/gnet - 21f55a6832d82b88073c51ccfbed8a0e627399c3 authored over 3 years ago by Andy Pan <[email protected]>
fix: don't set option.TCPKeepAlive in listener

Fixes #233

github.com/panjf2000/gnet - 8bdbde36f87ce97572912a59bdd32b9c9e845aad authored over 3 years ago by Andy Pan <[email protected]>
chore: move the ownerships of reactors from server to eventloop

github.com/panjf2000/gnet - bc618a476539aee9b1cb5adb4dfddccdc9cbfe7d authored over 3 years ago by Andy Pan <[email protected]>
chore: improve the CI powered by Github actions

github.com/panjf2000/gnet - c2f911bce8c06c14fd42868024bcc95691f49561 authored over 3 years ago by Andy Pan <[email protected]>
opt: eliminate redundant code for acceptors

github.com/panjf2000/gnet - fd6409304305873b32cffcc9cde2db56283bfe50 authored over 3 years ago by Andy Pan <[email protected]>
chore: change the logging level when the server exits normally

github.com/panjf2000/gnet - 7aee5e1ae68268a6238e08f67c1b2e0077801268 authored over 3 years ago by Andy Pan <[email protected]>
chore: update the copyright information in some source files

github.com/panjf2000/gnet - df369380c995969d2c52380e1f2310d486c1a335 authored over 3 years ago by Andy Pan <[email protected]>
chore: rename the source files of reactors

github.com/panjf2000/gnet - 576524665c353fec2b73cf61b4fff3da1cad4878 authored over 3 years ago by Andy Pan <[email protected]>
chore: use testify to test ring-buffer

github.com/panjf2000/gnet - 1e428aa7cd2431325a9d6881db125947e1bef5fa authored over 3 years ago by Andy Pan <[email protected]>
opt: a minor improvement in grow() of ring-buffer

Updates #226

github.com/panjf2000/gnet - fd8d27ba98237a44c8d37ca9c9ecf02a7365ad44 authored over 3 years ago by Andy Pan <[email protected]>
opt: prevent the ring-buffer from growing too fast

Fixes #226

github.com/panjf2000/gnet - ccd37ff254e47ed4fff3feee79d88849d9444502 authored over 3 years ago by Andy Pan <[email protected]>
chore: add debugging logs when accept() or recvfrom() fails

github.com/panjf2000/gnet - 6beac295cb988a8512c8d0b34713ebece0673a02 authored over 3 years ago by Andy Pan <[email protected]>
opt: introduce a global sync.Pool for netpoll.PollAttachment

github.com/panjf2000/gnet - 4811183f9c9d7e98e3074e1852dad72e5f37f519 authored over 3 years ago by Andy Pan <[email protected]>
chore: rename some files in internal/netpoll

github.com/panjf2000/gnet - ac5dea16ca518761d75d788e8c46894ca4c0b6e2 authored over 3 years ago by Andy Pan <[email protected]>
test: let it fail when running "go test -race -tags=poll_opt" on Linux

github.com/panjf2000/gnet - fe540365b9dc3a9d0035163e6258a64e95abb738 authored over 3 years ago by Andy Pan <[email protected]>