Re: free vs. paid heroku app performance
What's heroku's official stance on users using various methods to prevent dynos from being idle? I personally have a production app that only uses 1 dyno and need to wait a while for the first request to get processed while the dyno spins back up. While I understand Heroku's reasons for spinning down dyno's that are not being used, I also have heard that slow responses from a web site will impact search engine ranking (faster responses are better). I think this may have been mentioned already but is Heroku planning on offering an "add-on" in order to prevent spinning down dynos for a nominal fee? This seems like a no brainer since users are going to use other methods to keep their dynos alive anyway. Thanks, Shane On Tue, Aug 31, 2010 at 2:15 PM, Oren Teich wrote: > > >> I don't really mind the sluggish spin up time. What I do mind is >> having slug compilation occasionally take 4+ hours instead of the >> normal 3 minutes. That means I can't show my boss the current state of >> > > Slug compile should never take that long. It sounds like a bug - we have > noticed a few stale lock files on compiles. We're digging in to see what's > going on over the next few weeks on this particular area. > > For the sake of clarity (and a future docs page I'll put up): > > h1. When do you idle my app? > > Only dynos are idled, not workers. If you have only 1 free dyno, your app > will be spun down after a period of inactivity. This period is variable > depending on demand on the platform, but is never less than 20 minutes or > more than 1 hour. > > No other resources are different. Git push, slug compilation, etc are all > identical. > > Increasing your dyno to >1 will prevent your app from idling out. > > Note: other resources (workers, add-ons) do not effect dyno idling at this > time. If you have 1 dyno + 10 workers, your dyno will still idle out after > a period of inactivity. We never idle out workers. > > What other questions do you guys have on the area that I should include? > > Oren > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- -Shane -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: free vs. paid heroku app performance
Can't you set something up to request a page on the app every so often to simulate traffic? I ran into the same issue on Google App Engine and did this to prevent the resources behind my app to not wind down. On Thu, Aug 26, 2010 at 2:32 PM, Eric Anderson wrote: > On 08/26/2010 11:30 AM, marcel wrote: > >> Also, it often takes 10-20 seconds to get a page to load after a >> period of inactivity, compared to lightning speed for the production >> app. >> > > If you are using the "free" heroku plan they do spin down the single dyno > when not in use. This makes sense as probably a LOT of those apps are just > something someone was playing with and does not use on a regular basis. Also > if they are not getting paid you can understand them wanting to minimize > resources. > > OTOH if you pay for at least 2 dynos then they NEVER spin down meaning your > app is always nice and responsive even if nobody has it it for a while. > > I WISH they offered the ability to purchase 1 persistent dyno. I don't > really need two (my app is lightly used) but I don't want the startup delay. > Seems if they offered 1 dyno that was persistent for $5-15/month that would > lower the barrier to entry for becoming a paying customer and allow them to > offer a single persistent dyno without dragging their profit down. > > Eric > > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- -Shane -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Hosted Rails CI?
Since you may self host, have you looked at TeamCity? http://www.jetbrains.com/teamcity On Thu, Aug 19, 2010 at 11:09 AM, Matthew A. Brown wrote: > Huh, OK -- not as much worried about the installation (I'd probably go > with Hudson) as the cost of maintaining an S3 instance or whatever > just for CI... > > 2010/8/19 Nicolás Sanguinetti : > > On Thu, Aug 19, 2010 at 11:47 AM, Matthew A. Brown > > wrote: > >> Hi all, > >> > >> One missing element from what is otherwise cloud nirvana is a hosted > >> continuous integration solution, at least ever since runcoderun closed > >> up shop. Anyone know of a good one, ideally with a free or very cheap > >> intro level? > > > > Nope, but installing cijoe or integrity takes a couple minutes and not > > that much hardware, so we use those. > > > >> > >> Mat > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "Heroku" group. > >> To post to this group, send email to her...@googlegroups.com. > >> To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > >> For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > >> > >> > > > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > > To post to this group, send email to her...@googlegroups.com. > > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- -Shane -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: MongoHQ + Sinatra
I use something like the following: db = Mongo::Connection.new(ENV['DB_HOST'], ENV['DB_PORT']).db(ENV['DB_DATABASE']) auth = db.authenticate(ENV['DB_USER'], ENV['DB_PASS']) if auth puts "authenticated" else fail "failed authentication" end On Fri, Jul 30, 2010 at 2:56 PM, Ginny Hendry wrote: > My first deployment with MongoHQ and Sinatra (Ruby 1.9.1) gets > "Internal Server Error". I used the suggested connection code like > this: > > include Mongo > def initialize >if settings.environment == :development > @db = Connection.new.db('inp-dev') >else > uri = URI.parse(ENV['MONGOHQ_URL']) > conn = Connection.from_uri(ENV['MONGOHQ_URL']) > @db = conn.db(uri.path.gsub(/^\//, '')) >end > end > > I am new to both MongoHQ and Sinatra so I'm not sure what to do. Can > you tell me if I am using settings correctly to see if I'm running on > Heroku? Or am I missing something in the Mongo connection code? > > Thanks. > > -Ginny > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- -Shane -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: alternative to pony
Just personal preference. I was just surprised to see my slug size double after adding pony. On Fri, Jul 9, 2010 at 5:48 PM, Oren Teich wrote: > Any reason you are trying to keep the slug size down? Anything under 50MB > isn't a problem. > > Oren > > On Thu, Jul 8, 2010 at 1:27 PM, Shane wrote: > >> I just added pony to my app to send email and it added ~1.5MB to my >> slug size. Is there an alternative that's lighter? >> >> Thanks, >> Shane >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to her...@googlegroups.com. >> To unsubscribe from this group, send email to >> heroku+unsubscr...@googlegroups.com >> . >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- -Shane -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: EXIF support on Heroku?
Have you tried http://exifr.rubyforge.org/ ? -Shane On Wed, Jun 9, 2010 at 12:16 AM, Patrick Crowley wrote: > Anyone have any thoughts on this? > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: EXIF support on Heroku?
A pattern I've adopted is to host a worker on a non-Heroku server and wrap it with a RESTful api via Sinatra or use RabbitMQ if you need something more robust. -Shane On Tue, Jun 8, 2010 at 10:15 AM, Patrick Crowley wrote: > Has anyone been able to extract EXIF information from photo uploads on > Heroku? > > Most EXIF parsing gems are wrappers for libraries that aren't > available on the Heroku stack. (And we can't install these libraries > manually as you'd normally do on a VPS.) > > I'm digging into this now... just wondering if anyone already has a > solution? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.