Re: memcached servers

2010-12-21 Thread Carson Gross
To the top: any good way to look at the utilization and of our dalli memcache clien? The code in the heroku docs doesn't work with it, and I'd like to know if the cache is working and, assuming so, how well it is working, and if it would be worth it to buy more memcache... Thanks, Carson On De

Re: Don't know how to build task jobs:work

2010-12-21 Thread Anand Ramanathan
Thanks, Jimmy. That worked fine. BTW, just curious, there is another plugin, called sucker - http://rubygems.org/gems/sucker - that is currently installed as a vendor plugin, but that seems to be working fine as a plugin on heroku - any idea how that is working? Thanks Anand On Tue, Dec 21, 2010

Re: Non-Production ENV not finding PS db for DelayedJob

2010-12-21 Thread joshmckin
Please disregard. I reset the db, re-ran the migrations and all is good. On Dec 21, 4:25 pm, joshmckin wrote: > I have an Rails 2.3.10 app deployed to heroku running in a non- > production environment. I recent setup delayed job and have been in > the process of trying to deploy to heroku but kee

Non-Production ENV not finding PS db for DelayedJob

2010-12-21 Thread joshmckin
I have an Rails 2.3.10 app deployed to heroku running in a non- production environment. I recent setup delayed job and have been in the process of trying to deploy to heroku but keep getting a database error (see below). I've ran the migration manually using: heroku rake db:migrate and heroku rake

Re: Varnish + ETag + Cache-Control

2010-12-21 Thread Jimmy Thrasher
D'oh, I mean If-None-Match, of course. On Tue, Dec 21, 2010 at 3:58 PM, Jimmy Thrasher wrote: > Hi folks, > > I couldn't find this anywhere and before I experiment I thought I'd ask > here: If a resource is being cached by Varnish (because of Cache-Control or > the like) does Varnish honor a "If-

Varnish + ETag + Cache-Control

2010-12-21 Thread Jimmy Thrasher
Hi folks, I couldn't find this anywhere and before I experiment I thought I'd ask here: If a resource is being cached by Varnish (because of Cache-Control or the like) does Varnish honor a "If-None-Modified: " header by returning a 304 in the right circumstances? Thanks, Jimmy -- +1-919-627-75

Re: Don't know how to build task jobs:work

2010-12-21 Thread Jimmy Thrasher
Ah, you're on Rails 3? Then you should just be able to add delayed_job to your Gemfile and all should be well. Everything I said had to do with Rails 2. By the way, you should add every gem you depend on to the Gemfile. Otherwise 1) Heroku won't install it, 2) Rails won't have it available when i

Re: Don't know how to build task jobs:work

2010-12-21 Thread Anand Ramanathan
Thanks, Jimmy. Are you on rails 3? I have never unpacked gems before: I have added gems to gemfile, or plugins to vendor/plugins. I read the article on unpacking gems: http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem- I am new to all this, so reiterating the steps: 1. uninsta

Re: Don't know how to build task jobs:work

2010-12-21 Thread Jimmy Thrasher
On Tue, Dec 21, 2010 at 3:10 PM, Anand Ramanathan wrote: > I have delayed_job in vendor/plugins - is that sufficient? I don't know the ins and outs of Rails plugins, but I have delayed_job unpacked in vendor/gems and defined in config/environment.rb, and it all works fine for me. Jimmy -- +1

Re: Don't know how to build task jobs:work

2010-12-21 Thread Anand Ramanathan
I have delayed_job in vendor/plugins - is that sufficient? On Tue, Dec 21, 2010 at 12:06 PM, Jimmy Thrasher wrote: > Do you have delayed_job in vendor/gems or in your .gems file? > > Jimmy > > On Tue, Dec 21, 2010 at 3:01 PM, Anand Ramanathan wrote: > >> Hi, >> >> I have a rails app that was work

Re: Don't know how to build task jobs:work

2010-12-21 Thread Jimmy Thrasher
Do you have delayed_job in vendor/gems or in your .gems file? Jimmy On Tue, Dec 21, 2010 at 3:01 PM, Anand Ramanathan wrote: > Hi, > > I have a rails app that was working fine till a while ago. I recently > upgraded to rails 3 and updated my code accordingly. My code includes call > to heroku c

Don't know how to build task jobs:work

2010-12-21 Thread Anand Ramanathan
Hi, I have a rails app that was working fine till a while ago. I recently upgraded to rails 3 and updated my code accordingly. My code includes call to heroku client set_workers to manage the number of active workers depending on load. It works fine with delayed_job in dev environment. In product