# Reducing Failed Matches on a Freight Marketplace

> TechSupport Team supported CargoMatch’s Python and Redis freight matching service. Over four months, client Datadog records show failed matches falling from 8.9% to 2.6%. P95 matching time fell from 2.4 seconds to 610 ms.

- Publisher: TechSupport Team
- Canonical page: https://techsupport-team.com/case-studies/freight-marketplace-matching-api-support/
- Updated: 2026-11-16

Client: CargoMatch · Logistics, Travel & Marketplaces · EU freight marketplace (70 staff)

## Client and engagement facts

- **Client:** CargoMatch
- **Industry:** Logistics, Travel & Marketplaces
- **Business context:** EU freight marketplace (70 staff)
- **Delivery model:** Application support
- **Application:** Freight matching platform with load dispatch
- **Supplied geography:** EU
- **Company size in source:** 70 staff

## Application stack and tools

### Application stack

- Python
- PostgreSQL
- Redis
- AWS

### Tools used

- Datadog
- Sentry

Related services: [Application support](https://techsupport-team.com/services/application-support/)

## Why Support Was Needed

The team found three contributors to failed matches. Redis keys expired at the wrong time, the matching algorithm had a race condition and the fallback matcher missed edge cases.

## Technical Work

- Fixed Redis key expiry causing 60% of failures.
- Fixed the matching algorithm race condition.
- Added a fallback matcher for edge cases.

## Representative Incident

A driver app version mismatch caused a one-day failure spike. TechSupport Team documented the cause for the client’s mobile team, which owned that component.

## Results and how they were measured

Table: Reported results and their measurement scope

| Metric | Baseline | Result | Units | Measurement window | Source and scope |
| --- | --- | --- | --- | --- | --- |
| Failed matches | 8.9% | 2.6% | % | 4 months | Client Datadog |
| Matching P95 | 2.4 s | 610 ms | Baseline: s; Result: ms | 4 months | Client Datadog |
| App crash rate | 3.1% | 0.4% | % | 4 months | Client Sentry |

## Evidence and Limitations

The four-month results exclude one driver-app version mismatch. Matching measures rely on Datadog, and app crash rate comes from Sentry.

## Matching Reliability Review

TechSupport Team added a matching success dashboard to CargoMatch’s Datadog account. Both teams reviewed it weekly.

## Scope a Similar Engagement

Describe the matching or dispatch errors you see, including which parts are owned by another team. [Request a support plan](https://techsupport-team.com/contact/) or explore [application support](https://techsupport-team.com/services/application-support/).

## Related pages

- [Application support](https://techsupport-team.com/services/application-support/): The related service for this engagement.

## Contact

Request engineers from TechSupport Team or ask a question: https://techsupport-team.com/contact/
