• 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:

    The Gift of It's Your Problem Now

    Recently a security hole in a certain open source Java library resulted in a worldwide emergency kerfuffle as, say, 40% of the possibly hundreds of millions of worldwide deployments of this library needed to be updated in a hurry. (The other 60% also …

    via apenwarr January 1, 2022

    The container throttling problem

    This is an excerpt from an internal document David Mackey and I co-authored in April 2019. The document is excerpted since much of the original doc was about comparing possible approaches to increasing efficency at Twitter, which is mostly information tha…

    via Posts on December 18, 2021

    Experiences in raising children in shared housing

    Sometimes I see posts about people’s hope to raise children in a group housing situation, and it often seems overly optimistic to me. In particular they seem to expect that there will be more shared childcare than I think should be expected. Today I talke…

    via The whole sky October 18, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact