Aesthetics versus practicality

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

ANALYSIS
Since man began building things, there have been conflicts between the aesthetics of architecture versus the practicality of construction and operation. In difficult economic times or times of rapid innovation and change, these conflicts tend to escalate. For software architects, we're now experiencing both conditions. While the desire -- and in some cases the need -- to implement new systems based on the .Net Framework has never been greater, company management is demanding that decisions be made with an eye toward the budgetary bottom line. It's important for architects to stand firm on the platform of delivering business value and instead of delivering applications based solely on cost. Let me be clear about the definition of value versus cost in the context of both the business and of the systems architecture. To the business, value is calculated not by considering only the cost to deliver the application itself, but by also considering the increase in revenues generated by the application and any associated decrease in cost to run the business. These cost savings may come from reduced labor or higher productivity, or they may be hard dollar savings from reduced infrastructure required to run the application. But architectural value is somewhat different. The value of architecture is measured by two key factors: longevity and implementation costs. Architectural longevity refers to the organisation's ability to develop additional applications or entire systems without rethinking or re-implementing the underlying architecture. However, it's very easy for an architect to design a system that's reusable and extensible but that is impractical to implement because the costs are too high. Let's look at a key example of implementation cost that is a common discussion point for .Net architects -- using SOAP or using .Net Remoting. SOAP versus .Net Remoting
Any discussion regarding the use of SOAP as a protocol inevitably leads to a discussion of the "cost" of using XML, upon which it is based. The key attributes that make XML an ideal candidate for heterogeneous environments also make it an expensive protocol to implement. For example, two machines running the same operating system and the same processor type can exchange large record sets with the data stored in a compact binary format, but two machines with different operating systems and processors need a common format (XML) that describes the data in such a way that either can process it. Serialising the data from a binary format to a text file with XML tags that define its structure, sending the file to the second machine, and then deserialising the file into the second machine's native binary format is a much more expensive operation than exchanging data in binary format. Exchanging data in binary format takes more processor power on both machines, and the communications cost is increased based on the difference in the size of the payload, which is typically three to ten times larger when sending XML data. Most architects are willing to pay the processing and communication costs to allow two or more different machines to be able to pass data around in a common, digestible format. Moreover, the SOAP extensions currently being implemented by major software vendors like IBM, Microsoft, BEA, and Sun based on WS-I recommendations allow SOAP messages from different systems to be routed automatically and contain binary attachments usable on any platform. These extensions also allow the SOAP messages to be coordinated between different platforms, which allows for either synchronous transaction control or asynchronous transaction control, using compensating transactions. The cost equation is much less clear though when you consider a homogeneous environment. Several companies with whom I've worked are implementing .Net in a pure Microsoft environment. The obvious issue to consider in this environment is: "Why do I want to pay the costs associated with SOAP?" Although they certainly agree that the use of SOAP via HTTP over a standard IP port as an invocation protocol makes sense (versus the use of DCOM, which requires more infrastructure configuration to operate properly), they question the value of serialising the payload using SOAP versus using a binary formatter and using .Net Remoting. The latter option is faster, requires fewer processing cycles, and has a more efficient programming model for applications that require raising events and responding to them. However, using .Net Remoting means that you must develop your own internal architectural standards to ensure that all future systems will interoperate properly. In fact, a decision to use .Net Remoting as an internal standard almost guarantees that you'll have to implement your own versions of the WS-I routing and transactional standards that will certainly not be valid outside the walls of your own organisation. If your systems need to interoperate with non-Microsoft systems, then at a minimum you'll have to expose some of your underlying systems using SOAP standards, thereby requiring that you support both SOAP and binary formatting. So where are the savings? The bottom line is this: Absorbing the additional cost of implementing systems based on SOAP standards now will give you the ability to take advantage of current and future implementations of key extensions that you won't have to develop yourself. On the other hand, if you never foresee the need to "talk" to non-Microsoft systems, a pure .Net Remoting infrastructure will provide performance benefits that you simply can't achieve with a SOAP-based infrastructure.
For a weekly round-up of the enterprise IT news, sign up for the Enterpise newsletter. Find out what's where in the new Tech Update with our Guided Tour. Tell us what you think in the Enterprise Mailroom.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

19 minutes ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

6 hours ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

8 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

8 hours ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

10 hours ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

10 hours ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

11 hours ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

12 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

12 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

12 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
ramwellian

Your comments would seem pretty naive and immature. Your 'solution' appears to be, "gee, let's all just give in to the hackers and give them...

13 hours ago by ramwellian on Cloud computing security: no more oxymoron?
BugStalker

"Interesting thought ... If you installed Win7 as a dual boot on a machine that previously only had Linux, and it wrecked your Linux installation,...

13 hours ago by BugStalker on Windows 7 Declares War on GRUB
whs001

This is an excellent summary of Ubuntu and Mint and the interface differences between them. Most such articles take a very partisan position for...

13 hours ago by whs001 on A tale of two distros: Ubuntu and Linux Mint
Moley

@ewallace. Not so clear. Anyone can obtain the text, for example from here http://www.ustr.gov/webfm_send/2379. I support ACTA so long as it and...

13 hours ago by Moley on ACTA: Facts, misconceptions and questions
45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

16 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

18 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

18 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

19 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

20 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

21 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule