gnet
gnet copied to clipboard
🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
**Describe the bug** 服务突然出现大量的此类错误,然后整个服务不可用。 想问下什么场景会出现此类错误 **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **System Info...
不知道是使用不当,还是程序的bug,出现这个后,程序出现假死,收不到消息了,但程序并未退出,问题如下:  即出现这几行错误日志后,程序不再接收消息。我查了一下代码,调用如下 1.start后,server_unix.go的171行开始调用  2.然后是reactor_default_linux.go的35行调用后,返回第一个错误  3.调用的是acceptor_unix.go的这个方法,  从以上看出返回的错误是3步的38行,打印出Accept() fails due to error: too many open files这行错误日志 然后走到2是39行打印出main reactor is exiting due to error: accept a new connection error这行日志错误后,程序不再接收消息...
### Actions I've taken before I'm here - [X] I've thoroughly read the documentations about this problem but still have no answer. - [X] I've searched the Github Issues/Discussions but...
## 1. Are you opening this pull request for bug-fixes, optimizations or new feature? New feature ## 2. Please describe how these code changes achieve your intention. This PR will...
### Description of new feature 1. 当前gnet的客户端使用的是gnet.client+ eventhandler的形式来创建连接,这对于连接重连这样的逻辑不是很友好 2. asyncwritev这样传输一个[][]byte, 这里是否可以增加内存管理的功能呢 ### Scenarios for new feature 需要实现一个高效的sub-pub message system. 本来是异步的方案,采用gnet比采用netpoll好一些,netpoll本身提供了相当于[][]byte级别的内存管理。另外,感觉gnet的客户端库是否可以和服务端不一样呢 ### Breaking changes or not? Yes ### Code snippets (optional)...
## 1. Are you opening this pull request for bug-fixes, optimizations or new feature? new feature ## 2. Please describe how these code changes achieve your intention. This PR is...
### Actions I've taken before I'm here - [X] I've thoroughly read the documentations about this problem but still have no answer. - [X] I've searched the Github Issues/Discussions but...
### Description of new feature Would be great if the `Conn` was a generic interface. Like: ```go // ConnG is a generic interface of underlying connection. type ConnG[Ctx any] interface...
### Questions with details 您好,请问一下,支持绑定多个IP吗?(不侦听“0.0.0.0”的情况下) ### Code snippets (optional) _No response_