论坛首页 编程语言技术论坛

zedshaw说 DHH说谎了

浏览 4445 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-12-18  

Well, DHH seems to be caught in a lie in his latest
blog post on Rails
myths
so I feel I
should correct it. An outright lie that Mongrel caused
his 400 restarts/day problem. However, David must have forgotten
that I have a full log of the chat where he admitted it, so
let’s get into some nice clean truth for a change.

Normally I wouldn’t give a shit. Ruby on Rails is so far
from my world right now that I don’t even really care. I
play guitar and write with maybe some coding to pay the
bills and that’s about it.

However, I get really sick and tired of the passive aggressive
people who run things over at the Rails/Ruby Revolutionary Faction.
They have to project this image of being nice, but at the
same time are competitive jerks who try to destroy their enemies.
That’s why they constantly pick on little guys like Giles, Obie,
and myself, but never in a direct way. It’s always with little
turns of the phrase, or rumors, or power plays behind closed doors.

The insults are always minor things you’d be crazy to get mad about, but
they still get under your skin. It took a year of being called an idiot
by the same people who used my wares constantly before I finally gave up.

Now It’s Mongrel

DHH is right, in this part of his
post

that Phusion Passenger is the shit.

If you aren’t using Phusion Passenger to deploy all of your Ruby web applications
(not just Rails) then you’re a dumbfuck.

Of course, I was saying that Phusion was great months ago when I met them.
Again, DHH and crew are late to the party, but that’s how they roll. I
bet they were even bashing it at first in their little chat room. Now
they’re backing it as the way to go, probably for no other reason
than to take Mongrel out as a competitor.

However, remember I told you that guys like DHH never do anything
directly. He praises Phusion Passenger saying it’s great and
better than Mongrel (for deployment).

Then, he tells a wild ass yet subtle lie about the 400
restarts/day

being a Mongrel problem. Let’s take a look at the magician
at work:

“Zed insinuated that it’s normal for Rails to restart 400 times/day because Basecamp at one point did this with a memory watcher that would bounce its Mongrels when they hit, I believe, 250MB."

If you simply remove “Mongrel” and replace it with “FCGI” you have
the real truth. DHH was actually talking about FastCGI when
he said they had to restart, and that’s proven by the fact that
he hadn’t moved Basecamp to Mongrel yet, and was talking about
installing mentalguy’s fastthread library into his existing
FastCGI setup.

But, let’s have DHH tell you instead:

(15:10:24) DHH: btw, fastthread has definitely helped us
(15:10:29) Zed S.: that mongrel_service is great stuff
(15:10:30) DHH: we're running it on BC now
(15:10:33) Zed S.: oh?
(15:10:43) Zed S.: very nice.  what's the big improvement you noticed with fastthread?
(15:10:47) DHH: it hasn't completely removed our leaking issues, but drastically reduced them
(15:11:04) DHH: we have a cap at 160M where processes get restarted
(15:11:12) DHH: before fastthread we had ~400 restarts/day
(15:11:22) DHH: now we have perhaps 10
(15:11:29) Zed S.: oh nice
(15:11:33) Zed S.: and that's still fastcgi right?
(15:12:05) DHH: ye
(15:12:13) DHH: we're still not mongrel on the big apps
(15:12:18) DHH: but on all the small ones we are
 

See that? It’s the exact same chat I got my quote from in The Rails Is A
Ghetto rant
but let’s emphasize the
important statement:

(15:12:13) DHH: we’re still not mongrel on the big apps

Now, when you read his blog post he makes it seem like he had 400
restarts/day using Mongrel, yet right here he admits to using fastcgi and
having the restart problems. It was fastthread that fixed up the
problems, which really points out just how broken Ruby is still.

To summarize the facts:

  • DHH was using FastCGI from the beginning of Basecamp and Rails.
  • He had to do forced restarts 400 times a day because of leaking issues
    under FastCGI (really Ruby).
  • It wasn’t until Mongrel and later fastthread that people could
    actually deploy without problems…almost 2 years after Rails
    was widely being adopted.
  • This means that DHH and all of rails-core lied to everyone
    about Rails’ stability for years, and keep lying.
  • It also means that if you had problems with FastCGI, then you
    were not crazy. Ruby really was too unstable for production use.

That was the point of telling people Rails crashed that much
back then. It is of course better now, but only because of
the hard work of people like mentalguy and myself. Everyone
else just denied there was a problem, including DHH.

It’s also an indicator of just how fucked up Ruby really is.
I consider the Apple Patches
Ruby’s economic meltdown. If the mishandling of that doesn’t
make you pause before picking Ruby then I don’t know what the
fuck would. Shit like that could kill a company off overnight.

