Re: Database disaster risk and backups

2010-11-17 Thread Al
You might want to take a look at using RDS. The backup options there
are much better, and you can access the database through your favorite
SQL client. They use a transaction log, which means you can recover to
a specific point in time. Also, they've got these nifty Read
Replicas which can be a big help if you need a reporting database or
something similar.

It's important to remember that you might want to access a backup due
to bugs in your code that destroy data, or some kind of blunder by
your DBA. It's not enough to know that Heroku can recover from their
own train wrecks.


On Nov 17, 10:03 am, Paul Dowman p...@pauldowman.com wrote:
 Thanks for the reply. So it's not actually possible to guarantee that
 there will be no data loss, the best we can do is an hourly backup
 (assuming the data set is small enough that a full dump each hour is
 feasible).

 So why does the marketing page (http://heroku.com/how/architecture)
 say that there's replication?

 Thanks,
 Paul

 On Nov 16, 5:02 pm, Peter van Hardenberg p...@heroku.com wrote:

  Hey Paul,

  sorry -- I'm super-busy right now but I'll at least tap out a bit of a
  reply.

  On Tue, Nov 16, 2010 at 1:34 PM, Paul Dowman p...@pauldowman.com wrote:
   Hey Heroku guys, just bumping this thread.

   To summarize: do we need to do automated regular backups to protect
   against Postgres or some other part of Heroku infrastructure going
   down, or is the database guaranteed to be reliable?

  We take automated backups as disaster insurance, but make no promises about
  their intervals. In the event of an outage, we handle recovery. If there is
  the potential for data loss, we reach out to any affected users.

   I'm guessing we do, and if so how do we do that since an hourly dump
   of postgres via cron isn't reliable enough or scalable? (i.e. you can
   lose up to an hour of data, and more as the dump starts to take longer
   with a large dataset.)

  Hourly dumps is probably your best solution at the moment, but we're aware
  that there are better solutions out there and would love to schedule those
  into our release schedule some time soon.

  Having said that, in the three years we've been running PostgreSQL, I
  believe the number of data-loss failures (and by that I mean
  restore-from-backup failures) could be counted on one hand.

  -pvh

-- 
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: Heroku down time today, about 30 minutes total

2010-10-29 Thread Al
So, 3 nine's is what to expect from Heroku?


On Oct 28, 3:50 am, Peter Marklund peter_markl...@fastmail.fm wrote:
 Regardless with hosting option you choose you will have downtime. I
 have found more often than not the reason is to do with infrastructure
 like power, networking, hardware, routing etc. that will most likely
 be out of your control. I think the downtime I've seen with Heroku is
 tolerable and you shouldn't necessarily assume you'll have less
 downtime if you move somewhere else.

 Peter

 On Oct 27, 9:46 pm, oma ole.morten.amund...@gmail.com wrote:

  unexpected downtown is way different than planned downtown. This is
  really discomforting. I'm not looking forward in moving my production
  app to more stable place... heroku should really answer this.

  On Oct 27, 7:19 pm, Jimmy Thrasher ji...@jimmythrasher.com wrote:

   Interesting.  So, back of the envelope, from a dev perspective:

   ruby-1.8.7-p302  elapsed = (Time.local(2010,10,26,16) -
   Time.local(2010,8,1)) / 60
    =124800.0
   ruby-1.8.7-p302  (elapsed - 45 - 28 - 45) / elapsed
    = 0.999054487179487

   About 99.9% uptime over the elapsed time.

   It's still way cheaper for me to use Heroku, but the cost of 30 minutes of
   downtime in a month is fairly low.  Folks with higher uptime requirements
   are likely just going to have to shell out the $$$ no matter which way you
   slice it.

   Jimmy

   On Wed, Oct 27, 2010 at 12:54 PM, John Norman j...@7fff.com wrote:
Below is the data I have for one app (similar data from two other apps).

So, for September, 28 minutes of downtime . . . better than 3 nines:
   http://en.wikipedia.org/wiki/High_availability#Percentage_calculation

But I would much rather report to my customers official data from 
Heroku.

The times below are central time zone, I think.

AUGUST - Total unavailable minutes: 45

unavail at           avail at             elapsed
8/4/2010 17:06:00    8/4/2010 17:51:00    0:45:00

SEPTEMBER - Total unavailable minutes: 28

9/13/2010 8:46:00    9/13/2010 8:55:00    0:09:00
9/13/2010 14:26:00    9/13/2010 14:36:00    0:10:00
9/21/2010 1:16:00    9/21/2010 1:21:00    0:05:00
9/28/2010 22:26:00    9/28/2010 22:30:00    0:04:00

OCTOBER - Total unavailable minutes so far: 45

10/4/2010 15:41:00    10/4/2010 15:51:00    0:10:00
10/5/2010 11:56:00    10/5/2010 12:01:00    0:05:00
10/26/2010 12:16:00    10/26/2010 12:26:00    0:10:00
10/26/2010 14:41:00    10/26/2010 14:46:00    0:05:00
10/26/2010 15:21:00    10/26/2010 15:36:00    0:15:00

On Wed, Oct 27, 2010 at 9:53 AM, Jimmy Thrasher 
ji...@jimmythrasher.comwrote:

I'd be curious to find out what the actual uptime percentage is, and 
what
it would cost you to maintain that on a different platform with 
comparable
services.  :)

Jimmy

On Wed, Oct 27, 2010 at 9:55 AM, JDeville jeffdevi...@gmail.com 
wrote:

