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.

Recent posts on blogs I like:

A Big Problem With The Going To Bed Book

One day my dad was reading this book called the "Going to Bed Book" to my sister Nora. The book is basically about a bunch of animals who are getting ready for bed on a boat. They go down the stairs, take a bath, hang their towels on the wall, find…

via Lily Wise's Blog Posts September 18, 2023

Investing in boundaries with young kids

Putting in some work to get the behavior you want The post Investing in boundaries with young kids appeared first on Otherwise.

via Otherwise August 15, 2023

Self-driving car bets

This month I lost a bunch of bets. Back in early 2016 I bet at even odds that self-driving ride sharing would be available in 10 US cities by July 2023. Then I made similar bets a dozen times because everyone disagreed with me. The first deployment to pot…

via The sideways view July 29, 2023

more     (via openring)