Bus Plotter IX: Listed on the MBTA's Website

October 5th, 2010
mbtaplot
As of today, people who go to the mbta's apps page will see my app up to try. Checking the logs, I see a lot of people using it, and the traffic numbers are growing. This is fun.

To deal with the increase in traffic, I've made a few changes:

  • Bus locations, which are cheap and accurate, are requested more often than bus predictions, which are expensive and only good to the nearest minute anyway
  • Caching of web requests is now using memcached, which it really should have been from the start. Before each python process had some dictionaries, but they would get too big, app engine would kill the process for being over quota, and the cache would be wasted.
  • Every 5 minutes the program automatically unchecks the "running" checkbox and turns itself off. This way if left unattended the program doesn't keep asking for updates. The user can click the box back on again if they're still watching.
I'll probably have to make more changes if it becomes more popular, but these have helped with the initial rush.

Comment via: substack

Recent posts on blogs I like:

Retrospective on life tracking and effectiveness systems

I’ve been doing life tracking for around 10 years, and this post is looking back at some things I learned from the data (since my previous retrospective in 2017). I also review various productivity / effectiveness systems I have tried and which ones have …

via Victoria Krakovna July 4, 2025

Linkpost for June

Effective altruism, policy, social justice, reality's surprising amount of detail, short stories

via Thing of Things July 2, 2025

Elixir's Last Dance

On May 18th, the contra dance band Elixir had their last gig ever. The dance was packed: there were three hundred people. It was the only dance BIDA has ever done where they sold tickets. People flew from across the country just to hear Elixir play one la…

via Lily Wise's Blog Posts June 5, 2025

more     (via openring)