Al, I'm afraid Heroku's had a fair bit of downtime since I've joined
earlier this year.  The status link mattsly gave you paints a pretty
grim picture.  I figure I'll probably have to come up with something
else once my site's uptime becomes important to me.  I'm hoping they
stop adding new features, and instead pour themselves into stability.

On Oct 27, 8:11 am, mattsly matt...@gmail.com wrote:
 You can browse the incident archive 
 here:http://status.heroku.com/past

 Most of the issues seems to be related to tooling, but  there was at
 least one other case of app outage earlier in the month (Oct. 4)

 Does Heroku publish uptime numbers?  Does anyone running an app in
 production (I'm still not yet...) have app uptime numbers they're
 willing to share?

 On Oct 26, 7:03 pm, Shane Becker veganstraighte...@gmail.com 
 wrote:

   How can we be sure this won't happen again?

  No

--
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.comheroku%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
   http://groups.google.com/group/heroku?hl=en.

--
   +1-919-627-7546

--
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.comheroku%2bunsubscr...@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

Heroku down time today, about 30 minutes total

2010-10-26 Thread Al
How can we be sure this won't happen again?

-- 
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.



Heroku, SSL, iPhone, Safari, SAN: Can it be done?

2010-10-16 Thread Al
Hi, if you have a site that meets the following criteria, will you
please send me your site's URL, let me know where you bought your
certificate, and how you got it to work?

1) Your site is hosted on Heroku (we're using IP-based SSL)

2) On iPhone/Safari, you can go to https://www.yourdomain.com (note
the https). Also on Ubuntu/Firefox and desktop versions of Safari.

3) On those same browsers, you can go to https://yourdomain.com (note
the https again, no www).

4) www.yourdomain.com is the common name, and yourdomain.com is a SAN
on the cert.

5) No warnings pop up.

I've already seen all of these links, and they are not enough to solve
the problem:

http://docs.heroku.com/ssl#custom-domain-ssl-wwwyourdomaincom
http://www.thusa.co.za/blog/warwick-chapman/howto-generate-rsa-private-key-generate-csr-request-certificate-and-use-certifi
http://matthodan.blogspot.com/2010/06/how-to-setup-heroku-godaddy-standa.html

-- 
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: DDOS attack alleviation?

2010-09-29 Thread Al Sargent
Could CloudFlare be helpful here?

https://www.cloudflare.com/home.html
http://techcrunch.com/2010/09/27/cloudflare-wants-to-be-a-cdn-for-the-masses-and-takes-five-minutes-to-set-up/


On Sep 29, 5:35 am, Alex Killough alexkillo...@gmail.com wrote:
 So I feel I've either got a DDOS underway on one of my sites or a  
 malicious script sending multiple requests per second. On a VPS I know  
 how to deal with this pretty easily by checking server logs, editing  
 IP tables, and blocking particular domains and script/url patterns. Is  
 there an equivalent home remedy for heroku?

-- 
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: Looking for big data sets - improving data handling

2010-03-17 Thread Husain Al-Mohssen
we are at about 1GB now but we expect to be at 10 or more in a month.

Husain


On Wed, Mar 17, 2010 at 4:36 PM, Oren Teich o...@heroku.com wrote:

 Hi all,
 we're in the process of improving our data handling, extending taps to make
 sure it supports bigger data sets of 10GB or larger.  To make sure we're
 covering the right situations, I'm looking for people who have big databases
 that they can share with us to test with.  We'll destroy the data once we're
 done, we just want to make sure we cover the situation you are using!

 Let me know if you've got a dataset we can test against.

 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.comheroku%2bunsubscr...@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: If you reserve full instance for custom SSL - why don't I get more dynos?

2009-12-08 Thread Husain Al-Mohssen
Hi,

In general I am very happy with Heroku and their rates but I think Wojciech
has a reasonable point.

Yours,

Husain


On Tue, Dec 8, 2009 at 10:48 AM, Wojciech Kruszewski wojci...@oxos.plwrote:

 Hi,

 I've read your explanation about why you charge $100/mo for custom SSL
 (http://docs.heroku.com/ssl#faq). You need exclusive IP, Amazon
 assigns only one IP for an instance, so you need to reserve full
 instance just to use one SSL cert - seems fair.

 Ok, but if you reserve full EC2 instance just for me... then why do I
 have to pay for extra dynos? Aren't you double-billing for this
 instance?

 I believe it's just against your architecture but still I'd like to
 know the explanation.

 Regards,
 Wojciech

 --
 http://twitter.com/WojciechK http://oxos.pl - Ruby on Rails development

 --

 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.comheroku%2bunsubscr...@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.




Permission denied (publickey). on git clone -o garden g...@herokugarden.com:my_app_name.git

2009-07-13 Thread Al Chou

Please forgive the newbie question, but searching the list's archive
for

publickey git clone garden herokugarden

yields nothing.  I'm just trying to grab a copy of my code from
HerokuGarden for the first time so I can play with it locally:

$ git clone -o garden g...@herokugarden.com:tweetannotater.git
Initialized empty Git repository in /Users/al/git_workspace/
tweetannotater/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
$

I haven't seen a place I can upload an SSH public key into
HerokuGarden


Al

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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: Getting Heroku errors...any updates/suggestions?

2009-05-19 Thread Al Zimmerman

I'm getting Internal Server Error on my herokugarden apps, too. Has
this been going on for 3 days?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@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
-~--~~~~--~~--~--~---