{"repo":"ynachi/kio","free":true,"listed":false,"github":"https://github.com/ynachi/kio","clone":"git clone https://github.com/ynachi/kio.git","description":"Iouring based asynchronous IO lib","language":"C++","stars":11,"topics":["asynchronous","coroutines","cpp20","files","io-uring","linux","bitcask","bitcask-storage-engine","database","keyvaluestore"],"license":"MIT","category":"databases-storage","readme_excerpt":"AIO - Modern C++ Async I/O Library A high-performance, coroutine-based asynchronous I/O library for Linux built on io uring . Tests and demo are built with TSAN enabled and are currently free from any issue. Features - C++20 Coroutines - Natural async/await syntax with zero-overhead abstractions - io uring Backend - Leverages Linux's most efficient async I/O interface - Single-Threaded Per-Core - Thread-per-core architecture for predictable performance - Zero-Copy I/O - Efficient splice / sendfile support via pipe pools - Lazy Timeout Management - O(1) per-operation overhead, optimized for the common case - Structured Concurrency - TaskGroup for safe concurrent task management - Blocking Pool - Offload blocking operations without stalling the event loop - Built-in Observability - Optional statistics and async logging Requirements - Linux kernel 5.11+ (for full io uring feature support) - GCC 14+ or Clang 15+ (C++20 coroutine support and c++23 features) - liburing 2.5+ - OpenSSL 3.2+ (for TLS support) Quick Start Hello World, TCP Echo Server Multi-Core Server Core Concepts IoContext The event loop. Each thread should have exactly one IoContext . Task The coroutine return type. They are lazy, they don't start until awaited. Result Error handling via std::expected . Async Operations File I/O Network I/O Zero-Copy File Transfer Timeouts Polling Structured Concurrency TaskGroup Manages a collection of concurrent tasks with automatic lifetime management. Notifier Cross-thread notif","default_branch":null,"files":null,"tree":[],"storefront":"/r/ynachi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ynachi/kio/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."}