3 ms·
> I'm sorry to hear that. But you understand that this had nothing to do with Java, right? Java didn't make those people do that. That was just good old fashion
by lmm 12y ago
> I'm sorry to hear that. But you understand that this had nothing to do with Java, right? Java didn't make those people do that. That was just good old fashioned human stupidity. It's entirely possible to write simple things in Java, without ESBs and a person-century of effort.
It's an extreme example of the same mistake this blog post is making. I mean, from a certain point of view they were right - if the site had reached twitter scale, it would have needed those things. The market genuinely is growing, and the problems the system solves exist in almost every industry. I expect those four guys won't keep their system in Rails forever.
Maybe using PHP really will make your system slower by a factor of 15. So what? A trivial saving in development time - say a week over your first year, a 2% factor - is well worth that 15x performance penalty for most businesses.
((Don't use PHP, kids. But not because of the performance))
> The normal approach to writing scalable apps these days is the twelve factor approach
Hmm, I wonder how many people have heard of this, and you say it's "the normal approach".
Debugging distributed systems is and always will be harder than debugging monolithic systems. Even the simple engineering good practices from that page, like explicitly declaring dependencies, have a cost. My Google friends tell me their explicit policy is to design a service for one order of magnitude more than the current traffic, and expect to rewrite it after that.
And once you're doing the things you need to scale - explicitly defined interfaces, all calls going via the network or something equivalent to it, service discovery - then changing the language used in parts of the system really isn't that big a deal. You can do it incrementally. (I have experience of doing just that, at last.fm)
- thanksgiving 12y ago> I expect those four guys won't keep their system in Rails forever. For people who didn't know this, I would like to add that Twitter was written in Rails as well. They switched later on for a couple of reasons[stackoverflow]. [stackoverflow] https://stackoverflow.com/questions/9747857/why-couldnt-twitter-scale-by-adding-servers-the-way-sites-like-facebook-have https://stackoverflow.com/questions/9747857/why-couldnt-twit...
- finalight 12y agoi use PHP and i got customers and revenue and retention rate too facebook use php deal with it programming language is one thing, marketing your solution is another thing
- bozho 12y agofacebook is using php compiled to C++, and that's only for their frontend. Mind your anecdotal evidence :)
- twic 12y agoActually, Facebook is using PHP executing on a JITting virtual machine: https://www.facebook.com/notes/facebook-engineering/speeding-up-php-based-development-with-hiphop-vm/10151170460698920 https://www.facebook.com/notes/facebook-engineering/speeding... Mind your out-of-date rebuttals to anecdotal evidence :)