DEV Community

徐旭
徐旭

Posted on

2

[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

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay