Rails Page Caching with Subdomains and Advanced Cache Invalidation Cron

Continuing to fight the good fight against Rails’ slowness and processor intensive handicap, I have been working a lot with page caching over the last day. I think I finally have a decent setup now. This write up talks about the Rails side of caching. This assumes that apache is serving up cached pages just fine. This also assumes you are using sub domains and have somewhat advanced...
readmore

Mongrel Rails + mod_proxy + mod_rewrite configuration for caching

Now that the Adamantine Arts site is getting more traffic, I wanted to implement page caching to really speed things up and prevent excessive server load. I’ll discuss page caching in Rails in more detail at another time. The problem at hand however was to get apache, mongrel, mod_proxy, and mod_rewrite to all play nice together. My initial stabs at the problem gave me all sorts of grief....
readmore

Building “Tag Cloud” in Rails

I am working on the new search engine for Adamantine Arts and wanted to display the top 25 queries. I thought it would be nice to display the searches in the cool tag cloud form where the more popular the search the larger the text. So quick tutorial on how to build a tag cloud in Rails. Hurray for logarithms lately. They are all over the search code. Criteria : - Use percent based fonts to...
readmore

Blue Screen of Death Tattoo

Snap. I must be a dork because I think this is slick. Check out this Blue Screen of Death tat done by Sam Rulz at Two Hands Tattoo in Auckland, New Zealand. The buzz over this prompted one blogger to think that Microsoft May make more crappy stuff. Oh man, if they make more crap what will this world come to? Either way, now I want to get my...
readmore

Hot Pants

Sarah came over while I worked on the AA site search (I’ll write about this later). We were both loopy and delierious and there was talk of pants, googling, and being a bunch of dorks. For the next monthly online exhibition, I looked up on google to make sure I spelled menagerie correctly and the wikipedia entry came up. I said “Wow, I didn’t know that was the source of the...
readmore

« Previous Entries

line
footer
Copyright © 1997 - 2010 Blaine Garrett All Rights Reserved