Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Realtime System Performance #46

Open
stephenyeargin opened this issue Jul 31, 2022 · 0 comments
Open

Feature: Realtime System Performance #46

stephenyeargin opened this issue Jul 31, 2022 · 0 comments

Comments

@stephenyeargin
Copy link
Member

Concept here is to have an "at a glance" look at how routes/trips are going compared to their static schedule.

Overall Summary

  • Average Route Delta - Calculate stop sequence minutes +/- for all trips on a route, then average all routes
  • Average Trip Delta - Calculate stop sequence minutes +/- for all trips and report as a whole

Route Performance

  • Group current trips by route, show average overall +/- minutes for given route alongside individual trips below it

Visualization Ideas

Show a scale with 0 in the middle and 60 minutes (early/late) at the two extremes.

Tasks

  • /realtime/trip_updates is the extent of data we will have available, supplemented by the corresponding static schedule.
  • Look at creating new API endpoint to see if it would be more efficient to handle calculations server-side.
  • If client-side, progressively build report to avoid long wait for data before showing top-line summary.

Out of Scope

This is meant to be a "moment in time" look. No historical data is preserved for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant