Time to upgrade to Ruby 1.9, but are you ready? Check out David Black's Ruby 1.9 Envycast for everything you need to know.

Client-side Caching & Advanced - 2 - Client-side Caching & Advanced

Client-side Caching & Advanced HTTP Caching

Client-side Caching & Advanced HTTP Caching

by gregg on Feb 26, 2009

The next two videos of the Scaling Rails screencasts are now out. As I mentioned before, these screencasts look awesome on an iPhone.

Client-side Caching
Client Side
Advanced HTTP Caching
Httpcaching

Once you’ve done as much Page/Action/Fragment/Object caching you can do, and you’re still looking to improve throughput and page load time then it’s time to look at client-side caching using max-size, etags, and last_modified. Luckily, Rails makes it dirt simple to take advantage of these headers.

Then when you’re servicing millions of requests and on your way to become the next youtube or facebook, you’ll have the tools you need to take advantage of Reverse Proxy Caches and become globally scalable.

I hope you find these videos useful. Don’t forget to subscribe to the screencast RSS feed or grab it on ITunes to avoid missing any of these episodes.

AddThis Social Bookmark Button Meta: 1 comment | permalink

Episode 068. Nothing like starting out an episode with an awkward, poorly received joke.

Icon Speaker

Subscribe via iTunes - iTunes only link.
Download the podcast ~16 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader


Sponsored by New Relic The Rails Envy podcast is brought to you this week by NewRelic. NewRelic provides RPM which is a plugin for rails that allows you to monitor and quickly diagnose problems with your Rails application in real time. Debuting this week is the Rails Lab which gives you expert advice on tuning and optimizing your Rails app. Check it out at RailsLab.NewRelic.com.

  • Building and Scaling a Startup on Rails: 12 Things We Learned the Hard Way - Axon Flux - A Ruby on Rails Blog
  • Passenger-stack | Sprinkle scripts to provision your server quickly
  • Sliding Stats: Rack Middleware to keep an eye on your traffic
  • Offline Gem Server RDocs | Jason Seifer
  • jnewland's sinatra-rubygems at master - GitHub
  • gist: 65615 - GitHub
  • The Rails Way: File Downloads Done Right
  • methodmissing's mysqlplus_adapter at master - GitHub
  • tagz vs markaby/builder/haml/erubis - Polishing Ruby
  • Mundane Essays: Easily switch between Ruby 1.8.6 and 1.9.1
  • is_taggable - GiraffeSoft | Welcome to smarter web app development.
  • enum_field - GiraffeSoft | Welcome to smarter web app development.
  • timeline_fu - GiraffeSoft | Welcome to smarter web app development.
  • javan's whenever at master - GitHub
  • Webbynode
  • Ruby Hero Awards
  • Rails Forms microformat « Trek
  • Official Google Data APIs Blog: Start the Downloads!
  • Spike
  • Mixing Cucumber with Test::Unit/Shoulda — GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
  • Rails Magazine

AddThis Social Bookmark Button Sections: Podcast | Tags: podcast  | Meta: 3 comments | permalink

Would you buy a starter app?

by Jason on Feb 24, 2009

A lot of development shops have a code base that they start with for their applications. If you're like us, you reinvent the wheel on similar projects. Doing client work typically puts all code ownership in the hands of the client, so it's typically impossible to reuse it. But I'm not going to do that anymore. I wrote (what I think is) an awesome starter app with some standard features that I wanted. That's where you guys come in. I thought other dev shops might want to have something like this but might not have the time/inclination to code their own. So I ask: what's the most you would pay for a starter application with the following features:

  • Static pages (super simple cms - home/about us/etc).
  • User authentication (Clearance) with avatars (paperclip).
  • Blueprint CSS framework
  • Basic Role system (custom)
  • Administration section for: pages, users edit/delete/promote/impersonate.
  • 100% test coverage using Shoulda and Cucumber

AddThis Social Bookmark Button Meta: 19 comments | permalink

As I mentioned last week, I recently produced out a bunch of free Scaling Rails screencasts with the help of New Relic. We released seven of these last week, and today I’m happy to announce the release of two more.

memcached with Rails
Memcached
Talyor Weibley & Database Scaling
Taylor

What’s awesome about memcached not only object caching, but how it can help you avoid cache expiration. Cache expiration just sucks, so you really won’t want to miss this screencast. FYI, these screencasts look awesome on an iPhone.

Next week we’ll be releasing Client-side caching and Advanced HTTP Caching, and the week after the interview with Jesse Taylor and Jim Gochee with additional discussion on Rails Deployment and RPM Advanced Features. So don’t forget to subscribe to the screencast RSS feed or grab it on ITunes to avoid missing any of the episodes.

Lastly, the Rails Envy team is currently looking for work, so if your Rails project needs an experienced hand feel free to drop us a line. Not only do we provide development services, but we also do code reviews and training. Drop us a line we’d love to chat with you.

AddThis Social Bookmark Button Tags: screencasts  | Meta: 8 comments | permalink

Episode 067. Awkward secrets.

Icon Speaker

Subscribe via iTunes - iTunes only link.
Download the podcast ~24 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader


Sponsored by New Relic The Rails Envy podcast is brought to you this week by NewRelic. NewRelic provides RPM which is a plugin for rails that allows you to monitor and quickly diagnose problems with your Rails application in real time. Debuting this week is the Rails Lab which gives you expert advice on tuning and optimizing your Rails app. Check it out at RailsLab.NewRelic.com.

  • Confreaks: acts_as_conference 2009
  • tinyrb - macournoyer's blog
  • Katz Got Your Tongue? » Initial Release of Moneta: Unified Key/Value Store API
  • Coffee Powered » Graceful degredation: Using Gravatar as a fallback avatar with Paperclip
  • Utilize Canonical URLs in Your Rails Applications - Intridea Company Blog
  • Radiant 0.7.0 - Intaglio Release (final)
  • gist: 59130 - GitHub
  • michael galero » Blog Archive » Guide to Rails Metal
  • Struggling With Ruby: The Ruby Proc
  • georgepalmer's couch_foo at master - GitHub
  • Updating A C Extension For Ruby 1.9.1 « Like Dream of Banister Fiend
  • Bitcetera: Regex in a Nutshell
  • Taps for Easy Database Transfers
  • it's a ruby thing—and some other things too
  • Paul Dowman » Blog Archive » Backing up your MySQL database to S3
  • The Git Bell: post-commit → ruby → arduino → bell - Ideas For Dozens
  • Dr Nic » ChocTop - packaging and deployment of Cocoa applications
  • Ruby JobMotel - Ruby web developer jobs
  • 10h24min by José Valim
  • Ruby Inside Brasil: Notícias, links, códigos e dicas diárias sobre Ruby
  • marcoow's reports_as_sparkline at master - GitHub

BONUS

AddThis Social Bookmark Button Sections: Podcast | Tags: podcast  | Meta: 1 comment | permalink

Episode 066. This week we're a bit light on the news but heavy on speaker interviews from Acts As Conference. Listen for short and sweet interviews with Nathaniel Talbott, Yehuda Katz, Jim Weirich, Dan Benjamin, Steven Bristol, Robert Dempsey, and Lew Cirne.

Icon Speaker

Subscribe via iTunes - iTunes only link.
Download the podcast ~24 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader


Sponsored by New Relic The Rails Envy podcast is brought to you this week by NewRelic. NewRelic provides RPM which is a plugin for rails that allows you to monitor and quickly diagnose problems with your Rails application in real time. Debuting this week is the Rails Lab which gives you expert advice on tuning and optimizing your Rails app. Check it out at RailsLab.NewRelic.com.

  • iPhone on Rails and ObjectiveResource; Making communication between the iPhone and a Rails web-service pain-free.
  • isitruby19.com • Community-powered gem compatibility for ruby 1.9
  • Fibers implemented for Ruby 1.8.{6,7} at time to bleed
  • hotgazpacho » Blog Archive » Rails 2.3.0 + IIS7 + FastCGI = Rails on Windows FTW! - yes, it is an oxymoron…
  • acts_as_coder: link_to with prompt for rails 2.2.2
  • hpoydar's chronic_duration at master - GitHub
  • Priit Haamer > Blog > Ruby on Rails dictionary for Mac OS X
  • Spreedly

AddThis Social Bookmark Button Sections: Podcast | Meta: 5 comments | permalink

Scaling Rails Screencasts

by gregg on Feb 09, 2009

Case you haven’t heard yet, I’m happy to announce that my Scaling Rails Screencasts are now up. You may remember that about 2 months ago I released an envycast on Scaling Ruby. Scaling Rails was supposed to be the follow up video, also for $9, but I realized if somehow I could find a sponsor for the video I could release it for free, and New Relic was nice enough to take me up on the offer.

Today they are officially announcing their new RailsLab website, where they plan on producing more free educational content for the Rails community. I’m really happy to be a part of it, and that my content will inevitably reach more people (since it’s free).

I’m also hoping this will eliminate the thought forever that “Rails Can’t Scale”. If you find someone every saying this, well… Now you can send them to a website and say “Look, scaling Rails is easy, and this is exactly how you do it”.

I’m also hoping this content makes it’s way onto the screens of people working in other languages. The Ruby language makes scaling your Rails applications look dirt simple and far more elegant then some other frameworks.

If Rails adoption is important to you, do me a favor and help me promote these videos today. Ideas:

  • Tweet about it
  • Email / IM two friends about it
  • Blog about it
  • Digg/Reddit/Delicious bookmark it.

AddThis Social Bookmark Button Meta: 12 comments | permalink

Episode 065. Sorry for the lack of a podcast last week. To make up for it this week, I've included a song that you will hate me for.

Icon Speaker

Subscribe via iTunes - iTunes only link.
Download the podcast ~20 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader


Sponsored by New Relic The Rails Envy podcast is brought to you this week by NewRelic. NewRelic provides RPM which is a plugin for rails that allows you to monitor and quickly diagnose problems with your Rails application in real time. Check them out at NewRelic.com.


Call Us! You can reach the podcast voicemail line at 407 409-8440.


    In This Episode:
  • [ANN] Ruby 1.9.1 is released
  • Riding Rails: Rails 2.3.0 RC1: Templates, Engines, Rack, Metal, much more!
  • Rails Wiki => Rails Wiki
  • JavaScript Rocks! JavaScript Performance, Benchmarking and Tuning Ebook
  • mamuso's acts_as_unvlogable at master - GitHub
  • Ruby for Desktop Applications? Yes we can. | Atomic Spin
  • The Pragmatic Bookshelf | The RSpec Book
  • tlvx: the tumblelog of luke crawford - The technical story of Muxtape
  • Rails on Edge: Flash Video Tutorial with Rails, ffmpeg, FlowPlayer, and attachment_fu
  • an internet luddite: Multiple Sinatra .90 applications in one process
  • The Pragmatic Bookshelf | Classy Web Development with Sinatra
  • Translate: New Rails I18n Plugin with a Nice Web UI - Newsdesk developer blog
  • Rails I18n
  • a work on process » Migrating from attachment_fu to paperclip
  • techlog.fetmab.net » Blog Archive » One Button Rails Deployment on Dropbox!
  • iDunno » Blog Archive » Released croc 1.0
  • Internaut Design - 6 Scrum lessons every Rails developer should know
  • Centostrano 0.2 Released! Easy Rails stack installation and setup on CentOS now with Phusion Passenger (a.k.a mod_rails / mod_rack) support!
  • Multi-staging environment for Rails using Capistrano and mod_rails / Rails - cjohansen.no
  • Typo 5.2 Helmut Newton for Rails 2.2 released : Typo official weblog
  • Jake Scruggs: Metric Fu Now Includes Flay, Roodi, and Reek
  • Want Git preinstalled on next Mac OS X? - GitHub
  • I dropped Internet Explorer 6
  • New Rails plugin - Quick Scopes @ Ramblings on Rails

AddThis Social Bookmark Button Sections: Podcast | permalink