DEV Community

徐旭
徐旭

Posted on

[gev] (Support WebSocket Now)A lightweight, fast non-blocking TCP network library based on Reactor mode

gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.

Now it supports websocket.

➡️➡️ https://github.com/Allenxuxu/gev

Features

  • High-performance event loop based on epoll and kqueue
  • Support multi-core and multi-threading
  • Dynamic expansion of read and write buffers implemented by Ring Buffer
  • Asynchronous read and write
  • SO_REUSEPORT port reuse support
  • Support WebSocket
  • Support for scheduled tasks, delayed tasks

Throughput Test

Alt Text

Alt Text

➡️➡️ https://github.com/Allenxuxu/gev

Top comments (0)