本文发表在 rolia.net/zh 相约加拿大网上社区枫下论坛
When I was in China, I toook park in a project to develop a high performance server system which can support several thousands of concurrent connections on Windows NT platform. My team leader is a senior C++ programmer, he wanted to use Microsoft's MFC to finish it.
Of course MFC is a good class library to write GUI program for Windows, moreover there are TCP/IP socket classed in MFC. But these socket classes in MFC are based on Windows message mechanism, I don't believe it is the best choice to write high performance server systems with these classes.
My team leader knows C++ very well, but I'm afraid he doesn't know how to design. He is a good developer but not a good architect. He only know MFC well but don't know there are some other technologies can be used to develop this project. But he is team leader!
So you can image what happened. This is the worst project I have ever developed. The server can't support more than 800 concurrent users!
What I want to say is that to be a good software designer/developer, good design is same important as good programming skills.
更多精彩文章及讨论，请光临枫下论坛. 网址: rolia.net/zh