Anyway, if DHH ever wonders why I flipped out, it’s this kind of
weird passive aggressive lying that did it.

Don’t Fuck Over Phusion Passenger

The one thing that pissed me off about the Mongrel project was
how it destroyed my career path. I don’t really think I ever
fully recovered from it, but Mongrel basically made it impossible
for me to get a regular job just doing my thing. To have everyone
in your world using your software, but not offering you any jobs
greater than a system administrator position is tough.

My buddies over at Phusion are potentially in the same boat. They did a
really good job marketing Passenger and their very nice patches to the
Ruby system named “Ruby Enterprise Edition”. They could make some money
in this area where I couldn’t.

Yet, I see them getting the same treatment I did when it comes
to the people who use their stuff. All they are looking for
is support contracts and custom work, yet their stuff is so
good nobody needs them. Rather than feed the ecosystem and just
buy their support licenses to support them, people who use
Phusion are probably just gonna take it and not give back.

If you actually do use Phusion, consider buying something from
the guys who made it. It’s an awesome product, and if you
want them to continue developing it and giving it out for
free then give them money.

It just makes you a good open source citizen.

 

 

------- ZedShaw 的自我介绍 -----------------

 

About Me

I’m so incredibly famous that I decided to put up this blog to keep everyone
on the internet informed about me. The most important person. Others try to
be known by everyone and grab their 15 minutes of fame, but only Zed brings
style and grace to the enterprise of owning the world.

Why? Because I can that’s why.

Smart.

I’m the greatest programmer the world has known, and it’s time you all learn
this truth. Learn it so completely you are forced into hiding … never to touch
a keyboard again.

My profound work powers all of the most incredibly
profitable sites such as Twitter, Google, IBM, Meetro, Facebook, Yahoo!, Meebo,
and all the other me-too innovations. It pumps air into their buildings, life
into their children, and I gave them this gift asking nothing in return.

Hot.

I am honestly the sexiest geek alive. Just look at this photo of me at work.

I'm gorgeous.

I’m so hot the Sun must shield its gaze with Saturn’s belt when I walk outside for fear of
losing its power to give Australians cancer.

Tough.

I’ve studied every martial art and could kick a hole in the side of a car door.
Even at 33 years old I’m still tougher than every nerd on the internet and
will accept any challengers looking to prove themselves. In fact, if you talk
shit to me and don’t back it up with a fight then you’re a pussy. Pure and
simple. I could pimp you out as a $2 whore. You’re that weak.

Professional.

I run large multi-million dollar projects for incredibly large multi-billion dollar
companies with only a staff of three programmers. We invent never before seen
technologies that eclipse the word “enterprise” to become something infinitely more
significant: giganteprise.

If you’re looking for a new CEO I’m your man. Your current CEO is a moron anyway.
Seriously, how many companies can say they have leadership that gets it? Not many.
Because I don’t work there yet.

Creative.

I dance; sing; play 5 instruments; cook; craft novels, poetry, and short stories; paint
anime; and write code that inspires Elephants to lay down arms against their Lion
enemies.

Profound.

My writings have changed entire industries, convinced universities to cancel
classes, and inspired others to copy me with limited success.

Forever.

I’m so permanently here that I don’t jump sharks, I have them carry umbrellas for me
like P.Diddy’s right hand man. Don’t fuck with me. My sharks are bad ass.

Hated.

True genius and creativity is always despised by the mundanes of the world. When people
tell their friends, “That Zed is such an asshole.” Their friends, reply:

“I know. What a prick.”

When I tell my friends that my enemies are assholes they reply,

“Who?”

My enemies are nobodies, cursed to live in my shadow as nothing more
than worthless scoundrels scraping by from day to day off my scraps
of fame.

However, it’s inevitable that every nerd will challenge me online, but none challenge
me in person. They are weak and filled with self-loathing as they watch me
effortlessly traverse their chosen field. A field they barely grasp for
dear life.

Funny.

If you haven’t noticed, I’m funny and enjoy having fun. Enjoy my site, tell me if you
use my projects. Don’t take it too seriously though, it’s all an act.

   发表时间:2008-12-18  
From: http://www.zedshaw.com/blog/2008-11-13.html
0 请登录后投票
   发表时间:2008-12-18  
真是热闹~现在相信谁呢?呵呵~~

安安心心做事吧~
0 请登录后投票
   发表时间:2008-12-18  
1个多月过去了,DHH的原文也做了update.
不过zed也挺支持Phusion.
0 请登录后投票
   发表时间:2008-12-19  
英文不好,等lordhong大哥的翻译版本
0 请登录后投票
   发表时间:2008-12-19  
兩個吵來無意義。對用戶來講,只要用得越來越好就可以。往事留待電腦史學家去評。
0 请登录后投票
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics