codeforpdx / opentransit-metrics

Prototype of public transit data visualization system
https://opentransit-pdx.herokuapp.com/
MIT License
7 stars 8 forks source link

Is there a way to run opentransit-collector on the same heruko app as opentransit-metrics? #41

Open sidetrackedmind opened 2 years ago

sidetrackedmind commented 2 years ago

Background

Right now, the opentransit-collector is running on @sidetrackedmind's raspberry pi. Ideally, it would run in the cloud where it can be monitored and easily supported by the whole team.

Dream

Is it possible to launch opentransit-collector running in the background of the main heroku app? If this were a commercial app with lots of traffic, etc, it would be bad to have a separate process running in the background but this app is not (at least at this point) getting a ton of traffic. I'm wondering if we can save some $$ by adding the opentransit-collector to the (already running) heroku app?

@youngj - am I totally crazy thinking this could work? We could launch a separate heroku app for the opentransit-collector operation but it feels like overkill at this stage.