qmetrics.net

Tokio

Rust runtime for reliable asynchronous network applications

Tokio screenshot

Tokio is an event-driven, non-blocking I/O platform for asynchronous Rust programs. It supplies scheduling, timers, async TCP and UDP, and building blocks for network services.

Overview

Tokio targets Rust developers who need a runtime for reliable asynchronous applications. It is an asynchronous runtime that provides I/O, networking, scheduling, timers, and related facilities for network programs ranging from large multi-core servers to small embedded systems.

Core pieces include a multithreaded work-stealing task scheduler, a reactor tied to the host operating system event queue, and asynchronous TCP and UDP sockets. These parts form the basis for clients and servers built with async/await in Rust.

Its APIs are memory-safe, thread-safe, and resistant to common misuse patterns such as unbounded queues, buffer overflows, and task starvation. A multi-threaded scheduler is intended to handle high request rates with modest overhead.

Tokio is often used together with ecosystem crates for HTTP, gRPC, middleware, tracing, and low-level I/O abstractions maintained alongside the runtime. Example use cases include basic TCP echo servers and larger sample applications.

Key features

  • Work-stealing task scheduler
  • OS-backed async reactor
  • Async TCP and UDP sockets
  • Timer and filesystem runtime facilities
  • async/await integration
  • Backpressure-aware execution
  • Modular related networking crates
  • Scales from servers to embedded targets

Use cases

  • Building async TCP and UDP servers
  • Network clients and proxies in Rust
  • Services needing concurrent I/O
  • Foundations for HTTP and gRPC stacks
  • Embedded or constrained async workloads

Tags

Similar software

Netty

Event-driven Java framework for protocol servers and clients

Netty is an asynchronous, event-driven network stack for building maintainable high-performance protocol servers and clients in Java.

★ 35.1k⟳ todayApache-2.0

libuv

Cross-platform asynchronous I/O support library

libuv is a multi-platform library centered on non-blocking I/O. Node.js and several other runtimes embed it for networking and event handling.

★ 27.4k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Ws

Node.js WebSocket client and server library

The ws package implements WebSocket client and server roles for Node.js. It is not for browser runtimes; front ends should use the native WebSocket API or an isomorphic wrapper.

★ 22.8k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

WebRTC

Pure Go WebRTC stack for real-time media

Pion WebRTC implements the WebRTC API in Go without cgo, enabling peer connections, media, data channels, and ICE across servers, desktops, mobile, and WebAssembly targets.

★ 16.9k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Workflow

C++ async networking and parallel workflow engine

Sogou C++ Workflow is an enterprise-style C++ engine for HTTP servers, async clients, DAG workflows, and parallel compute used in Sogou’s online backends.

★ 14.4k⟳ 2 days agoApache-2.0

PeerJS

Browser WebRTC library for peer data and media connections

PeerJS wraps WebRTC with a simple JavaScript API for encrypted peer-to-peer data channels and video or audio calls between browsers.

★ 13.5k⟳ 1 year agoMIT
Frameworks & PlatformsDesktop/CLI app