High-Traffic Event Registration and QR Ticketing Without Crashes
Key takeaways
- Crashes usually come from everyone trying to buy the same limited seats at once.
- A waiting room lets people in at a controlled pace and protects the system.
- Hold a seat briefly during payment, then release it if payment fails.
- Treat payment confirmations as repeatable messages. Processing one twice must not issue two tickets.
- Rehearse with realistic load before sale day.
Why ticketing sites crash
A ticket sale is one of the hardest things a website can do. Thousands of people arrive in the same minute, all want the same limited items, and each purchase has to be exact.
Several problems tend to combine.
- Many requests update the same few records, such as the number of seats left.
- A database transaction stays open while the system waits for a slow payment response.
- Every visitor loads heavy pages that could have been cached.
- Nothing limits how many requests one visitor or bot can send.
- Emails and ticket files are generated while the customer waits.
Most of these can be designed out before sale day.
Waiting rooms, caching and rate limits
- A waiting room admits a limited number of buyers at a time and holds the rest in an orderly queue. It protects the system from being overwhelmed.
- Caching serves event information and images without hitting the database every time.
- Rate limits slow down bots and repeated requests from the same source.
- Background jobs handle emails, receipts and ticket files after the purchase, so the customer is not kept waiting.
Our guide to website speed on Nigerian mobile networks explains how to keep pages light for buyers on slow connections.
Avoiding deadlocks and slow locks
A deadlock happens when two operations each wait for the other to release a lock. The database cancels one of them, and the buyer sees an error.
Several habits reduce the risk.
- Keep database transactions short, and never wait for a payment provider while a transaction is open.
- Change records in a consistent order, so operations do not block each other in circles.
- Update as little as possible in each step.
- Reduce the available count with one safe operation that only succeeds if enough seats remain.
- Where demand is extreme, send inventory changes through a queue so they are processed one at a time.
- Retry failed operations safely, with short, increasing delays.
Seat holds and expiry
When a buyer starts checkout, hold the seat for a short, fixed time. Show a countdown so the buyer knows how long they have.
If the time runs out, release the seat automatically and check availability again before taking payment. Decide in advance what happens if a payment arrives after the hold has expired. You might honor it if the seat is still free, or refund it. Whatever you choose, apply the same rule to everyone.
Payments and ticket issuing
- Create the order and hold the seats.
- Send the buyer to the payment provider.
- Wait for the provider’s verified payment notification. Do not rely only on the buyer returning to your site.
- Issue the ticket once, using the payment reference to prevent duplicates.
- Send the ticket through a background job.
Payment notifications can arrive twice, late or out of order, so the system must handle repeats safely. Our guide to connecting website forms, CRM and payments explains duplicates and verifying notifications.
QR tickets and gate entry
A QR code should point to a unique ticket that the system can check. Make the code hard to forge, for example by signing it, and mark the ticket as used the first time it is scanned. A second scan should be flagged.
Gates often have unreliable internet. One option is to load the valid ticket list onto scanning devices before the event and sync results afterwards. Remember that two offline gates cannot see each other’s scans, so decide how to handle a ticket scanned at both.
Plan for failure too: charged devices, a printed backup list and a clear procedure for disputes.
Load testing and monitoring
Do not guess how the system will behave. Test it.
- Estimate how many people will arrive in the first minutes of the sale.
- Test at or above that level, using the full journey, including checkout and payment in test mode.
- Watch error rates and response times, not just whether the site loads.
- Fix the slowest steps and test again.
- Rehearse the event day and have a rollback plan.
Sale-day checklist
- Freeze changes to the site before the sale.
- Confirm your hosting limits with the provider.
- Check that payments work end to end.
- Prepare short messages for customers in case of delays.
- Have someone watching errors and orders live.
- Prepare gate procedures, scanners and a backup list.
Should you use an existing ticketing platform?
For many events, an established ticketing platform is cheaper, faster to set up and already proven. Fees, payout terms and branding limits vary, so compare them.
A custom system can make sense when you need your own branding and data, special ticket rules, integration with other systems or repeated large events. Choose it for a clear reason, not because it sounds impressive.
How Naija Free Websites approaches this
High-traffic event ticketing is a custom project, scoped individually. We do not publish capacity figures. Any capacity target would be agreed in writing and tested as part of your project.
I recommend asking any vendor, including us, how they will test peak load before your sale date, and what happens if something fails. Custom projects are quoted separately, and hosting, payment and other third-party costs may apply. Our standard monthly and ownership plans have no upfront development fee. See the pricing page.
Frequently asked questions
Can WordPress sell tickets for a large event?
For small and medium events with suitable hosting and plugins, yes. For very large sales where thousands arrive at once, you need queueing and careful database design, and a standard setup may not be enough. Test before you commit.
How many people can the system handle?
There is no honest answer without testing. Capacity depends on design, hosting and what each visitor does. Ask for a target in writing and evidence that it was tested.
How are fake tickets prevented?
Each ticket has a unique, hard-to-forge code that the system checks at the gate and marks as used on first entry. A second scan is flagged. Good gate procedures matter as much as the code.
Should we build our own system or use a platform?
Use a platform for simple events. Consider a custom build when you need your own data, special rules or integrations, or you run large events often. Compare total costs, including fees on every ticket.
What if payment succeeds after the seat hold expires?
Decide the rule before the sale. You may honor the order if the seat is still available, or refund it. Apply the same rule to everyone and tell buyers clearly.