Live data from Hacker News

Heroku Announces New Version: “Celadon Cedar”

news.heroku.com

41–48 of 48 posts

Re: Heroku Announces New Version: “Celadon Cedar”

#41
post #39

Earlier quoted context omitted.

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 .

So LXC is fully secure now if you stick to chroot? http://www.mail-archive.com/lxc-users@lists.sourceforge.net/...

You can't contain root in lxc. It's great for unprivileged users, though.

Re: Heroku Announces New Version: “Celadon Cedar”

#43
post #16
post #15

Earlier quoted context omitted.

Absolutely none of this is officially supported, right? (It looks very much like "game on, DotCloud", from what you've been finding, though....)

I don't think any of it's supported. Redis will run, but you can't exactly get to it (no TCP routing mesh apparently). It really just seems like they made it really easy to add new languages.

This is because running commands is from a one-off dyno vs. the formation dyno's that have requests routed to them.

See: http://devcenter.heroku.com/articles/oneoff-admin-ps

Re: Heroku Announces New Version: “Celadon Cedar”

#44
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 ~ $

Yep, Python works great so far, I threw up a little cookbook recipe for a Pyramid app: http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/...

Since its fairly easy to composite multiple WSGI apps together, one could run a few different Python WSGI-based apps under a single multi-threaded process to take full advantage of the free quota. That would work with Pylons/Pyramid/Flask and other Python web frameworks that don't rely on a single set of module global settings (Django).

Re: Heroku Announces New Version: “Celadon Cedar”

#47
post #31
post #30

Earlier quoted context omitted.

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.

It's possible that it strips the GA cookies (which is cool, I had no idea), but Varnish doesn't strip cookie information from the browser. If it did you wouldn't get any Rails sessions or anything.

It's not specific to GA cookies.

You can set cookies on uncached pages in ruby and read them without issue in JS on Varnish cached pages. The page will still be cached even if the user has a session cookie.

Basically: don't set or get cookies in ruby on cached pages and you'll be fine.

Re: Heroku Announces New Version: “Celadon Cedar”

#48

It looks that the new stack is based on BeeHive ( http://getbeehive.com/ ).

Um, no.

No? Not even a little? Just to be clear - I mean the part that replaced nginx + Varnish combo (HTTP routing), not the deployment stuff.

In any case, I guess you won't / can't say what you're using instead of those two? ;)

Post reply on HN