Benchmarks
Compare delivery latency, connection handling, memory, and idle CPU of Murmur and Laravel Reverb, measured on one dedicated server.
On this page
Summary
In these tests, Murmur delivered most events with lower latency, accepted connection bursts faster, and used less CPU while idle. Reverb used less memory per connection. With four processes, Reverb also accepted 60,000 connections and reconnected 10,000 clients in less time.
The results describe Murmur 0.2.0 and Reverb 1.14.0 on one machine, without TLS, a proxy, or network latency. Measure with your own payloads and hardware before sizing a deployment.
Each figure is the median of five runs. Lower is better unless the table says otherwise.
Delivery latency
Every subscriber listens to the same channel, which receives 20 events per second for five seconds. Latency runs from the start of the publish to the moment a client reads the event.
| Subscribers | Server processes | Murmur median | Reverb median | Murmur p99 | Reverb p99 |
|---|---|---|---|---|---|
| 1,000 | 1 | 4.7 ms | 13.0 ms | 9.0 ms | 18.5 ms |
| 1,000 | 4 | 1.3 ms | 3.6 ms | 5.4 ms | 10.1 ms |
| 10,000 | 4 | 11.2 ms | 29.0 ms | 23.2 ms | 42.2 ms |
With 10,000 subscribers and one process, neither server kept up with 20 events per second on this machine, so the table omits that case.
In the next test, 10,000 clients each listen to their own channel on one process, and every event reaches one client.
| Events per second | Murmur p99 | Reverb p99 |
|---|---|---|
| 100 | 1.3 ms | 2.0 ms |
| 500 | 3.3 ms | 1.8 ms |
| 1,000 | 2.4 ms | 7.3 ms |
| 2,000 | 1.1 ms | 3.8 ms |
Connections
| Test | Server processes | Murmur | Reverb |
|---|---|---|---|
| 10,000 clients connect at once | 1 | 1.34 s | 2.52 s |
| 10,000 clients connect at once | 4 | 0.49 s | 0.81 s |
| 60,000 clients connect at a steady pace | 4 | 12.7 s | 10.0 s |
| 10,000 clients reconnect at once | 1 | 1.91 s | 2.67 s |
| 10,000 clients reconnect at once | 4 | 1.12 s | 0.67 s |
The reconnect tests measure different work. Murmur also replayed the five events each client had missed, 50,000 in total. Reverb does not replay events, so its clients only subscribed again.
Memory
The table shows the growth in resident memory of the PHP server processes, divided by the number of connected clients.
| Connected clients | Server processes | Murmur | Reverb |
|---|---|---|---|
| 10,000, connected at once | 1 | 34.7 KiB | 20.8 KiB |
| 10,000, connected at once | 4 | 54.4 KiB | 22.0 KiB |
| 60,000, connected at a steady pace | 4 | 34.6 KiB | 21.3 KiB |
Idle CPU
With 10,000 connected clients and no events for about two minutes, one Murmur process used 0.42% of a CPU core and one Reverb process used 1.89%.
This cost comes from keeping connections alive, and the two protocols do it differently. During the test Murmur sent 60,000 heartbeats. Reverb answered 40,000 pings, because Pusher protocol clients ping the server after 30 seconds without a message.
Publishing
A client that publishes over signed HTTP, one request at a time and with no subscribers connected, completed 3,897 requests per second on Murmur and 2,545 on Reverb. Higher is better.
How the tests ran
- Machine: an AWS
c8g.4xlargewith 16 vCPUs, used only for these tests in December 2026. The servers, Redis, and the test clients ran in one Docker container on separate CPU cores. - Software: PHP 8.4.28 with
ext-uv, Laravel 13.44.1, and Redis 8.12.0. - One process: each server had one CPU core.
- Four processes: each server had four CPU cores and used Redis. Murmur ran
murmur:serve --workers=4on one port. Reverb ran four servers with scaling enabled on four ports, and the clients were spread evenly between them without a load balancer. - Publishing with four processes: the test published to Murmur through its Redis driver and to Reverb through the HTTP API of one server. Spreading the Reverb requests over all four servers gave nearly the same latency.
- Settings changed from the defaults: Murmur's connection and socket limits were raised to fit the number of clients. Reverb's listen backlog was raised to 4,096, the default in Murmur.
The test scripts are not published.