Varnish VCL configuration

2011-02-07 Thread JC
Is it possible to supply custom VCL code for your heroku application
that will change the way varnish behaves in front of it? Being able to
change how the cache hash is generated (for instance using information
in cookies as well) could be really useful.

-- 
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: amazon simple email service + heroku

2011-02-07 Thread Dan Croak
Amazon has now removed the email address verification requirement of the
Reply-To header. Sweet!

On Fri, Feb 4, 2011 at 12:53 PM, Dan Croak  wrote:

> The only problem we've seen so far is not being able to use the Reply-To
> header because THAT email address must be verified:
>
> https://forums.aws.amazon.com/thread.jspa?messageID=220892
>
> That's the typical pattern where your app always sends email (never on
> behalf of another user), but you set the "sending" user's email to the
> "Reply-To" header so the receiver can just reply normally.
>
> We decided to remove the "Reply-To" feature for now.
>
> On Fri, Feb 4, 2011 at 12:51 PM, Dan Croak  wrote:
>
>> That doesn't appear to be true once you've moved out of their sandbox and
>> into the production environment. I just tested this a few seconds ago,
>> sending an email via Amazon SES from a Rails app to an email that has never
>> received an SES email before.
>>
>> The user received only the email from my app, no opt-in email from Amazon.
>>
>> On Fri, Feb 4, 2011 at 12:21 PM, Miles Smith  wrote:
>>
>>> I've tried SES and it has an extremely crippling requirement:
>>>
>>> Every email must opt-in to recieve an email from SES. If you attempt to
>>> authorize an email account, Amazon sends out a very non-descriptive, cryptic
>>> (for normal users) message that states that "Amazon SES would like to send
>>> email to you". It doesn't say anything about my app, nor did I find any way
>>> of modifying the message that's sent.
>>>
>>> Still not ready to replace my current email solution with them for that.
>>> :(
>>>
>>> On Fri, Feb 4, 2011 at 8:21 AM, Tim Fletcher  wrote:
>>>
 > 2) Any sign of a Ruby library?
 > Currently only .NET, Java and PHP wrappers.

 Yes, there's one here:
https://github.com/drewblas/aws-ses

 This might help if you're using Rails 3:

 http://robots.thoughtbot.com/post/3105121049/delivering-email-with-amazon-ses-in-a-rails-3-app

 Cheers,
 Tim

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


>>>
>>>
>>> --
>>>
>>>
>>> Miles Smith
>>> *Owner/Lead Developer*
>>> http://vimae.com/
>>>
>>> This e-mail and any files transmitted with it are confidential and
>>> intended solely for the use of the individual or individuals to whom the
>>> e-mail is addressed. This e-mail and any files transmitted with it may
>>> contain confidential, proprietary or legally privileged information. No
>>> confidentiality or privilege is waived or lost by any mistransmission. If
>>> you are not the intended recipient of this e-mail, please immediately notify
>>> the sender and delete and/or destroy the e-mail (along with any files
>>> transmitted with it) and all electronic or hard copies from your system. You
>>> should not, directly or indirectly, use, disclose, distribute, print, or
>>> copy any part of this message if you are not the intended recipient.
>>>
>>>  --
>>> 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.
>>>
>>
>>
>

-- 
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: Scaling - Big and Fast

2011-02-07 Thread John Maxwell
You could go beyond normal rails caching and manually use Redis to nail the 
DB problems as well - each time new data is requested Marshal dump the 
results into Redis, then do a failover query of Redis before hitting AR for 
each query. You could probably serve that volume of requests with simply the 
standard shared database if you had enough Redis storage space.

-- 
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: Running build on heroku using Integrity

2011-02-07 Thread Amit Kulkarni
OK.Thanks

On Fri, Feb 4, 2011 at 8:53 PM, John McCaffrey wrote:

> i think this is something for the integrity forum, as not many people here
> have tried it. (and the issues we're having are not standard rails app
> issues).
>
> Let me know if you get an answer from the integrity people, as I'd like to
> see this working too.
>
> -John
>
>
> On Fri, Feb 4, 2011 at 2:26 AM, Amit Kulkarni 
> wrote:
>
>> Hi,
>> Any updates on this?
>>
>>
>> On Thu, Feb 3, 2011 at 5:21 PM, Amit Kulkarni > > wrote:
>>
>>> Yes we cannot use ssh keys because of which i am using the https url.But
>>> again it is not working and getting the error
>>>
>>> I tried to clone the private repo on my local machine using the https and
>>> it is asking for the password.May be we are not providing the password while
>>> cloning on Integrity,it is giving error.
>>> Is there any way where to do it.
>>>
>>>
>>> On Wed, Feb 2, 2011 at 9:25 PM, Michael Abner wrote:
>>>
 You won't be able to cline the private repo without hacking integrity to
 send your ssh keys.

 Mike

 On Feb 2, 2011, at 5:20 AM, Amit Kulkarni 
 wrote:

 Hi,
 After many attempts i am able to clone public repo but for private repo
 i am getting error.
 For public repo,enter the url as
 
 https://github.com/username/projectname and it will clone and run the
 script.

 But for private repo when i run this i am getting error as
 error: The requested URL returned error: 401 while accessing
 
 http://github.com/abc/test.git/info/refs
 fatal: HTTP request failed

 So is there any way where i can clone the private directory without
 entering the password.



 On Wed, Feb 2, 2011 at 2:26 PM, Amit Kulkarni <
 amitkkulkarni...@gmail.com> wrote:

> Hi John,
> I tried this by copying the https version in the integrity repo but it
> does not seem to be work.
> I am getting an error as
> Exception occured during build: undefined local variable or method
> `output' for #\n"
>
> Now i tried to debug the problem by putting debugging statements in the
> lib/integrity/commandline.rb file then i a getting the result as
>
>
> "jj"
> "d"
> "Could not create directory '/home/slugs//.ssh'.\r\nFailed to add the
> host to the list of known hosts
> (/home/slugs/.ssh/known_hosts).\r\nPermission denied 
> (publickey).\r\nfatal:
> The remote end hung up unexpectedly\nInitialized empty Git repository in
> /disk1/var/tmp/userapps/407034_fb0af09_58a6/25/.git/\n"
> "jj"
> "d"
> "error: The requested URL returned error: 500\nwarning: remote HEAD
> refers to nonexistent ref, unable to checkout.\n\nInitialized empty Git
> repository in /disk1/var/tmp/userapps/407034_fb0af09_58a6/26/.git/\n"
> "jj"
> "d"
> "error: The requested URL returned error: 500\nerror: The requested URL
> returned error: 500\nerror: The requested URL returned error: 500\n"
> "jj"
> "d"
> "error: pathspec 'origin/master' did not match any file(s) known to
> git.\n"
> "jj"
> "d"
> "error: The requested URL returned error: 401\nwarning: remote HEAD
> refers to nonexistent ref, unable to checkout.\n\nInitialized empty Git
> repository in /disk1/var/tmp/userapps/407034_fb0af09_58a6/27/.git/\n"
> "jj"
> "d"
> "error: The requested URL returned error: 401\nerror: The requested URL
> returned error: 401\nerror: The requested URL returned error: 401\n"
> "jj"
> "d"
> "error: pathspec 'origin/master' did not match any file(s) known to
> git.\n"
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> "jj"
> "d"
> "error: The requested URL returned error: 401\nwarning: remote HEAD
> refers to nonexistent ref, unable to checkout.\n\nInitialized empty Git
> repository in /disk1/var/tmp/userapps/407034_fb0af09_58a6/28/.git/\n"
> "jj"
> "d"
> "error: The requested URL returned error: 401\nerror: The requested URL
> returned error: 401\nerror: The requested URL returned error: 401\n"
> "jj"
> "d"
> "error: pathspec 'origin/master' did not match any file(s) known to
> git.\n"
>
> Also if it enter the https version of the the git url in the browser
> then i am getting an error as 401 as mentioned in the error.
> I then removed the .git from the end and checked then in the browser it
> is working but in the log i am getting 500 error.
>
>
> error: The requested URL returned error: 500\