It's not possible, sorry. A single dyno is limited to 512 MB of RAM (see
the Acceptable Use Policy: http://policy.heroku.com/aup). And cranking up
the dynos won't help, because their RAM won't pool (and Heroku goes out of
its way to split your dynos across different machines anyway).
On
I'm using Sequel with Rails 3.1.0, and connecting to my database by
simply passing a database url in a config var to Sequel.connect - the
standard way of doing it. It seems that when Heroku runs the asset
precompilation rake task during a deploy, my config vars apparently
aren't available to the
I wound up solving this by establishing the DB connection unless
Rails.env.production? Rails.groups.include?('assets'). It seems to
work alright.
On Sep 13, 12:22 pm, Chris Hanks christopher.m.ha...@gmail.com
wrote:
I'm using Sequel with Rails 3.1.0, and connecting to my database by
simply
the official word on the gzip thing would be nice.
thanks
-John
On Thu, Jun 2, 2011 at 8:50 PM, Chris Hanks
christopher.m.ha...@gmail.comwrote:
Nevermind, I found Rack::Deflater, and it seems to be Gzipping most
things alright (it takes care of the assets, but not HTML, and i'm
I tried moving an app over to Cedar, and now that I'm looking at it in
Firebug it appears that Heroku isn't gzipping responses anymore. I
knew that I'd have to handle my own http caching since this stack
doesn't use Varnish, but I thought that Gzip was handled by Nginx and
would still be
Nevermind, I found Rack::Deflater, and it seems to be Gzipping most
things alright (it takes care of the assets, but not HTML, and i'm not
sure why).
On Jun 2, 6:30 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
I tried moving an app over to Cedar, and now that I'm looking
I'm seeing the same behavior as craayzie. Redbot shows headers that
look correct:
HTTP/1.1 200 OK
Server: nginx/0.7.67
Date: Wed, 01 Jun 2011 20:16:01 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Last-Modified: Wed, 11 May 2011 19:35:02 GMT
Huh. I remembered seeing somebody from Heroku say that they had their
Varnish servers set up in a hash ring, which I thought would mean this
kind of effect wouldn't happen, but I guess it does. It looks like
they have 10 Varnish servers going - if I use Apache Benchmark to hit
my server with 1000
Yeah, Heroku should make this a lot easier. I experimented with one
approach to this a while ago, and it seemed to work fine on my staging
dyno. I haven't gotten around to actually running it in production
yet, though, so use at your own risk:
https://gist.github.com/998124
Let me know how it
I get this same error frequently on my development machine (Ruby
1.9.2p180 on Ubuntu Natty), so it's not Heroku-specific.
On May 20, 8:01 am, David datab...@gmail.com wrote:
Klaus Harti posted this message originally on May 11th and I have it
in my digest list - I just can't seem to find it on
It would also be good if our apps had access to a node.js executable,
since execjs would be able to use it to compile coffeescripts in Rails
3.1 when it's released.
On May 4, 9:23 am, fearless_fool rdp...@gmail.com wrote:
I've dug around for a bit and haven't found a list of all the
Try: Time.now.monday?
On Mar 31, 8:16 am, Doug Naegele dougnaeg...@gmail.com wrote:
Can someone help me configure Heroku Cron to only run on a certain
day?
So, imagine I send an email report every Monday morning. How do I
write the syntax for that?
Something like this:
This one works:
!
undefined local variable or method `thursday' for main:Object
On Mar 31, 12:32 pm, Chris Hanks christopher.m.ha...@gmail.com
wrote:
Try: Time.now.monday?
On Mar 31, 8:16 am, Doug Naegele dougnaeg...@gmail.com wrote:
Can someone help me configure Heroku Cron to only run on a certain
Not sure what you mean by this. Varnish is an HTTP cache, it sits in
front of your dyno and only caches the responses that it sends - you
can't use it as a key-value store like memcached. When a request is
handled by varnish and doesn't even hit your app, that IS page
caching.
If you could write
I know that the custom SSL plan costs $100 because it requires a
dedicated EC2 instance, and the small instances cost about $60 a
month. But since EC2 has now introduced micro instances, for a little
under $15 a month, will we be seeing a price reduction for the custom
SSL plan?
Chris
--
You
Hi -
I'm rigging up my own auto-scaling solution for workers. My plan to
shut a worker down when it's not needed is to set $exit = true when
there are no jobs left for it to do. As you can see (https://
github.com/collectiveidea/delayed_job/blob/v2.1.3/lib/delayed/
worker.rb#L74-92) this will
Alright, that makes sense. Thanks, Adam.
On Jan 25, 11:12 am, Adam Wiggins a...@heroku.com wrote:
I understand what you're trying to do, but this won't work. Heroku
will try to keep your workers alive no matter what; when it exits it
will change state to crashed and try to restart once,
You can start up as many workers (or dynos, for that matter) as you
want through the command line. 24 is just how high the slider goes on
the pricing page.
On Jan 21, 7:52 am, rubynoob mysmilecent...@gmail.com wrote:
I may misunderstand how workers get charged on heroku, but from what
I've
Well, since you pay for workers by the hour, I'm sure Heroku would be
perfectly happy with you keeping many of them busy for a very long
time.
On Dec 7, 10:44 pm, Jonas jo...@jonasbnielsen.dk wrote:
Nice. So that was actually what I initially thought.
And there is no limitation on what that
I have a few delayed_jobs that require data to be loaded from the
database and kept in memory. I've set up an initializer to load that
data (this is a Rails 3 app), but I'm not sure how to only run it on a
worker process and not my dynos. I noticed, while tooling around in
`heroku console`, that
In my compass initializer file I include:
Sass::Plugin.options[:never_update] = true if Rails.env.production?
On Nov 16, 9:57 pm, Josh Coffman joshcoff...@gmail.com wrote:
I'm using compass in one of my rails apps on heroku, and every time I push
it, it fails to load on the first request
Yes, this started happening for me on Friday (worked fine up until
then). and it looks like it's still going on. When I push I see Using
--without development test, but it tries to install all the
development/test gems anyway (which it can't, for me, because Heroku
can't handle ruby-debug19).
I
=development:test
Oren
On Mon, Nov 8, 2010 at 12:03 PM, Chris Hanks
christopher.m.ha...@gmail.com wrote:
Yes, this started happening for me on Friday (worked fine up until
then). and it looks like it's still going on. When I push I see Using
--without development test, but it tries
Don't see why Heroku would have a problem with it. I've been using
Rails' basic auth functionality on Heroku for months with zero issues.
On Nov 4, 6:39 pm, Jimmy Thrasher ji...@jimmythrasher.com wrote:
Not sure what you mean. If you implement it, it's supported.. it's just a
webserver
For anyone curious about this, I eventually solved it by starting off
my Gemfile with:
source :rubygems
# Shut up, Heroku.
# gem 'rails'
gem 'railties', '3.0.0'
gem 'actionpack', '3.0.0'
gem 'activesupport', '3.0.0'
And so on...
On Oct 18, 11:54 am, Chris Hanks christopher.m.ha...@gmail.com
Can you explain what is actually happening? Is there an error message?
Also, actions aren't typically defined in the ApplicationController,
so I wouldn't be surprised if putting them there makes things iffy.
You can try running your app in production mode on your local machine
is order to see
...
On Oct 29, 4:00 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
Can you explain what is actually happening? Is there an error message?
Also, actions aren't typically defined in the ApplicationController,
so I wouldn't be surprised if putting them there makes things iffy.
You can
Yep, it's worked for me for weeks too.
On Oct 28, 7:28 am, marcel mpoi...@gmail.com wrote:
BUNDLE_WITHOUT is currently working for me. It magically started being
recognized a few weeks ago. From my heroku config output:
BUNDLE_WITHOUT = test development
And when I
is that it's failing to find
config.ru, auto-detecting a Rails app, and not finding all the gems.
Just some thoughts.. maybe you've already done all that. :)
Jimmy
On Mon, Oct 18, 2010 at 12:33 PM, Chris Hanks christopher.m.ha...@gmail.com
wrote:
There's a lot of parts of Rails
You can use groups with heroku + bundler. For example, I do:
heroku config:add BUNDLE_WITHOUT=development test
source :rubygems
gem 'rails', '3.0.0'
group :development, :test do
gem 'rspec-rails', '2.0.0'
# etc...
end
Then, Heroku doesn't install any of the RSpec gems.
Anyway, it's a bad
. I'm going to talk to someone
with more intimate knowledge of our Varnish config to confirm that,
but so far it looks promising.
Ben
On Oct 5, 12:00 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
Is anyone from Heroku around that might know how their setup works?
On Oct 2
, at 12:48 AM, Chris Hanks wrote:
Yeah, this has happened to me before, too. I'm pretty sure the problem
is on Heroku's end.
I don't worry that much about it, though, since the max slug size is
100 MB.
On Oct 11, 8:57 pm, stephen murdoch stephenjamesmurd...@gmail.com
wrote:
I have
.
Ben
On Oct 5, 12:00 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
Is anyone from Heroku around that might know how their setup works?
On Oct 2, 8:42 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
I'm wondering about Heroku's use of Varnish. Suppose I have a page
Is anyone from Heroku around that might know how their setup works?
On Oct 2, 8:42 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
I'm wondering about Heroku's use of Varnish. Suppose I have a page
that is expensive to produce (lots of database queries) but can be
cached in Varnish
I'm wondering about Heroku's use of Varnish. Suppose I have a page
that is expensive to produce (lots of database queries) but can be
cached in Varnish. Right after Varnish's copy expires, if it's very
popular, I might have a dozen people accessing it simultaneously
before the newly created
Heroku might be breaking up the ENV['MONGOHQ_URL'] into those
components for you. Try heroku console from your command line and
then ENV['MONGOID_HOST'] to see if it's present.
On Sep 27, 6:51 am, Abel Tamayo abel.tam...@gmail.com wrote:
It seems MongoMapper is more popular around here. At
haven't been able to locate anything
that gives an indication that this is happening.
On Sep 27, 11:44 am, Chris Hanks christopher.m.ha...@gmail.com
wrote:
Heroku might be breaking up the ENV['MONGOHQ_URL'] into those
components for you. Try heroku console from your command line
I've read through the caching docs, and Things Caches Do, but I'm
still not clear on something, so here I am.
Suppose I signal Heroku to cache a page for an hour (setting the
'Cache-Control' header to 'public, max-age=3600'). Alice visits the
page at noon, and Heroku stashes it in Varnish to
Ok, thanks!
On Sep 9, 5:09 pm, Pedro Belo pe...@heroku.com wrote:
At the time you told Heroku, 1pm.
Thanks,
Pedro
On Thu, Sep 9, 2010 at 4:59 PM, Chris Hanks
christopher.m.ha...@gmail.com wrote:
I've read through the caching docs, and Things Caches Do, but I'm
still not clear
no
guarantee that Bob's request will hit the same server.
If you need more control to your cache we recommend using Memcache.
On Thu, Sep 9, 2010 at 5:14 PM, Chris Hanks
christopher.m.ha...@gmail.com wrote:
Ok, thanks!
On Sep 9, 5:09 pm, Pedro Belo pe...@heroku.com wrote:
At the time you
What other questions do you guys have on the area that I should include?
Two:
What is Heroku's timeout when spinning up dynos/workers? I thought
that I'd seen this mentioned somewhere, but I can't find it now. I ask
because an app I'm thinking of would need to hit external services and
the
settings.
Thanks.
-Ginny
On Aug 26, 12:45 am, Chris Hanks christopher.m.ha...@gmail.com
wrote:
Use the mongodump utility from the command line. It comes with
mongodb, and can be pointed at whatever remote database you like.
For example, try a ruby script that looks something
Hurrah!
Is there any word/ETA on Ruby 1.9.2?
On Aug 24, 4:16 pm, Terence Lee tere...@heroku.com wrote:
Hello,
Bundler 1.0.0.rc.6 was pushed out yesterday with some bug fixes. You
can view the complete changelog
here:http://github.com/carlhuda/bundler/blob/master/CHANGELOG.md The new
Use the mongodump utility from the command line. It comes with
mongodb, and can be pointed at whatever remote database you like.
For example, try a ruby script that looks something like:
host = 'flame.mongohq.com:27000'
db = 'ginnys-database'
user = 'ginny'
pass = 'password'
`mongodump
You can open a support ticket to request a specific time.
Chris
On Jul 27, 10:37 am, Henry Wagner hjw3...@gmail.com wrote:
Hi,
I have an app on Heroku with a daily cron job. Currently the job runs at
around 11pm. Is this time configurable? Ideally I would like to have the job
run at around
I'm anxious for Bundler 0.9.26 also!
On Jun 9, 3:31 am, Ariejan de Vroom arie...@gmail.com wrote:
Hey,
I'm running into a Bundler/Rails issue when trying to deploy a Rails
3.0.0.beta4 app to the bamboo-ree-.1.8.7 stack. Rails 3b4 need bundler
0.9.26, however, 0.9.25 is installed.
Are
Sounds good. I wasn't a member of the beta - was the flush_all
function ever added? I don't see it in the docs.
Thanks
On Apr 19, 5:48 pm, Oren Teich o...@heroku.com wrote:
Hi all,
We're excited to announce that we'll be taking memcached out of beta this
week. We will have a few plans to
Chap's question is pretty clear - he wants to flush a specific page
from the http cache. Unfortunately, there's no way to do this on
heroku right now. I'd love this functionality, too, but it just
doesn't seem to be possible yet. What you can do, though, is set a low
expiration on the cached
On Mar 9, 10:40 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
I'm interested in this too. I have several thousand MongoDB documents
that are read-only and frequently accessed, so I figured I'd just
cache them in the dyno's memory to speed up requests.
So is 300 MB the hard limit
to get near it anytime soon, but it would
be helpful to know.
Thanks!
On Mar 10, 11:36 am, Carl Fyffe carl.fy...@gmail.com wrote:
Chris,
Will this work for you?http://docs.heroku.com/http-caching
Carl
On Wed, Mar 10, 2010 at 2:22 PM, Chris Hanks
christopher.m.ha...@gmail.com wrote
I'm interested in this too. I have several thousand MongoDB documents
that are read-only and frequently accessed, so I figured I'd just
cache them in the dyno's memory to speed up requests.
So is 300 MB the hard limit for each dyno's RAM, then? I suppose that
if it grows beyond that point, the
Yes, dynos are billed hourly, but I think he was asking whether he
gets billed if the dynos sit there unused. The answer is yes - if you
set the dynos to 8, you'll be paying 35 cents an hour regardless of
how much traffic they're actually processing.
On Jan 16, 12:24 pm, Terence Lee
Absolutely. I'd much rather trust my credit card number to Heroku than
to Paypal.
On Jan 14, 4:57 pm, Shane Becker veganstraighte...@gmail.com wrote:
Haha, well, let's see if I can rephrase that. Heroku, can you please
replace your current payment method with PayPal? It would make
My app info screen on heroku.com says: Slug Size: 6.2 MB of 20mb. Is
that a typo, then? Should it be 50mb?
On Dec 19, 12:25 pm, Oren Teich o...@heroku.com wrote:
That is just for the DB. Your slug can be up to 50MB. If you're hosting
large assets, we suggest using S3 directly. 1GB is only
Wojciech, if you ask support about that and get some good news, would
you report back? I'm curious about this too.
Thanks!
Chris
On Dec 8, 2:05 pm, Oren Teich o...@heroku.com wrote:
I don't know if that's possible or not it's probably a function of the
SSL protocol and our routing mesh, but
Rails 3 won't run on Ruby 1.8.6, so Heroku will need to offer Ruby
1.8.7 or 1.9 (preferably 1.9) before we can use it. This is what's
keeping me from trying out Rails 3.0.pre on Heroku right now.
Source:
http://www.mail-archive.com/rubyonrails-c...@googlegroups.com/msg09683.html
On Nov 25,
Can anyone at Heroku comment on this?
Thanks!
On Oct 21, 3:06 pm, Chris Hanks christopher.m.ha...@gmail.com wrote:
Hi -
Does Heroku have any plans to offer a NoSQL alternative to Postgres?
MongoDB, CouchDB, etc?
Thank you!
--~--~-~--~~~---~--~~
You
57 matches
Mail list logo