Skip to content

v2.0.0

Latest

Choose a tag to compare

@EtaCassiopeia EtaCassiopeia released this 05 Mar 04:13
42ec2df

GMF v2.0.0 — Runtime-Agnostic gRPC Server Framework

Major rewrite: GMF is now a runtime-agnostic, thread-per-core gRPC server framework.

Highlights

  • Runtime-agnostic architecture — choose between monoio (default), glommio, or tokio
  • Thread-per-core design — one event loop per CPU core, zero cross-thread synchronization
  • io_uring support — syscall batching via monoio/glommio on Linux 5.6+
  • Graceful shutdownserve_with_shutdown accepts any Future<Output = ()>
  • CPU pinningsched_setaffinity per core for L1/L2 cache locality
  • SO_REUSEPORT — kernel-level connection distribution, no userspace load balancing

Runtimes

Runtime Feature Platforms Backend
monoio (default) monoio-runtime Linux, macOS io_uring / kqueue
glommio glommio-runtime Linux only io_uring
tokio tokio-runtime All epoll / kqueue

Breaking Changes