Live data from Hacker News

Heroku Announces New Version: “Celadon Cedar”

news.heroku.com

21–30 of 48 posts

Re: Heroku Announces New Version: “Celadon Cedar”

#21

It seems unlikely that rack-cache + memcached would actually offer similar performance to varnish. This seems like a pretty bad set of changes for apps that need to serve out lots of static content - think newspapers, blogs, etc. Will the old configuration style for http caching continue to be supported indefinitely?

Where did you read about this new configuration?

Re: Heroku Announces New Version: “Celadon Cedar”

#22

It seems unlikely that rack-cache + memcached would actually offer similar performance to varnish. This seems like a pretty bad set of changes for apps that need to serve out lots of static content - think newspapers, blogs, etc. Will the old configuration style for http caching continue to be supported indefinitely?

In testing we've seen roughly similar performance with rack-cache + memcache to varnish for most situations.

Re: Heroku Announces New Version: “Celadon Cedar”

#23
post #5

Oh, hey, it appears you can run python stuff too: https://gist.github.com/0a08e676559fc03e6200 kurt$ heroku run bash Running bash attached to terminal... up, run.2 ~ $ python -V Python 2.7.1 ~ $

Also Go and Erlang ~ $ go gobject-query godefs godoc gofix gofmt goinstall gomake gopack gopprof gotest gotry gotype govet goyacc ~ $ erl erl erlc

How do you output from bash/terminal to text like that?

Re: Heroku Announces New Version: “Celadon Cedar”

#24

It seems unlikely that rack-cache + memcached would actually offer similar performance to varnish. This seems like a pretty bad set of changes for apps that need to serve out lots of static content - think newspapers, blogs, etc. Will the old configuration style for http caching continue to be supported indefinitely?

memcached also has a 1MB limit.

(Begs the question though: What are we doing serving pages >1MB?)

Re: Heroku Announces New Version: “Celadon Cedar”

#25
post #21

It seems unlikely that rack-cache + memcached would actually offer similar performance to varnish. This seems like a pretty bad set of changes for apps that need to serve out lots of static content - think newspapers, blogs, etc. Will the old configuration style for http caching continue to be supported indefinitely?

Where did you read about this new configuration?

http://devcenter.heroku.com/articles/http-routing#the_heroku...

"The new HTTP stack does not include Varnish (a reverse proxy cache) because it is not compatible with the advanced HTTP features described above. If you wish use HTTP caching headers, rack-cache and the memcache add-on offer features and performance comparable to Varnish, but with the additional benefit of giving you complete control over authentication and page expiration."

Re: Heroku Announces New Version: “Celadon Cedar”

#26
post #23

Earlier quoted context omitted.

Also Go and Erlang ~ $ go gobject-query godefs godoc gofix gofmt goinstall gomake gopack gopprof gotest gotry gotype govet goyacc ~ $ erl erl erlc

How do you output from bash/terminal to text like that?

Type part of what you want, then hit tab twice.

Re: Heroku Announces New Version: “Celadon Cedar”

#27
post #12

"LXC used as a container for all dynos running on Celadon Cedar" Has anybody published a complete SELinux or SMACK policy to use LXC with untrusted users? Last I checked LXC wasn't fully ready yet.

Very interested to hear this as well. Anyone from Heroku can comment?

LXC is one of several isolation layers used in the Heroku dyno manifold to ensure process security and resource guarantees. Here is a more in-depth discussion of Heroku dyno isolation: http://devcenter.heroku.com/articles/dyno-isolation.

Re: Heroku Announces New Version: “Celadon Cedar”

#28

It seems unlikely that rack-cache + memcached would actually offer similar performance to varnish. This seems like a pretty bad set of changes for apps that need to serve out lots of static content - think newspapers, blogs, etc. Will the old configuration style for http caching continue to be supported indefinitely?

I expect that someone will build a Varnish add on for Heroku. It even looks possible to run Varnish on a dyno, believe it or not.

I love Varnish, but it's completely inflexible in Heroku so it's always been a mixed blessing. Sticking Google Analytics on your page, for instance, creates cookies for users that mean they will no longer get cached content. It's something that I can work around with dedicated Varnish, but Heroku can't really fix for me.

Re: Heroku Announces New Version: “Celadon Cedar”

#29
post #6
post #5

Oh, hey, it appears you can run python stuff too: https://gist.github.com/0a08e676559fc03e6200 kurt$ heroku run bash Running bash attached to terminal... up, run.2 ~ $ python -V Python 2.7.1 ~ $

Huh, so the Python support is pretty complete: Simple Flask app: https://gist.github.com/efec5e060e88abc87821 Python/Django: https://gist.github.com/866c79035a2d066a5850

From their new homepage (http://www.heroku.com) :

  "Run Anything
   Run and scale any type of app."

Re: Heroku Announces New Version: “Celadon Cedar”

#30
post #28

It seems unlikely that rack-cache + memcached would actually offer similar performance to varnish. This seems like a pretty bad set of changes for apps that need to serve out lots of static content - think newspapers, blogs, etc. Will the old configuration style for http caching continue to be supported indefinitely?

I expect that someone will build a Varnish add on for Heroku. It even looks possible to run Varnish on a dyno, believe it or not. I love Varnish, but it's completely inflexible in Heroku so it's always been a mixed blessing. Sticking Google Analytics on your page, for instance, creates cookies for users that mean they will no longer get cached content. It's something that I can work around with dedicated Varnish, but…

That's not true. Google Analytics cookies are injected via JS. When heroku's Varnish is checking for a cached version of the page, it strips any cookie information given by the browser.

We've are running production apps with Varnish caching + Google Analytics without issue.

Set your cookies with JS or on uncached pages (such as POST logins) and you'll be fine.

Post reply on HN