::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Bus Plotter IX: Listed on the MBTA's Website

October 5th, 2010
mbtaplot  [html]
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:

Pieces of time

My friend used to have two ‘days’ each day, with a nap between—in the afternoon, he would get up and plan his day with optimism, whatever happened a few hours before washed away. Another friend recently suggested to me thinking … Continue reading →

via Meteuphoric November 11, 2019

Mauerfall

The Berlin Wall fell 30 years ago. I feel weird about where I’m writing this post from. I was expecting to be writing this from Berlin, after visiting the commemorations. But I’m visiting Boston (and New York) right now and the connotation of talking abou…

via Pedestrian Observations November 10, 2019

Wild animal welfare in Hans Christian Andersen

Continuing the theme of wild animal suffering in children’s lit… Hans Christian Andersen’s stories involve a lot of suffering of both human and animal varieties. “The Ugly Duckling” takes a brief detour from describing the duckling’s repeated social humil…

via The whole sky November 7, 2019

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact