Use Monit with Rails, not God
blog.bradgessler.com
blog.bradgessler.com
This is absolutely hilarious! A process monitor leaks memory and crashes the server. Words fail me!
EDIT: Rub my eyes and read again. Ruby leaks memory? The language (interpreter ? VM? ) leaks memory? That can't be right? He must have meant the application (God) leaks memory (perhaps by holding onto objects and not letting the GC collect them)
AFAIK the interpreter has no intrinsic leaks, but many ruby applications keep objects referenced beyond their intended life, preventing GC.
Edit: You extended your edit after I started responding :->
perhaps by holding onto objects and not letting the GC collect them
Yup, that's my understanding.
ok if what you say is true then Brad's blog post is just wrong isn't it?. Either he is right or you are.
Holding onto objects sounds like something user code does so "ruby leaks" is (or should be) not correct usage I think.
I use python I don't use Ruby, but "Python leaks", as a claim, is different from "my program written in python leaks memory".
the blog post seems to imply it is Ruby's fault. At least it reads that way ("Ruby leaks") hence my confusion. Thanks for the clarification
EDIT: I stand corrected. It seems like Tom is right and the ruby interpreter leaks memory! Incredible!
I'm surprised that an article written with that tone made it to the top of HN.
I think anybody who releases open source software is to be commended; without it, most of us wouldn't have businesses. I have great respect for all contributors. That being said, just because you put something out there doesn't give you immunity against negative reviews. And it doesn't justify others, such as yourself, in berating those who give such reviews.
Most free software is forthcoming about its warts and issues. We're generally told when something should not be used for production. Instead, the pitch for god is that, well, it's God. I believe his tone was dead on for someone who felt betrayed by a piece of software that promised the world yet could not even maintain its own running state. After all that fighting, I'd be pissed too.
Also it deeply saddens me that an article as emotional as this makes it to the front page.
My hopes for this article is that I can shorten the evaluation for others who consider God. Consider this the "Monit (like god, only it works)" of "God (like monit, only awesome)" post.
That's not a negative review, it's a slap in the face.
Also, it is somewhat disgusting to me that a wanna-be blogger would decide (to publicize his blog?) to rip on a guy who has been a great open source contributor AND has managed to bootstrap several successful startups (notably gravatar and github).
Tom is clearly busy and productive and is (in my opinion) a great role model for how to combine excellence in open source and entrepreneurship, and is the LAST person that anyone should be going out of their way to rip on.
Brad never ripped on anything else Tom has done. He never even suggested that the state of the god docs reflected poorly on him as a developer or a person. He was merely supplying information and venting frustration over the previous six months he spent attempting to get Tom's product to work properly. Hell, he wasn't even mad that it was (for him) an incomplete, non-functioning product, he was just upset that it wasn't presented as such!
I didn't know who Tom Preston-Werner was before this post, but apparently he has indeed bootstrapped several successful startups and is a great open source contributor. Good for him, and I thank him for his contributions. One of the reasons I want to become financially secure is so that I can devote most of my time to OSS, so everyone who contributes largely to said software gets my utmost respect and admiration. I don't see how any of that has any bearing on the status of god's documentation, however.
"call a turd a turd"
The guy sounds like an 8 year old. It's just incredibly unbecoming. Anyway, if you like his blog, good for you.
I like Brad as a person, but I don't think I've read his blog before. And he usually acts on par with an 11 year old, so take that into account.
To then sit around calling it names is an insult not just to Tom but to anyone who is engaged in productive, creative work. Also, this kind of thing will only discourage others from releasing their code to the community...
For our company we're stuck with thins because of a very specific way we're launching our application. Phusion doesn't have everything we need (yet).
However, EY does use monit.
We used god on FamSpam, currently use it on GitHub, and I've heard at least two massive Facebook apps (Friends for Sale and Rock Legends) use it to manage a large number of processes across a large number of servers.
For intelligently killing runaway processes (different attempts with different kill methods), monit is rather lacking. At CNET we ran into this again and again so I was very excited when Tom started god.
On one of our GitHub app slices, god has been running for 8 days and is using 8 megs of RAM. I can't speak for anyone else's setup, but I haven't seen the famed memory leak.
I would recommend god to anyone running a high trafficked Ruby-based site.
Monit's config is fairly straight forward, but the monit daemon can be quirky and unpredictable at times, and I usually have to hack out a bash script b/c monit is pretty limited on what it can actually do.
So I start with God, then translate that into Monit + scripts when I get to production.
Was this just an attempt to stir the pot or were you just shooting from the hip?
FTR, I use God and its works fine for me.
Jekyll - I managed to access Github's database.yml in cleartext, I'm sure you remember that.
Fuzed - Never ran
Now, albeit, none of these had a 1.0 release and were practically abandoned before they reached it. I'm okay with that, because I really, really like Github.
Would you rather that tom had just kept all the code to himself until he got around to polishing it to the point where it ran on most systems?
I think releasing it to the community where others can work with it is the best approach, particularly if the main developer doesn't have the time to make it a top priority.
I've only been disappointed with God mainly because its marketed as being "like monit, only awesome" when its really not.