{"repo":"panjf2000/gnet","free":true,"listed":false,"github":"https://github.com/panjf2000/gnet","clone":"git clone https://github.com/panjf2000/gnet.git","description":"🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.","language":"Go","stars":11232,"topics":["event-driven","event-loop","networking","non-blocking","epoll","kqueue","go","golang","reactor","tcp"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"English 中文 🎉🎉🎉 Feel free to join the channels about gnet on the Discord Server. 📖 Introduction gnet is an event-driven networking framework that is ultra-fast and lightweight. It is built from scratch by exploiting epoll and kqueue and it can achieve much higher performance with lower memory consumption than Go net in many specific scenarios. gnet and net don't share the same philosophy in network programming. Thus, building network applications with gnet can be significantly different from building them with net, and the philosophies can't be reconciled. There are other similar products written in other programming languages in the community, such as libuv, netty, twisted, tornado, etc. which work in a similar pattern as gnet under the hood. gnet is not designed to displace the Go net, but to create an alternative in the Go ecosystem for building performance-critical network services. As a result of which, gnet is not as comprehensive as Go net, it provides only the core functionality (via a concise set of APIs) required by a network application and it doesn't plan on becoming a coverall networking framework, as I think Go net has done a good enough job in that area. gnet sells itself as a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go which works on the transport layer with TCP/UDP protocols and Unix Domain Socket. It enables developers to implement their own protocols(HTTP, RPC, WebSocket, Redis, etc.) of application l","default_branch":null,"files":null,"tree":[],"storefront":"/r/panjf2000","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/panjf2000/gnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}