Skip to content
CAI
Produce a survey ↗Verify a survey

osenv/swoole-src

This system is a high-performance, asynchronous, coroutine-based networking and concurrency framework for PHP, known as Swoole. It provides a comprehensive suite of tools for building scalable network applications, featuring support for HTTP/1, HTTP/2, WebSocket, TCP, UDP, and Unix sockets. The framework includes built-in clients and servers for databases like MySQL, PostgreSQL, and Redis, alongside utilities for process management, memory mapping, and atomic operations. Additionally, it offers extensive benchmarking scripts and a robust test suite to ensure stability across various protocols and runtime environments.

37.5

Weak · 5 August 2026

8.6k

lines of production code

PHP

primary language

1

bus factor · 101 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2012–2014 · Core C extension architecture

This period focused on building the foundational C/C++ infrastructure for the Swoole framework, introducing core modules for networking, memory management, and process/thread factories. The work established the internal API and data structures necessary to support high-concurrency server and client operations.

21 changes

2015–2016 · comprehensive example and benchmark expansion

This period focused on extensively expanding the project's example suite, introducing new scripts for networking protocols, database interactions, and concurrency patterns. The work also included adding benchmarking tools and utility scripts to support testing and performance evaluation.

20 changes

2017 · Test coverage expansion and HTTP/2 support

This period focused on establishing a comprehensive automated testing infrastructure for the Swoole project, introducing unit tests for nearly all core components including HTTP/2, coroutines, and async I/O. The work also added example scripts and SSL certificates to demonstrate new HTTP/2 client and server capabilities.

23 changes

2018 · Coroutine integration and testing

This period focused on expanding the coroutine subsystem by adding comprehensive examples and test coverage for Redis, PostgreSQL, and socket communications. The work emphasized validating the behavior of the new coroutine APIs, including handling edge cases, connection states, and asynchronous workflows across various protocols.

7 changes

CAI lens gauges

Survey your own repository

osenv/swoole-src was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d047dd81c8 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards