PhotonLibOS v0.10.0
Permanent link:
cppdashboard.dev/r/2026/11/photonlibos-v0-10-0Probably the fastest coroutine lib in the world!
Release notes
## What's Changed Task scheduling and synchronization: * Work-stealing made production-ready, with comprehensive tests by @lihuiba in https://github.com/alibaba/PhotonLibOS/pull/1598 * Global pooled coroutine stack allocator by @Coldwings in https://github.com/alibaba/PhotonLibOS/pull/1599 * Golang-like `go` / `channel` / `select`, and SingleFlight by @Coldwings in https://github.com/alibaba/PhotonLibOS/pull/1108 and https://github.com/alibaba/PhotonLibOS/pull/1097 * WorkPool: configurable `ring_size` via FlexRingChannel and configurable queue yield parameters, plus full usability outside a photon environment by @taoting1234 @MJY-HUST @lihuiba in https://github.com/alibaba/PhotonLibOS/pull/1314 and https://github.com/alibaba/PhotonLibOS/pull/1721 * New and optimized lock primitives: queued spinlock (reimplemented on `thread_local`, no photon vcpu dependency), `qrwlock` for read-heavy workloads, contending mutex, and a faster spin lock by @lihuiba @Coldwings @EricHuangqx in https://github.com/alibaba/PhotonLibOS/pull/962 and https://github.com/alibaba/PhotonLibOS/pull/1131 and https://github.com/alibaba/PhotonLibOS/pull/992 and https://github.com/alibaba/PhotonLibOS/pull/1126 * Scheduler fairness: a standby queue to avoid sleep-queue starvation, `thread_yield_to()` made less prone to starving threads, and better `try_goto` runq placement by @lihuiba @Coldwings in https://github.com/alibaba/PhotonLibOS/pull/979 and https://github.com/alibaba/PhotonLibOS/pull/982 and https://github.com/alibaba/PhotonLibOS/pull/1316 Event-driven I/O: * io_uring cascading engine for I/O, with immediate reaping after eager submit by @lihuiba in https://github.com/alibaba/PhotonLibOS/pull/848 and https://github.com/alibaba/PhotonLibOS/pull/1624 * FUSE adaptor: sync and io_uring session-loop modes, compatibility with the FUSE low-level interface, and a splice API for all loop modes by @haolianglh in https://github.com/alibaba/PhotonLibOS/pull/835 and https://github.com/alibaba/PhotonLibOS/pull/850 Networking and HTTP: * Per-client dialers with injectable dialer / resolver by @Coldwings in https://github.com/alibaba/PhotonLibOS/pull/1572 * Socket pool refactored, and connection idle expiration exposed for pooled connections by @lihuiba @Moonpuck in https://github.com/alibaba/PhotonLibOS/pull/1484 and https://github.com/alibaba/PhotonLibOS/pull/1734 * Proxy support: per-operation proxy URL, plus userinfo in URL and proxy authentication by @pakkah @WaberZhuang in https://github.com/alibaba/PhotonLibOS/pull/1201 and https://github.com/alibaba/PhotonLibOS/pull/1183 * TLS: ALPN client/server options and custom CA certificate support for TLSContext by @Coldwings @Moonpuck in https://github.com/alibaba/PhotonLibOS/pull/1088 and https://github.com/alibaba/PhotonLibOS/pull/1529 * HTTP/2 frame and stream layer (`H2Connection` / `H2Stream`, both client- and server-initiated) with a Huffman codec by @lihuiba in https://github.com/alibaba/PhotonLibOS/pull/1524 and https://github.com/alibaba/PhotonLibOS/pull/1509 — standalone layer, not yet wired into `http::Client` / `http::Server` * Simple WebSocket implementation by @Coldwings in https://github.com/alibaba/PhotonLibOS/pull/1109 * KCP binding by @lihuiba in https://github.com/alibaba/PhotonLibOS/pull/1541 * Bounds against wire-driven allocation: maximum RPC request size, maximum WebSocket frame size, and HTTP client retry backoff capped at 5 seconds by @jfeng18 in https://github.com/alibaba/PhotonLibOS/pull/1307 and https://github.com/alibaba/PhotonLibOS/pull/1309 and https://github.com/alibaba/PhotonLibOS/pull/1250 * vDMA: transportable shared-memory buffers with initiator/target roles by @hapulus798 in https://github.com/alibaba/PhotonLibOS/pull/801 Storage: * Three-tier LRU cache (active → inactive → idle), with an idle LRUContainer for full file cache and the rwlock moved from `LruEntry` to `FileStore` to cut memory usage by @xiaoyang-hhh in https://github.com/alibaba/PhotonLibOS/…
Share this resource