Framework Competition — Volucer (attach)

Volucer's `attach` backend: the framework boots ONCE, in a supervisor the deployment owns, and every request is served from that already-built state. `deploy/volucer/attach.php` listens on a unix relay and forks a child per connection; volucer dials it. End-to-end HTTP over loopback — includes the constant webserver overhead; framework differences smaller than that floor are below its noise. Single sequential client. Whether a row also carries part of the worker's boot depends on the pool's max_jobs, which the dataset records.

PHP 8.5.11 · Linux 6.8.0-139-generic · volucer-attach mode · 1000 iterations per run over 10 runs · charts show the median as a faint bar + dot with the fastest → p95 range, lower is better

Boot model: the worker is never recycled (one long-lived worker), so no boot is added to these requests; the one-time recycle is measured in the startup chart

Framework startup — worker re-init (Volucer attach)
Framework startup — worker re-init (Volucer attach)
Total response times
Total response times
Resident worker memory
Resident worker memory

Feature benchmarks

Routing

GET / — dispatches a request through the router and returns a rendered template — no database access. The `/echo` band runs the same path with a constant handler instead, so what the template render costs can be read off directly rather than inferred.

Routing
ORM / Active Record

GET /items — loads one page of the 1,000 seeded rows through each framework's ORM / Active Record layer: 20 items plus a COUNT for the pagination total. The `-fast` band repeats that page with hydration switched off, so the cost of building one object per row can be read directly instead of inferred.

ORM / Active Record
Query Builder

GET /items-qb — builds the same page of 20 items with each framework's query builder instead of its ORM, so the two data-access styles can be compared directly.

Query Builder
REST API (JSON)

GET /api/items — serves the same page of items as a JSON response rather than HTML, which adds serialization to the ORM work. The `-fast` band repeats that response with hydration switched off, so serialization cost and hydration cost can be told apart.

REST API (JSON)
AOP (Aspect-Oriented)

GET /features/aop — runs a request through an interceptor pipeline — logging, retry and middleware aspects wrapped around the handler. Only frameworks with an AOP layer take part.

AOP (Aspect-Oriented)
Cache

GET /features/cache — reads a COUNT(*) over the 1,000 rows through the framework's cache with a 10-second TTL, so a hit costs no database work and a miss runs the query.

Cache
Database Events

GET /features/db-events — inserts one event row per request and lets the framework's database events fire around that write.

Database Events
Event Dispatcher

GET /features/events — dispatches an in-process event to registered listeners.

Event Dispatcher
Validation

GET /features/validation — validates a payload with the framework's own validator.

Validation
Config

GET /features/config — resolves a value from the framework's config repository.

Config
Request-Scoped Services

GET /features/request-scoped — resolves a service scoped to the request from the container.

Request-Scoped Services
Rate Limiter

GET /features/rate-limit — checks a cache-backed rate limiter.

Rate Limiter

Latency by endpoint (ms, trimmed mean — lower is better) — the worker is never recycled (one long-lived worker), so each number is the measured request with no boot in it

RequestWorkloadAzeraLaravelSymfonySpiralCodeIgniterCakePHP
GET /no DB — routing + template only0.1900.3950.2450.4800.6510.294
GET /echono DB — routing + dispatch only0.1750.3570.2240.4590.5230.243
GET /items20 of 1000 items (page 1, + COUNT)0.3020.9090.8490.8141.030.713
GET /items-fast20 of 1000 items (page 1, + COUNT), hydrated rows not built0.2710.7170.7950.7320.9810.665
GET /items/11 item by id0.2290.6880.5000.6250.9120.554
POST /items1 row upserted (sentinel #999999)0.3340.6830.6950.7111.010.740
GET /items-qb20 of 1000 items (page 1, + COUNT)0.2870.7120.5500.6640.9460.609
GET /items-qb/11 item by id0.2340.6330.4170.5570.9000.521
POST /items-qb1 row upserted (sentinel #999997)0.2850.7190.5750.6311.090.571
GET /api/items20 of 1000 items as JSON0.2660.7810.5190.6240.9080.495
GET /api/items-fast20 of 1000 items as JSON, rows not hydrated0.2330.5810.4690.6130.8200.452
GET /api/items/11 item by id as JSON0.2170.6620.4490.6280.8650.449
POST /api/items1 row upserted (sentinel #999998)0.2500.6630.6160.6880.9040.580
GET /features/aopno DB — interceptor pipeline0.3260.6250.4810.825——
GET /features/cacheCOUNT(*) of 1000 rows, cached 10s (miss = query)0.1810.4750.2510.5690.6350.245
GET /features/logno DB — buffered log handlers0.1830.4380.2490.558——
GET /features/retryno DB — retry policy0.1790.4580.2560.650——
GET /features/pipelineno DB — middleware pipeline0.1820.4590.2520.576——
GET /features/db-events1 event row INSERTed per request0.2480.6970.5050.8020.9830.512
GET /features/eventsno DB — in-process listeners0.2380.5130.3530.6150.9210.410
GET /features/validationno DB — validator run0.1841.090.4560.6210.8640.387
GET /features/configno DB — config lookup0.1690.4350.2420.5520.6630.255
GET /features/request-scopedno DB — scoped service resolve0.1760.4290.2510.5760.6540.260
GET /features/rate-limitno DB — cache-backed limiter0.1760.4930.2650.5920.6470.273