September 20th 2026 — Andrei Merlescu publishes the first commit for concert 🎸, a FIFO waiting room written in Go built for the web. Open Source.
andreimerlescu
/
concert
Concert is a Reverse Proxy for Room
Concert
A FIFO waiting room reverse proxy. Put Concert in front of any HTTP origin, such as a PHP site, a WordPress install, or a legacy app that falls over under load. When traffic exceeds what the origin can handle, visitors wait in an orderly queue with a live position instead of getting 502s and timeouts. Admitted visitors load their page's assets through a separate tier that queued and denied visitors can't reach, and clients that misbehave are blocked for an escalating cooldown.
Concert is a single Go binary built on:
- room, a FIFO waiting room middleware for Gin
- sema, a resizable semaphore
- the
esspackage of naddr, which tells the admin portal who owns every address it shows: country flag, ASN, network, and the IPv4, IPv6 and IPv8 forms
Why
A PHP-FPM pool has a fixed number of workers (pm.max_children). When every worker is…
This article was not written by an AI. You're hearing directly from the horse's hands through the screen. 👋 hey 🤩
A Turning Point
I have spent decades managing nginx, httpd | apache2, caddy and haproxy. They're great technologies. In 2026 I reached a turning point where I wanted to build concert 🎸, a first in, first out waiting room that I could place in front of my websites running on small hosts.
What started as a single binary called concert, the project has become four now.
-
concertremains and it's been enhanced further (keep reading) -
concert-benchis a benchmark utility to keep the system healthy -
econcertis an enterprise compliant concert -
wpconcertis a multi-site server withConcertfilesupport, safe for WordPress.
The concert application went from only serving a waiting room for small hosts to a full fledged enterprise ready drop in replacement to Caddy or nginx or apache.
All three binaries were built in collaboration with Claude Opus 5.5 and Gemini 4 Neon by a computer engineer guiding the process.
Three Editions, One Code Base
The concert code base contains the source for each of the binaries. The binaries use a subset of the source that each require to operate correctly.
🥇 concert is the primary edition that serves a waiting room reverse proxy
🥈 wpconcert is a WordPress specific edition that serves a waiting room built for WordPress and *cgi applications in general.
🥉 econcert is the full edition that serves an enterprise waiting room reverse proxy
Both the 🥇 base and 🥈 editions are free and open source software under the Apache 2.0 license.
The 🥉 Enterprise edition is a licensed service. The enterprise-only packages in the concert repository is copyright AGPL-3.0 where the concert and wpconcert binaries are copyleft Apache 2.0.
The 🥉 Enterprise edition will require a valid license key to operate. It's priced based on sum of all the rooms capacity. If they deploy a 50-node cluster of concert that serves 100K room capacity, that'll need a sales call. Book a time on my cal.com/andreimerlescu
More Than Just One Package
The concert binary and its compliments are built on top of other open source technology written by others and myself included. Specifically, it depends on room, which also depends on sema. Both of which I built specifically to serve this larger purpose, but divide the work across the respective domains.
Faster Waiting Room Core
Concert is built on room which is built on sema, two other Go packages that I published on my GitHub.
sema got upgraded to v1.3.0 which added PrioritySemaphore —introducing four O(1) priority admission tiers (PriorityLow through PriorityCritical, strict FIFO per tier) alongside a lock-free HighestWaitingPriority() contention signal, while keeping Semaphore 100% backward-compatible.
room upgraded to non-draining capacity shrinking, O(log N) treap-backed queue storage with parallel RLock polling, lazy-heap reaping, and post-spike compaction, and stateless Ed25519 signed rm1 passes and leases (with verify-only split mode, fail-closed Validate(), and EventTokenRejected hooks).
Replacing O(N) queue scans and write-locked status checks with O(log N) treaps, parallel RLock polling, O(1) bitmask priority dispatch, and zero-Redis local Ed25519 verification cuts lock contention and keeps queue latency flat even under massive traffic spikes.
The Concertfile
A Concertfile is Concert's declarative configuration file (with a strict .json alternative) loaded via -config to run multiple virtual hosts behind a single :443/:80 listener.
A global { ... } block configures shared settings like TLS, HTTP/3, and the Admin Portal, while each hostname block defines its own isolated waiting room, upstream (http:// or fcgi+unix://), os.Root static root, micro-cache, and security policies.
It acts as the single source of truth for your deployment, supporting zero-downtime hot reloads via SIGHUP or the Admin Portal with automatic rollback if any syntax or validation check fails.
# /etc/concert/Concertfile
{
listen :443
http_listen :80
tls_email ops@example.com
tls_cache /var/lib/concert/acme
hsts_max_age 31536000
http3 on
data_dir /var/lib/concert/data
portal_listen 127.0.0.1:8081
portal_allow 127.0.0.1/32, ::1/128
body_read_idle_timeout 30s
max_upload_time 10m
}
shop.example.com, www.shop.example.com {
preset wordpress
root /var/www/shop
upstream fcgi+unix:///run/php/php8.3-fpm.sock
cap 12
priority_cap 4
micro_cache 15s
secure_cookie on
ban_paths /xmlrpc.php, /.env, /.git/*
}
api.example.com {
upstream http://127.0.0.1:3000, http://127.0.0.1:3001
root /var/www/api-static
assets /static/*
bypass /healthz
cap 40
priority_cap 10
max_queue 1000
secure_cookie on
}
Run it with wpconcert -config /etc/concert/Concertfile (or econcert), and hot-reload changes with zero downtime via kill -HUP $(pidof wpconcert) or the Admin Portal's Reload config button.
Built for WordPress & Multi-Site Hosts
Keeps your site up during traffic spikes—without Nginx or Apache:
wpconcert talks directly to PHP-FPM, serves images/CSS/JS straight from disk, and places extra visitors in an orderly waiting room sized to your PHP workers so your server doesn't crash with 502/504 errors.
Instant caching that doesn't breaks logins or WooCommerce carts:
A built-in short-lived micro-cache absorbs sudden bursts of anonymous visitors in under a millisecond while automatically bypassing logged-in users, /wp-admin, and active WooCommerce carts so checkouts stay fresh and private.
One-command setup with WordPress security turned on by default:
wpconcert init and wpconcert doctor inspect your PHP-FPM pool and generate a properly sized Concertfile, automatically blocking /wp-config.php, uploaded .php webshells in /wp-content/uploads/, and /xmlrpc.php scanners before PHP ever wakes up.
Some PHP scripts can take a long time to execute and that's normal. wpconcert is built for that utility of the language and the way services use PHP. The WP is a dad-joke level alternative acryonym called Why PHP not WordPress. Why? Indeed. 😂
Enterprise Mesh & Zero-Downtime Fast-Lane (econcert)
Active-active edges now get traffic-weighted leaf capacity shares, native leaf mTLS, and live drained re-benchmarking.
Fast-Lane adds online settlement reconciliation, 80%/95% journal alerts, and audited receipt archival.
Traffic-Weighted Multi-Edge Mesh & Live Re-Benchmarking:
Active-active edge nodes report live queue demand so leaf hosts split capacity proportionally to real traffic (with alert deduplication), and admins can recalibrate any leaf live via drained re-benchmarking—with a built-in 409 guard that refuses to drain the last healthy leaf.
Native Leaf mTLS & Single-Use Hop Replay Defense:
Leaves verify edge client certificates directly on their main TLS listener (-hop-require-mtls) while still accepting direct public browsers on the same port, and protects every Concert-Hop claim with single-use nonces backed by a 256-shard O(1) replay cache that fails closed under -enterprise-hardened.
Fast-Lane Payment Operations:
Reconciles pending or unresolved x402 settlements live from the Admin Portal or API without restarting, receives automatic warning/critical alerts at 80% and 95% receipt-journal capacity, and safely compacts old expired receipts with the audited econcert archive-receipts command.
Conclusion
concert 🎸 is a big project. I don't deny that. It's an ambitious project too. I am confident that it was effort well spent.
I've been doing linux system administration and software engineering as a computer engineer for 18 years now professionally. I studied circuit design and C. I taught C++ classes to my peers. I wrote PHP professionally and won gold medals in SkillsUSA because of it. I've been the brains behind multiple digital publications for decades.
Making this technology open source and readily accessible with enterprise level support is next level sow where you want to reap. Literally, the software is free, and enterprise customers are enterprise because they are buying managed support services during business hours to support for-profit companies.
Licenses
The software is Apache 2.0 and the enterprise functionality is AGPL-3.0. Specifically the packages used by the enterprise layer are AGPL-3 marked. Apache 2.0 files are also marked clearly. The LICENSE file indicates the dual license in the repository clearly for agents.
Sow Where You Want To Reap
My work is open source on my github. You can sow where you want to reap by becoming a Sponsor.
If you want to collaborate, speak or collaborate, feel free to put something on my cal.com/andreimerlescu.
Fractional CTO services are 3 hour blocks at $369 each. Consulting services including meetings regarding concert and my other open source work fall into this category. Reservations are handled through cal.com/andreimerlescu.
Hackathon services are up to 9 participants at $369 each. This is where you have an enhancement to something, or a new idea, or you want to change something I built, this give you the chance to sow where you want to reap. It gives the project a $369 budget where paywall can be considered approachable to accomplish the project. Meaning. If we use AI, then we have usage credits for a given project. With Gemini 4 Neon Extra High on a Max subscription, the 35M tokens a day upgrade from 5M day on Claude Pro has been a dramatic 7x upgrade in my utilization of frontier AI models. I'll consider adjusting this given Neon's capabilities. Frankly speaking, it was priced for Claude's tax.
I can help you integrate what I built into your company. Use the time for Q & A if you have tech chops yourself.
If you want more functionality added to it upstream but don't want to invest the energy into it, sponsor a hackathon and the results will get published open source.
Using Concert 🎸
There are dozens of websites in the wild that currently use concert in its pre v0.3.0 release, which is why I am publishing this article announcing the completed release before releasing it.
Before releasing econcert and wpconcert I am going to put them through a production test of my own stuff first. Before subjecting you. Any AI can say that this code is ready to go, but concert v0.2.0 has been stable in production for a long time, but removing nginx and haproxy itself in a multi-node setup was a major undertaking.
To date, I haven't been able to capture the full token consumption of the project (hence what toktail's purpose is) but I estimate that between Claude and Gemini 4 Neon, I've been billed for over 1B tokens for this one project over the last few months since I released it the day before Fall 2026 began. Literally, the concert started then.
If you're using concert, plug your site below in the comments and tell me your thoughts on it. I value your feedback and will include it.
If you're not yet using concert but are interested after reading this, toss something on my cal.com/andreimerlescu and let's start building 🚀








Top comments (0)