-
Website
http://smartic.us -
Original page
http://smartic.us/?p=1242 -
Subscribe
All Comments -
Community
-
Top Commenters
-
bryanl
27 comments · 3 points
-
jjulian
3 comments · 1 points
-
scottmotte
3 comments · 1 points
-
TomK32
2 comments · 1 points
-
joegrossberg
2 comments · 2 points
-
-
Popular Threads
-
10 developer skills needed in 2010
2 weeks ago · 12 comments
-
Programmer vs Rap Star
2 weeks ago · 9 comments
-
Semantic Versioning
1 week ago · 2 comments
-
10 developer skills needed in 2010
The thing that the "rails community" has in abundance right now is an arrogant defensiveness. Criticism, any criticism these days is answered by ignoring any valid points made, spewing a few loads of smugness and pretending the bug is a feature. "Dreamhost and rails don't mix"; shouldn't that really be "hosting and rails don't mix", seeing as the only alternatives you recommend are VPS providers?
Alright, lets go there - it's the thing cool kids do these days. VPS is hot. Flexible. You want that.
What "we" don't say is that the flexibility a VPS offers comes with a price, and a serious one at that - system administration. Root access on an Internet-facing server doesn't just mean you get control of a shiny new toy, but that you're responsible for what it's doing. Watching your "smarticast" I stumbled across this gem:
"People think this [allowing sudo access to the user the webserver is running under without a password] might not be very secure, but for our little demo this'll do."
Right. One remote exploit in mongrel and your server is free for the taking.
You also didn't say anything else about securing that server - installing a IDS, checking logs, making sure exim can't spew spam into the world, subscribing to security mailing lists, making sure you regularly update your gems and packages -- you mentioned none of those fun little tidbits that you need to take care of. And you need to care; it's your server, your responsibility.
So, in essence, your "blog in 15 minutes" now takes a few hours to setup and a part-time job as admin. Go rails.
(btw, i hang out in #rubyonrails as eljo if you'd like to rant back :)
@the coward
They say they support rails. I say they aren’t doing a very good job at it. Also, I will never say that Apache is the wrong answer, I’ll just say it isn’t quite the right answer for our domain.
@johannes Read what I said again. I will make no excuses for anyone who tries to stand up an Internet facing server without at least understand the implications of doing so. My primer was a quick demo to get some contestants started… not “How to be a Unix admin in 15 minutes”
And to everyone else… If you are standing up a new site, do yourself a favor and go find someone who understands networking or security or unix, and either work with them or have them do the heavy lifting for you. The simple ability to code doesn’t mean you could or should be doing everything yourself. Kudos to the ones that want to learn and change things to make their dev environment fit their scenario. Shame on the ones who think that everything must fit all the time.
@ bryanl, by “isn’t quite the right answer for our domain” you mean the domain of making web applications? Which Apache serves up handily for most other languages. In fact, I’ve never heard this “Apache isn’t a valid solution” in any other language but Ruby but I’m willing to chalk that up to my lack of experience in those languages.
Also, “Shame on the ones who think that everything must fit all the time.” I’d think that people who think <span class="caps">VPS</span> is the fit for Rails every time must garner the same amount of shame, right? Right?
@AC
Yes, a <span class="caps">VPS</span> isn’t always the best option. I’m suggesting it because it is a nice cheap solution to get started.
If you think a <span class="caps">VPS</span> is a cheap solution for starting out... maybe you are as blind as your arguments would lead one to believe. Rails isn’t rocket science. [Isn’t that one of the biggest hypes for it? That it makes everything simpler?] So suggesting that top-tier hosting solutions are the first steps for hosting doesn’t make sense.
@AC
I guess thats where our thought pattern differs. I think a <span class="caps">VPS</span> is the lowest form of Internet presence for any project I would work on.
@Johannes
I’m confused by your statements about cost and difficulty of the hosting alternatives Bryan mentioned. I was attempting to run a Rails app on dreamhost and the spotty uptime, including every time I hit my app getting an error and needing to hit reload, drove me to try slicehost. $20 a month is not what I would call expensive. I followed slicehost’s setup article and had Nginx, Mongrel Clusters, Capistrano, and Mysql with firewalls in place, ssh access, and svn over ssh in two hours. There’s no excuses there for using a shared host when its all that easy.
<span class="caps">BTW</span>, when I did have a few questions that the articles didn’t cover, slicehost guys were always online at their campfire and answered immediately, or I got an answer right away on their forum.
My app has yet to go down once since I switched.