Dr. Dobb's Journal - July 2008 - (Page 18) Conversations by Deirdre Blake The Architect’s Role David Kranz David Kranz is Vice President of Engineering and CTO at Curl (www.curl.com). Previously, David was a principal research scientist at MIT where he was a leader in parallel computing technology. David holds a B.A. in Mathematics and Physics from Swarthmore College, and an M.S. and Ph.D. in Computer Science from Yale University. DDJ: David, in a general sense, what is the role of a software architect? DK: A software architect is responsible for designing a software system that meets its requirements. Those requirements can involve functionality, ease of use, scalability, performance, security, robustness (for example, a system that controls critical medical equipment), and extensibility. Any real software project will have to make tradeoffs in these areas and those tradeoffs are often too complex to foresee everything that could go wrong during implementation, including changes in requirements after the project starts. A good architect will make the right design decisions so that unanticipated problems can be solved with relatively small changes to the overall system architecture. DDJ: Okay, more specifically, what is your role at Curl as VP of Engineering and CTO? DK: My current role is more on the management side. Curl has been around for 10 years and in my earlier days, I was very involved in software architecture. I continue to be involved as time allows because it is something I like to do. DDJ: A recently released tool from Curl is Curl Nitro, an extension of the Curl RIA platform. Can you tell us about the role of the software architect—you in this case—in the development of this project? DK: Well, Nitro is really Curl Version 7.0. The product is quite mature and has a large code base. So at the detail level, there cannot be a single architect. One of the important features was an extension of the offline and run-outside-of-the-browser functionality that has been present since Version 4.0. There has been a trend towards allowing users to “install” applications. We wanted to provide this capability, but without the user having to grant unnecessary system privileges. The challenge here was to provide the security and deployment properties of sandboxed web applications, but in a way that lets end-users treat them like installed applications. DDJ: What’s the most difficult part of an architect’s job when developing software like Curl Nitro? DK: The fact that Curl is a development platform introduces architectural challenges that are not present in most applications. You have requirements such as making it as easy as possible for users of the platform to develop applications with high performance, security, etc. It is not obvious how to map these requirements into a system design. The key areas we focused on were extensibility, performance, and minimizing the number of lines of code needed to perform important functions. Performance is one tough example. If an architect does not pay sufficient attention to performance at the beginning, it is often very difficult or impossible to optimize performance later without essentially starting over. But too much attention to optimization early on can waste a lot of time when it turns out to not matter. A good architect will have a sense, based on intuition and experience, of what the right tradeoff is. DDJ: Should an architect get involved in hands-on coding? DK: That really depends on the size of the project. It is good for everyone on the team if the architect also is involved in coding. But in a very large project, the architect may have to own 18 Dr. Dobb’s Journal l www.ddj.com l July 2008 the complete high-level understanding of the system and may not have time to contribute to coding. But all the architects I have known would like to be doing at least some coding, even if they can’t. Experience and love of coding are important parts of what makes a good software architect. DDJ: The bigger the project, the more important it is to have an architect? True or false? Thoughts? DK: I think it is important for any project to have an architect whether it is big or small. But a large project will require many architects operating at different levels of abstraction. Experience and love of coding are important parts of what makes a good software architect DDJ: Are there tools that help architects in their job? Modeling tools, for instance? DK: Modeling tools can certainly help with object-oriented design. They would be most helpful when the requirements are very specific and not changing frequently. But the most important thing is that the architect is only one part of a successful team. Particularly for a product like Curl, the team must understand the architecture and what the goals are. That includes developers, test engineers, and writers. It is very important to have good specs, test plans, and other practices to ensure a smooth process from design through delivery. DDJ http://www.curl.com http://www.ddj.com
Table of Contents Feed for the Digital Edition of Dr. Dobb's Journal - July 2008 Dr. Dobb's Journal - July 2008 Contents Friday Night Fish Fry Alia Vox Developer Diaries Developer’s Notebook Engineers Without Borders Conversations Patricia Tries Event-Based Architectures Graphs Versus Objects Lock-Free Queues Dr. Dobb’s Architecture & Design World Java and the Nokia N10 Internet Tablet Effective Concurrency The Agile Edge Swaine’s Flames Dr. Dobb's Journal - July 2008 Dr. Dobb's Journal - July 2008 - (Page Belly1) Dr. Dobb's Journal - July 2008 - (Page Belly2) Dr. Dobb's Journal - July 2008 - Dr. Dobb's Journal - July 2008 (Page Cover1) Dr. Dobb's Journal - July 2008 - Dr. Dobb's Journal - July 2008 (Page Cover2) Dr. Dobb's Journal - July 2008 - Dr. Dobb's Journal - July 2008 (Page 1) Dr. Dobb's Journal - July 2008 - Contents (Page 2) Dr. Dobb's Journal - July 2008 - Contents (Page 3) Dr. Dobb's Journal - July 2008 - Friday Night Fish Fry (Page 4) Dr. Dobb's Journal - July 2008 - Friday Night Fish Fry (Page 5) Dr. Dobb's Journal - July 2008 - Friday Night Fish Fry (Page 6) Dr. Dobb's Journal - July 2008 - Friday Night Fish Fry (Page 7) Dr. Dobb's Journal - July 2008 - Alia Vox (Page 8) Dr. Dobb's Journal - July 2008 - Alia Vox (Page 9) Dr. Dobb's Journal - July 2008 - Developer Diaries (Page 10) Dr. Dobb's Journal - July 2008 - Developer Diaries (Page 11) Dr. Dobb's Journal - July 2008 - Developer’s Notebook (Page 12) Dr. Dobb's Journal - July 2008 - Developer’s Notebook (Page 13) Dr. Dobb's Journal - July 2008 - Engineers Without Borders (Page 14) Dr. Dobb's Journal - July 2008 - Engineers Without Borders (Page 15) Dr. Dobb's Journal - July 2008 - Engineers Without Borders (Page 16) Dr. Dobb's Journal - July 2008 - Engineers Without Borders (Page 17) Dr. Dobb's Journal - July 2008 - Conversations (Page 18) Dr. Dobb's Journal - July 2008 - Conversations (Page 19) Dr. Dobb's Journal - July 2008 - Patricia Tries (Page 20) Dr. Dobb's Journal - July 2008 - Patricia Tries (Page 21) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 22) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 23) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 24) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 25) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 26) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 27) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 28) Dr. Dobb's Journal - July 2008 - Event-Based Architectures (Page 29) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 30) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 31) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 32) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 33) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 34) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 35) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 36) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 37) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 38) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 39) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 40) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 41) Dr. Dobb's Journal - July 2008 - Graphs Versus Objects (Page 42) Dr. Dobb's Journal - July 2008 - Lock-Free Queues (Page 43) Dr. Dobb's Journal - July 2008 - Lock-Free Queues (Page 44) Dr. Dobb's Journal - July 2008 - Lock-Free Queues (Page 45) Dr. Dobb's Journal - July 2008 - Lock-Free Queues (Page 46) Dr. Dobb's Journal - July 2008 - Lock-Free Queues (Page 47) Dr. Dobb's Journal - July 2008 - Dr. Dobb’s Architecture & Design World (Page 48) Dr. Dobb's Journal - July 2008 - Dr. Dobb’s Architecture & Design World (Page 49) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 50) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 51) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 52) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 53) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 54) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 55) Dr. Dobb's Journal - July 2008 - Java and the Nokia N10 Internet Tablet (Page 56) Dr. Dobb's Journal - July 2008 - Effective Concurrency (Page 57) Dr. Dobb's Journal - July 2008 - Effective Concurrency (Page 58) Dr. Dobb's Journal - July 2008 - Effective Concurrency (Page 59) Dr. Dobb's Journal - July 2008 - The Agile Edge (Page 60) Dr. Dobb's Journal - July 2008 - The Agile Edge (Page 61) Dr. Dobb's Journal - July 2008 - The Agile Edge (Page 62) Dr. Dobb's Journal - July 2008 - The Agile Edge (Page 63) Dr. Dobb's Journal - July 2008 - Swaine’s Flames (Page 64) Dr. Dobb's Journal - July 2008 - Swaine’s Flames (Page Cover3) Dr. Dobb's Journal - July 2008 - Swaine’s Flames (Page Cover4)
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.