A travel ticketing platform cannot be sized reliably from its catalogue of features or a guessed number of simultaneous visitors. A useful sizing exercise begins with the work each journey actually creates: searches, price checks, booking attempts, supplier responses, database writes and the background tasks that resolve uncertain outcomes.
This guide turns travel ticketing server requirements into a measured load-test decision. It focuses on repeatable traffic, provider boundaries, observable bottlenecks and evidence that a booking really completed. Every figure in the worked example is hypothetical, not a minimum specification or a throughput promise.
Define Capacity as Completed Work, Not a Server Specification
“How large a server do we need?” is a reasonable commercial question but a poor starting test question. An instance can show modest CPU use while travellers wait for a supplier response, a small connection pool or a congested queue. Conversely, high CPU for a short burst might be harmless if the system still completes the intended work within an agreed delay. Capacity needs a workload, a success definition and an observation window.
Start with a bounded statement: under a specified arrival rate and supplier behaviour, can the platform sustain its search and booking journey while keeping response latency, error rates, uncertain bookings and reconciliation delay within agreed limits? The word “sustain” matters. A thirty-second demonstration at peak speed says little about connection leakage, memory growth, queue accumulation or database contention over a busy period.
Distinguish Attempts from Useful Transactions
A search request can return a valid result or a clearly explained no-availability outcome. A price check is useful when it returns an authoritative quote for the specified itinerary or an explicit change or unavailability response. A booking attempt is not necessarily a completed booking. A positive browser animation, local row marked “pending” or successful payment authorization cannot by itself establish that a ticket was issued.
Define separate counters for searches attempted, searches answered correctly, price checks answered, booking attempts submitted, supplier-confirmed bookings, tickets confirmed where ticket issuance is required, payment outcomes verified, and attempts still unresolved at the observation deadline. Track duplicates and inconsistent records explicitly. If a supplier confirms an order but ticket issuance is asynchronous, count the order confirmation and later ticket evidence separately rather than silently treating them as the same event.
Map Each Journey to Its Own Workload
Search and Results Browsing
Search often has the highest arrival rate. A request may validate dates and passengers, read local configuration, call one or several inventory sources, normalize offers, apply business rules and store short-lived results. The CPU cost of transformation and the wait for remote inventory are different components. A cache hit can create a dramatically lighter path than a cache miss; neither should be assumed to represent the other.
Model typical searches, more expensive multi-segment searches if supported, and empty-result responses. Preserve the expected distribution of route and date combinations. Reusing exactly one request can give unrealistically favourable cache behaviour, while randomizing every input can make caching impossibly ineffective. Label both patterns and document which one informs the decision.
Price Checks and Booking Submission
Price checking verifies whether a chosen offer remains available and what conditions apply at the time of selection. It may depend on earlier search output, so the load generator must carry a valid offer reference and respect its lifetime. Do not fabricate supplier identifiers or assume a field exists merely because it would simplify the script. Verify the actual contract and test environment before constructing these requests.
Booking is a stateful path. It can involve passenger validation, a supplier order, local persistence, payment processing and later ticket confirmation, with different authorities for each outcome. The test must distinguish a request accepted by the local API from a supplier-confirmed order and a verified payment result. An explicit supplier rejection is different from a missing supplier response. The latter remains unknown until reconciliation finds reliable evidence.
Reconciliation and Operational Background Work
Background work is not free capacity. Status enquiries, webhooks, scheduled checks, ticket document retrieval, notification jobs and audit updates may consume worker time, database connections and external request quotas. Include the parts that actually exist in the application under test. For a focused capacity run, isolate uncertain-booking reconciliation as a named workload and measure its oldest outstanding age as well as processing rate.
Write the Assumptions Before Running Traffic
A ticketing capacity worksheet should begin with buyer-specific assumptions that someone else can challenge. Record expected active sessions, searches per session, selection rate, booking attempt rate, typical journey duration and the time-of-day shape. Sessions help explain behaviour, but arrival rates are better for capacity because a browsing session can generate many requests or remain idle for several minutes.
Use at least three operating shapes: a baseline period, a sustained design peak and a short controlled burst. A smooth average hides the opening minutes of a promotion, scheduled agency activity or batch retries. State whether arrivals remain fixed even when the application slows. An open-arrival workload exposes accumulating demand more honestly than a closed loop in which slow responses automatically reduce the number of new requests.
Separate business demand from the traffic actually permitted to reach a supplier. External rate limits, burst allowances, parallel-request caps, sandbox restrictions and contractual usage rules are not interchangeable. No such limits are assumed to be universally available. Before testing a real integration, obtain the applicable allowance and permitted testing method from the provider; otherwise run a controlled simulator with explicitly described delay, rejection and timeout behaviour.
Make Supplier Behaviour a Test Input
At minimum, describe a normal response distribution, a slow-response interval, an explicit rejection and an ambiguous timeout. A simulator may be useful for stressing the application without exhausting third-party quotas, but it cannot certify real-world supplier performance or live booking correctness. A sanctioned provider test checks integration details but may operate on different capacities or data from production. Label the evidence accordingly.
Choose data with distinct passenger and itinerary identifiers for state-changing tests. Ensure test bookings cannot unintentionally charge real customers, occupy unintended inventory or create live liabilities. Confirm environment isolation and approved teardown procedures. Do not assume cancellation of a test order reverses a payment or removes every external effect.
Finally, capture starting conditions: deployed code version, configuration, number of application replicas, database class and settings, worker count, cache state, queue depth, test dataset size, network placement and the exact time window. Without those details, two tests with the same graph may be testing different systems.
Design a Repeatable Test Rather Than a Traffic Spike
Prepare a script that follows the transaction graph, not a folder of unrelated requests. A search selects an eligible offer; the selected offer is price-checked; an eligible subset progresses to booking. State the percentage of journeys that drop out at each stage. Reserve a separate channel for reconciliation jobs generated by uncertain attempts or by an agreed independent backlog.
Use an arrival schedule with a short warm-up, a stable baseline, a measured peak, a bounded burst and a recovery interval. Report metrics for each phase independently. Warm-up measurements can be distorted by connection establishment or cache initialization; recovery reveals whether drained traffic leaves queues, locks or memory behind. A run ending at peak hides work that completes late.
Synchronize clocks across the generator, application, queue workers and database monitoring. Tag every request with a test run ID, workload type, attempt ID and trace or correlation ID where supported. The generator records client-observed timing; the application records its internal spans; the supplier adapter records outbound timing and outcome category. This lets a slow request be located rather than blamed on whichever graph looks busiest.
Limit the generator itself. Its CPU saturation, connection cap, exhausted source ports or logging overhead can create artificial latency and lost arrivals. Record intended arrivals versus arrivals actually emitted, generator errors and completion counts. If the generator cannot maintain the intended schedule, the run is invalid for that target, even if application graphs appear healthy.
Measure Four Resource Planes and the Business Outcome
Server sizing decisions improve when application performance and infrastructure pressure are measured together. A single utilization percentage is not a diagnosis. Collect distributions, time series and sampled traces for each workload type. Report end-to-end client latency alongside server processing time and external wait time; otherwise network and provider delay may be incorrectly attributed to local CPU.
| Plane | Evidence | Question Answered |
|---|---|---|
| CPU and application | CPU use by service, throttling, runnable work, request p50/p95/p99, local processing spans | Is compute work or scheduling delay limiting useful responses? |
| Memory and process | Resident memory, heap and garbage collection where applicable, restarts, memory pressure | Does usage stabilize, or grow across a sustained run? |
| Database connections | Pool active/idle/waiting, acquisition wait, queries, slow statements, locks and transaction duration | Are requests waiting for connections or blocked inside the database? |
| Queue and workers | Publish and completion rates, backlog, oldest-job age, retries, dead-letter counts | Can reconciliation keep up and recover after a burst? |
| Business correctness | Supplier confirmations, ticket evidence, payment outcomes, unknowns, duplicates and inconsistent states | Did the system complete valid journeys rather than merely answer HTTP requests? |
Use percentile latency for each major journey: median describes the typical observation, p95 highlights the slower five percent and p99 exposes a thinner tail. Record sample size and the exact window. A global p95 that mixes fast cached searches with rare bookings can hide unacceptable booking latency. A percentile from a handful of booking attempts is unstable and should be presented with that caveat.

