Thursday, May 21, 2026

Make the registrations CSV export faster for large events

Volleyball Elite Academy development update
Volleyball Elite Academy
Make the registrations CSV export faster for large events

Make the registrations CSV export faster for large events

Volleyball Elite Academy — Development Update • May 21, 2026

--- title: Make the registrations CSV export faster for large events ---

Make the registrations CSV export faster for large events

## What & Why (server/routes/coaches ~line 104) currently enriches each row by calling , (athlete) and (parent) one-at-a-time inside a . For an export of N registrations that's ~3N round-trips to the database. On a busy season this is the difference between a snapshot that downloads in a second vs. one that times out.

## Done looks like - The CSV route batch-loads events and people (e.g. one query for all distinct event IDs and one for all distinct person IDs) instead of looping per row - The new automated test in still passes - Manual export of a large event (hundreds of registrations) returns noticeably faster

## Relevant files - (CSV route ~line 104) - (, , )

Volleyball Elite Academy

Reply to this email — we read every reply.

You received this because you have an account with Volleyball Elite Academy.

elitevolleyball.training

No comments:

Post a Comment