System Design Atlas

Multimodal journey planning

03 / 10Worked example

Scale estimates

Peak search load differs from the daily average. Which conditions ensure a valid result?

Many people search for similar routes in the morning.

Starting point At least 300 s of transfer time is required.

Assumptions for the example case

A fictional journey planner for buses, trains and walking routes in one region. Each response binds a timetable version and a real-time snapshot. The scope ends with journey information, without a booking commitment. All quantities, thresholds and operational objectives are illustrative assumptions.

Search load and hotspot

Search load and hotspot

Average10/s
Peak100/s
15 minutes90,000 searches
CacheSnapshot + Preference

10 requests/s mean and 100/s peak; same start-finish pairs form cache hotspots.

10 requests/s on average and 100/s at peak. Test repeated origin-destination pairs separately as cache hotspots.

Illustrative load and domain calculations

  1. 01

    Average request rate

    10 requests/s

    864,000 requests / 86,400 s

    For the designTest a peak of 100 requests/s as well as the daily average.

  2. 02

    Transfer

    300 seconds

    180 seconds walk + 120 seconds buffer

    For the designDeparture at 10:05 is permitted upon arrival 10:00.

  3. 03

    Test peak

    90,000 searches

    100/s × 900 s

    For the designAlso test repeated origin-destination pairs as cache hotspots.

Peak search load differs from the daily average.

Peak search load differs from the daily average.

Test overall load and origin-destination hotspots separately.

Many people search for similar routes in the morning.

864,000 / 86,400 = 10 requests/s. 100 × 900 = 90,000 requests. Add load for repeated origin-destination pairs while preserving the snapshot rules.

Alternative considered
Equal distribution underestimates popular railway stations.
Trade-off
Hotspot profiles need real location distributions.
Reassess
High cache miss rate triggers profile adjustment.

Try it yourself

Calculate the daily average request rate and the volume of a 15-minute test.

A hint for your attempt

Many people search for similar routes in the morning.

Compare with a possible solution
Average
864,000/86,400=10 requests/s.
Peak
100 × 900 = 90,000 requests. Add load for repeated origin-destination pairs while preserving the snapshot rules.

Apply to your project

How does this principle apply in your own project: Peak search load differs from the daily average.

Step 4: New data requires a new search. Which conditions ensure a valid result?