Session handling

At my day job, session handling was at one time the bane of our existance. One poor server holding all the sessions for a large number of users. We did lots of work to streamline them so that they take up far fewer resources than before, and are now going to be refactoring our code to remove all unnecessary info from the session. Less data flowing back-and-forth, the better.

Over at my other blog, I was dealing with a session-related problem. The sysadmin for the box had gotten sick of seeing all these files starting with ruby_ appearing in /tmp and told me to "fix it, damnit". So off I went to the Ruby wiki and figured it out in short order.

So now, I have a Postgres-backed session handling option for the site...and no more files in /tmp that I have to go in and delete!