MB
Hi Mason, I actually do both. Here's an in-depth description: Every detector runs in the request: the API loads the event's results from DuckDB over Postgres and runs the method there, with no queue. Results are cached (in Redis) by event, method, parameters and filters: one day for a single method, seven days for the precision and recall evaluation against sanctioned athletes, because the results only change when I re-scrape. The exception is comparing all methods at once, which takes 30 seconds to 2 minutes, so that one runs as a background task you poll. Showing the query behind each number is a good idea. I might borrow it.