Worked Example: One Hypothetical Peak, One Sizing Worksheet
Consider a fictional flight-ticketing application with one web/API tier, a database, a queue and separate reconciliation workers. The following figures are deliberately illustrative. They are starting assumptions for a controlled load test, not observed TravelTech365 performance, supplier allowances or recommended hardware. The fictitious test does not establish how many users any real deployment supports.
Assume an eight-minute sustained peak with twelve search arrivals per second, three price checks per second, 0.6 booking attempts per second and 0.2 reconciliation jobs per second. In this model, reconciliation is a separate measured stream representing a known backlog and newly scheduled checks; the workload owner must ensure that jobs arising from bookings are not counted twice. The arrival mix is a planning choice, not an industry benchmark.
| Workload | Arrival Rate | Expected Arrivals | Assumed Local CPU per Arrival | Estimated CPU Demand |
|---|---|---|---|---|
| Search | 12/s | 5,760 | 25 ms | 0.300 core-equivalents |
| Price check | 3/s | 1,440 | 45 ms | 0.135 core-equivalents |
| Booking attempt | 0.6/s | 288 | 120 ms | 0.072 core-equivalents |
| Reconciliation | 0.2/s | 96 | 60 ms | 0.012 core-equivalents |
| Total | 15.8/s | 7,584 | Mixed | 0.519 core-equivalents |
The CPU arithmetic is arrival rate multiplied by local CPU seconds: for searches, 12 × 0.025 = 0.300 CPU-seconds per wall-clock second. Summing the four rows gives 0.519. If an additional hypothetical 0.150 core-equivalents is reserved for measured surrounding application overhead, the model reaches 0.669 before any safety margin. Dividing by a provisional 70% utilization planning target gives approximately 0.956 core-equivalents of theoretical CPU capacity. This is a rough worksheet calculation, emphatically not a recommendation to deploy a one-core machine.
Why not? The per-request CPU figures are assumptions that require profiling, and the average ignores bursts, contention, runtime scheduling, TLS, logging, garbage collection, background processes and deployment topology. Core-equivalents are a model of work, not a substitute for measured behavior on a particular CPU architecture. The 70% target is an example decision parameter, not a universal threshold. The real test could show that latency fails far before CPU reaches that level.
Add a separate database estimate without converting query counts directly into CPU. Suppose the hypothetical application performs two queries per search, two per price check, five per booking attempt and three per reconciliation job. The nominal demand becomes 24 + 6 + 3 + 0.6 = 33.6 queries per second. That figure says nothing by itself about indexes, row locks, statement complexity, connection wait or storage latency. A slow transaction holding a connection may be more important than dozens of inexpensive reads.
For a transparent connection calculation, assume average connection hold times of 40 ms for search, 60 ms for price check, 200 ms for booking and 120 ms for reconciliation. Arrival rate multiplied by hold duration gives 0.48 + 0.18 + 0.12 + 0.024 = 0.804 concurrently held connections on average. That average is not a safe pool setting. Overlapping bursts, transaction variance, multiple replicas and long-tail statements can produce much larger instantaneous demand. Measure acquisition waits and peak occupancy before setting limits.
Test Provider Constraints as a Separate Gate
The sample's twelve searches per second cannot automatically be sent to a real supplier. Suppose, strictly for this scenario, the test coordinator grants a simulator budget of fifteen search requests per second, five price checks per second and one booking request per second. The sustained phase fits those fictional limits. An eighteen-search-per-second burst would not; route it through a documented admission or shaping policy, or use a simulator explicitly configured for the higher load. Do not treat the fictional limits as actual provider terms.
Capture both arrival demand and admitted outbound calls. If the application throttles excess search requests, measure the waiting time and the number rejected promptly. If it fans one search out to three suppliers, outbound calls may be three times the incoming request rate before retries. Capacity planning must count those calls separately; the user-facing rate alone cannot describe quota consumption.
Let the Hypothetical Results Change the Decision
Imagine the trial produces acceptable search p95 latency but booking p99 degrades during the peak. CPU remains below the chosen planning ceiling; database connection acquisition rises sharply and a few long booking transactions hold locks. Reconciliation workers receive 0.2 jobs per second but complete only 0.15 per second. Across 480 seconds, the expected excess is 24 jobs, assuming those rates hold and there are no other drains. The queue's oldest-job age rises even though the API appears healthy.
These are invented diagnostic observations, not measured results. They lead to targeted experiments: shorten the database transaction boundary where correctness permits, inspect query plans and lock waits, constrain simultaneous bookings, and independently examine worker throughput. Only then rerun the same arrival schedule. Increasing the web server size first might leave the database and queue bottlenecks untouched.
Diagnose the Bottleneck Before Scaling an Instance
When p95 or p99 increases, find where waiting time accumulates. High CPU accompanied by run-queue pressure and rising local processing spans points toward compute saturation. Rising request latency with low local CPU and long outbound spans suggests provider or network wait. Stable CPU with climbing connection-acquisition latency implicates pool pressure, long transactions or insufficient database capacity; distinguish these with query traces and lock metrics.
Memory pressure has a different signature: heap or resident memory climbs through repeated phases, collection pauses lengthen, or the process restarts. A temporary memory rise during warm-up is not necessarily a leak. Compare steady-state windows and request counts, then inspect retained objects or caches if memory fails to stabilize. Adding memory without addressing unbounded retention only delays the failure.
Queue lag must be read as a trend. A brief backlog can be acceptable if recovery clears it within the agreed window; an oldest-job age that increases continuously indicates processing is slower than incoming work or retries are monopolizing workers. More reconciliation workers can also increase database pressure or exceed status-query allowances, so test downstream headroom before increasing concurrency.
Run one controlled change at a time whenever possible. Adjust database transaction boundaries or indexes, revise pool sizing, change worker concurrency or add application replicas based on evidence. Repeat the same phase at the same arrival rates and supplier simulation settings, then compare useful completions, tail latency, resource pressure and unresolved outcomes. If multiple parameters change simultaneously, preserve a record that prevents unsupported causal claims.
Horizontal application scaling may help CPU-bound work but can multiply connection pools and outbound requests. Vertical scaling may raise local headroom without reducing a slow supplier's latency. No instance type has meaning apart from code, runtime, workload and dependency limits. The first violated acceptance criterion determines the next investigation, not a generic hardware checklist.
Handle Uncertain Booking Outcomes Without Manufacturing Success
State-changing calls demand stricter rules than search. Consider a booking submission that reaches a supplier but times out before the application receives a response. The browser may show “checking,” a local attempt record may be “unknown,” and a payment authorization may exist, yet none of those observations proves supplier confirmation or ticket issuance. Treat the outcome as unresolved until authoritative evidence is obtained.
Persist a durable attempt identifier before submission, link it to the user journey and all later supplier or payment references, and retain outbound request metadata needed for investigation without exposing sensitive personal data in logs. Use provider-supported idempotency or status-lookup mechanisms only after verifying their actual semantics. A status read reporting “not found” at one instant does not guarantee a delayed request cannot subsequently commit.
Reconciliation should seek authoritative supplier order and ticket evidence and independently verify payment outcome with the relevant payment system. Where a response is missing, do not automatically resend a booking or payment request merely because a timer expired. A safe retry requires evidence that the original cannot commit, or an explicitly documented idempotent operation that prevents duplicate effects. Otherwise hold the attempt for investigation and maintain a clear customer-facing pending state.
For a failure-injection exercise, introduce an artificial timeout after a supplier simulator records a successful commit. The expected application behaviour is to preserve an unknown state, reconcile against that simulator's authoritative record, avoid a second commit and eventually display the verified result. A second case should simulate an explicit no-commit rejection. Both cases are essential because treating every timeout as failure produces duplicates, while treating every timeout as success produces false confirmations.
Turn the Measurements into a Decision Record
A useful test report needs more than charts. Produce a one-page decision record tied to the exact build and run. It should state the intended arrival envelope, achieved arrivals, admitted supplier traffic, quality of test data, test environment, active provider or simulator constraints, and the earliest failed threshold. Attach phase-separated resource plots and a small set of correlated traces that explain the bottleneck.
Use an actionable decision vocabulary: “passes within the tested envelope,” “blocked by external test allowance,” “fails on database connection wait,” or “inconclusive because reconciliation did not finish.” Avoid phrases such as “supports any number of users” or “production ready” when the experiment covered only one artificial traffic mix. Document the proposed change, expected effect, owner and exact retest that would validate it.
Acceptance Checklist for a Test That Informs Sizing
Agree numerical targets with the product, operations and integration owners before seeing results. The illustrative values below are candidate gates only; acceptable latency, uncertainty age and error budget depend on the actual journey and contracts. An acceptance checklist makes a pass reproducible instead of allowing attractive graphs to determine the answer after the fact.
- Workload specified: Search, price-check, booking and reconciliation rates, journey drop-off, burst shape, dataset and cache assumptions are written down.
- Boundaries verified: Supplier test permissions, outbound call fan-out, quota handling and payment isolation are documented; simulated behaviour is clearly labelled.
- Generator validated: Achieved arrivals match the schedule within a pre-agreed tolerance, without generator saturation or invalid test data.
- Latency segmented: p50, p95 and p99 are reported per journey and phase with sample sizes, not only as one combined application number.
- Resource planes visible: CPU, memory, database pool waits and queue age are captured alongside external call time and error classification.
- Transactions proven: Supplier confirmation, any required ticket evidence and payment outcome are verified independently; unknowns and duplicates are counted.
- Recovery observed: In-flight work and reconciliation backlog reach the agreed settled state within the allowed recovery window.
- Failure paths tested: Explicit rejection, remote slowdown, timeout after possible commit and delayed reconciliation do not become false successes or uncontrolled retries.
- Decision reproducible: Code version, configuration, test script, assumptions, data, trace samples and changes are saved for the next run.
For example, a team might provisionally ask search p95 to remain under 1.8 seconds, price-check p95 under 2.5 seconds and the API portion of booking submission p95 under four seconds during the design peak. Those are invented planning thresholds, not industry standards. Supplier confirmation and ticket issuance may require separately agreed deadlines, and payment verification must not be inferred from an API timing target. Every threshold needs an explicit start and stop event.
What the Final Capacity Answer Should Say
A defensible result states that a particular build, in a particular environment, sustained a specified mixture of arrivals for a specified duration, with measured useful transactions, tail latency and recovery behaviour. It identifies the first binding constraint and the remaining uncertainty. It does not convert one CPU average into a universal server minimum or treat a clean screen as proof of a ticket.
For broader decisions about deployment operations, security and ongoing support, see travel portal hosting, security and support considerations. Those concerns matter, but the load-test worksheet has a narrower job: to determine what capacity the measured search, pricing, booking and reconciliation workflow actually needs, and what evidence is still missing before infrastructure is changed.
