On Sun, Aug 16, 2009 at 7:36 PM, Brian
Hammond<[email protected]> wrote:
> I can setup throttling of a web service hosted on Heroku at the app
> level fairly easily (e.g. rack middleware + memcache).  However, this
> causes a dyno to be busy for no reason; granted, for only a very short
> time.
>
> It would be more efficient to handle this at the nginx level.  Is
> there any chance of customizing the nginx config for a Heroku-hosted
> app/service to this (or other) end?

Start with Rack middleware and memcached: it's easier and cleaner.  If
you get to the point where the performance of your dynos is being
substantially impacted by abuse (which I presume is what the
throttling is for), contact us and we can work out a
higher-performance solution together.

Adam

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to