96 points · by jpetazzo · 15y ago · 51 comments
I would love to know more about the discussions you had with miyagawa, and how the design for this evolved. Anything this elegant must have taken a ton of iterations.
Oh, and may I have an invite, please?
http://www.dotcloud.com/account/create
A5FxUv 0HJldL
oM0PPT l6CWNG
4iP5YR ggCJ1k
mSMOaV h1JvT7
rh4aoT BkeCkR
2xYfBf uyR3d4
g2ZBP9 hJ0JKc
OWx5qu cmf9z9
bAlvX4 W6yt3q
Wi42Ft XgFmfP
nnvVxf kfHuMh
kJjg4Q eXV7Wn
Djxozb chSFmG
gt3nQb TNNupl
oB2JNm OgDsHW
thEAaq oZx5mv
I1pMjR nWeKhz
vjd19G YiNr1O
wG2Uqm XBQp3P
wNZJAE yRfnON
8tiohx AIg6BH
W2IU3h xmfjZ5
E5Ttq5 GWlpMK
x8lUjd Vfbjxi
MEDa7H HnytsUDotCloud++ Miyagawa++ Perl++
Good luck !
Where is DotCloud hosted?
DotCloud runs on Amazon EC2. More specifically, we run on the us-east-1 region, across multiple availability zones.
http://www.modernperlbooks.com/mt/2011/03/why-psgiplack-matt...
It resumes quite well my opinion and concern regarding the doc.
- No Apache????
- why force a rather devish level PSGI module on all web applications???? oh, yeah, you've been advised by the guy who made the port...
i've been using CGI::Fast under Apache for years and it has been working just PERFECTLY fine.
Do not see the need to change especially when
the PSGI doc is so badly written...
At least the doc states that people who supports mod_perl/CGI::Fast will not see much benefit of switching to PSGI...
- what is the Perl version?PSGI has been developed in 2009, then nothing for a long time (and as it hasn't spread as wild fire across providers i don't think there is enough real dev around it to assure that it is "stable" enough), now, a dev release, sure... the doc is unclear as to what it brings on the table, why it should be used, how to be used, the improvement it brings if any are really not clear... "you will be glad in the future..."...yeah, i need more than that to get people around me starting to use it.
FastCGI has been working for a long time, clear, easy and already "cross-server"...
All in all, the doc is a real problem and no hard evidence of it being used is, to some extend, an other.
Nobody in their right mind has been using CGI::Fast directly for years - we've done it via adapters through e.g. Catalyst::Engine::FCGI for Catalyst and equivalents for other frameworks.
PSGI is just a means to present various HTTP bearing things to the app - in fact the FCGI.pm maintainers all now deploy their applications via Plack::Handler::FCGI.
All perl frameworks of note now have support for PSGI, and Catalyst is dumping its engine modules in favour of Catalyst::Engine::PSGI - we've been heavily involved in improving the Plack ecosystem to ensure that'll be a sane choice.
There's plenty of assurance that it's stable enough.
Go DotCloud for forward thinking choices here.
I assume you're looking at the non-dev PSGI specification on CPAN. We're working on revising the documentation to upgrade the specification to 1.1, as well as improving the FAQ document.
Just to address your concern, I improved the part where it explains the benefits of switching to PSGI: https://github.com/miyagawa/psgi-specs/commit/e3e756cf1eebe8...
Also, for more generic overview and introduction of what PSGI is and why it is useful, take a look at my slides at OSCON 2010: http://www.slideshare.net/miyagawa/plack-at-oscon-2010
- miyagawa
So far all alpha testers seemed very happy :)
To tell the truth, this could be a good occasion to try to make the in-house app works in such environment but
1- don't see any real benefit
2- don't want to decipher the doc
3- no time (will have to work extra hours)
you should definitely support both environment and not base your choice on the sole feedback of one person (you know... TMTOWTDI)
Well, actually, we didn't pickup Plack from its author. When people started asking about Perl, we just replied with another question: "which framework? how? what?", and we tried extract the most common denominator.
The vast majority told us about Mojolicious, Dancer and Catalyst. There seemed to be a pattern :-)
Regarding the server interface, a lot of people seems to agree over Plack. We were the ones asking "hey, what about FastCGI?" - since I personally never had met Plack before. We were shown the Plack::*::FCGI modules and thought "okay, that seems cool".
Then we had a look at the server options. We had already used UWSGI for the Python stack, and UWSGI has a PSGI module. Some might say that it's a bit experimental, but the authors are awesome people, always willing to fix bugs as fast and efficiently as possible.
Of course, the author of Plack helped us to get everything straight - but paradoxally, he was also the one pointing us to cpanm, perlbrew and basic stuff like Makefile.PL.
Now, to get back to you: what does your app look like? We would like to help and see how we can get it to run on DotCloud!