Friday, August 13, 2010
Node.js can't use multiple CPU/Cores
It's scary how easy it is to create a highly scalable web / socket application.
Don't get too excited yet. The gurus at Yahoo had this to say:
But all is not sunshine and lollipops in NodeJS land. While single-process performance is quite good, eventually one CPU is not going to be enough; the platform provides no ability to scale out to take advantage of the multiple cores commonly present in today's server-class hardware. With current NodeJS builds, the practical limits of a single CPU acting as an HTTP proxy are around 2100 reqs/s for a 2.5GHz Intel Xeon.
While Node is relatively solid, it does still crash occasionally, adversely impacting availability if you're running only a single NodeJS process. Such problems can be particularly common when using a buggy compiled add-on that can suffer from the usual cornucopia of C++ goodies such as segfaults and memory scribbling. When handling requests with multiple processes, one processing going down will simply result in incoming requests being directed at the other processes.
And lastly, Alex Payne sums up what large scalability and why node.js might just remain the realm of the less than skilled programmers.
http://al3x.net/2010/07/27/node.html
Threads are not dead!
This looks interesting for javascript : http://documentcloud.github.com/underscore/
Saturday, May 01, 2010
CQRS and User Interface Design
I am beginning to have a shift in thinking about user interface design as I study the CQRS architectural pattern. The pattern really forces you to think about design UI’s around tasks.
You have to ask yourself, “Why would a user want to change the state of the system?”
Why would the user want to change the address of a customer? Was it a mistake? Did they move? These might be important to know. If they made a mistake and they have pending orders about to ship it might imply very different business rules.
It also forces you to think about the experience from the user’s perspective.
Udi Dahan said it perfectly during one of his talks: "User Interface design is as much a part of architecture as anything else that you do"
Wednesday, July 22, 2009
Google Hates Internet Explorer
Saturday, August 30, 2008
Open Source Code Review - A choice to name a method "Inscrutable"?
C# 4.0: Meet the Design Team
Anders and crew meet in the room where C# was birthed and talk about the future.