Re:Heroku Announces New Version: “Celadon Cedar”
by mrkurt on Tuesday May 31, 2011 @11:15AM
(#2602892)
Oh, hey, it appears you can run python stuff too:
https://gist.github.com/0a08e676559fc03e6200
[ Parent
| on HN ]
Re:Heroku Announces New Version: “Celadon Cedar”
by mrkurt on Tuesday May 31, 2011 @11:17AM
(#2602905)
Huh, so the Python support is pretty complete:
Simple Flask app: https://gist.github.com/efec5e060e88abc87821
Python/Django: https://gist.github.com/866c79035a2d066a5850
Re:Heroku Announces New Version: “Celadon Cedar”
by mrkurt on Tuesday May 31, 2011 @11:39AM
(#2602992)
Wow, it gets even more interesting:
/tmp $ cd redis-2.2.8/
/tmp/redis-2.2.8 $ make
/tmp/redis-2.2.8 $ cd src
/tmp/redis-2.2.8/src $ ./redis-server
[295] 31 May 15:36:30 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[295] 31 May 15:36:30 * Server started, Redis version 2.2.8
[295] 31 May 15:36:30 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[295] 31 May 15:36:30 * The server is now ready to accept connections on port 6379
[295] 31 May 15:36:30 - 0 clients connected (0 slaves), 790480 bytes in use
[295] 31 May 15:36:35 - 0 clients connected (0 slaves), 790480 bytes in use
[295] 31 May 15:36:40 - 0 clients connected (0 slaves), 790480 bytes in useAbsolutely none of this is officially supported, right? (It looks very much like "game on, DotCloud", from what you've been finding, though....)
Re:Heroku Announces New Version: “Celadon Cedar”
by mrkurt on Tuesday May 31, 2011 @12:52PM
(#2603344)
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.
Re:Heroku Announces New Version: “Celadon Cedar”
by windle on Wednesday June 01, 2011 @01:08AM
(#2606046)
This is because running commands is from a one-off dyno vs. the formation dyno's that have requests routed to them.
Re:Heroku Announces New Version: “Celadon Cedar”
by bradly on Tuesday May 31, 2011 @02:39PM
(#2603858)
From their new homepage (http://www.heroku.com) :
"Run Anything
Run and scale any type of app."
Re:Heroku Announces New Version: “Celadon Cedar”
by tlrobinson on Tuesday May 31, 2011 @01:08PM
(#2603406)
Also Go and Erlang
~ $ go
gobject-query godefs godoc gofix gofmt goinstall gomake
gopack gopprof gotest gotry gotype govet goyacc
~ $ erl
erl erlcHow do you output from bash/terminal to text like that?
Re:Heroku Announces New Version: “Celadon Cedar”
by chrisaycock on Tuesday May 31, 2011 @02:07PM
(#2603700)
Type part of what you want, then hit tab twice.
Re:Heroku Announces New Version: “Celadon Cedar”
by windle on Wednesday June 01, 2011 @02:19AM
(#2606202)
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).