Earlier quoted context omitted.
I look forward to seeing C as the go-to web-development language. Really? C for a problem that is largely string manipulation and database access?
Why are they moving from Ruby if it's just "string manipulation and database access"? The problem is folks, as soon as you get a large number of users every compromise you made by using a toy language or database is magnified 1000 times. Google didn't implement in some scripting language to get to the market a few months early.
LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
81–90 of 140 posts
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#82Earlier quoted context omitted.
>> Take your first, crappy implementation and rewrite it in the same language and you'll probably still see at least 10x improvement. You will probably will get the same mess. There is plenty of literature about that. I.e: A complete rewrite is what killed Netscape
As bad as Netscape 4 was, what killed the company was their decision to charge for the browser while their monopolitic competidor was giving it away for free.
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#83If you are thinking about using node.js for this reason[1] on most sites, you are optimizing poorly. LinkedIn didn't worry about this until after they were a public company. If Python/Djando or Ruby/Rails can get your app out the door and into customer hands faster, it is almost always the right thing to use. 1. There are certainly other, very valid, technical reasons for choosing node.js over other technologies earl…
Why not write your code using Node.js because you actually enjoy using JavaScript? Or how about the convenience of writing in one language in your stack? Or how about the simplicity provided by not having to worry about threading per process? If you already know Python or Ruby, then ya, using Node.js would be silly. But if you have to pick one because you're equally familiar with all of the languages, then Node.js is…
You sick bastard!
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#84Earlier quoted context omitted.
But the odds of the thing you release actually getting used are low. So make it fast, and if it's a hit, then deal with that.
Wow!! your comment encapsulates the thinking of every wannabe startup loser that ends up smoking crack on some beach in San Francisco" Will making it faster increase the chances of more people using it? Also this attitude of building shit products (Yes software is a product) because..well the chances are it will fail.. is precisely why so many startups fail. This is why you get one crapola startup after another......…
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#85Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#86Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#87Earlier quoted context omitted.
the complete rewrite might killed Netscape, but it saved Mozilla and Firefox. What do you mean?
I mean that while Netscape, the company, succumbed while waiting to put out their new competitive browser, we now have the Mozilla Foundation and Firefox. We wouldn't have those if it wasn't for the rewrite. The old code was a mess even before version 4 (by its developers own admission), and it could never get to the point of competing in the engine space ever again. That is, with the old Netscape rendering engine it…
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#88If you are thinking about using node.js for this reason[1] on most sites, you are optimizing poorly. LinkedIn didn't worry about this until after they were a public company. If Python/Djando or Ruby/Rails can get your app out the door and into customer hands faster, it is almost always the right thing to use. 1. There are certainly other, very valid, technical reasons for choosing node.js over other technologies earl…
What I saw as a plus was that they combined front/back end teams into a single unit.
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#89Earlier quoted context omitted.
I'm sure LinkedIn could have cut servers without switching to node. Take your first, crappy implementation and rewrite it in the same language and you'll probably still see at least 10x improvement, if not 20.
I disagree. When you change state management to client side, you are making a fundamental architecture shift that is significant enough to remove a lot of server-side overhead. What makes you think refactoring code is going to give you a 10x improvement in efficiency? If your code is that bad, you should get rid of the developers along with the code.
Re: LinkedIn Mobile Moved from Rails to Node: 27 Servers Cut and Up to 20x Faster
#90Earlier quoted context omitted.
Indeed, shifting to a streaming architecture can vastly reduce the amount of churn your application sees. This makes great sense if it fits the use case of your product. However, one need not throw out a huge existing code/knowledge base in order to accomplish this shift. I think that it's perfectly acceptable to shift to something like EventMachine + some HTTP layers to implement a streaming server using a good chun…
If I had a choice I would have certainly picked EM. But I am not sure, how much of Rails code can be ported over to Event driven model of EM. I think the only thing which can be reliably ported is models. Now, they did evaluate EM apparently and according to them node.js performed 20 times better than EM/twisted in certain tests and hence they went ahead with node.js. I am curious as anyone else to see, what those te…