ie8 fix
madison

The new 2-tier client-DaaS architecture

By | February 25, 2011, 3:49pm PST

Summary: Mobile clients could set a trend towards adoption of a new 2-tier application architecture that talks directly to a cloud-hosted database-as-a-service such as Database.com, cutting out the need for an application server in between.

In a guest post here in January, Matt McAdams critiqued Salesforce.com’s database-as-a-service offering, Database.com, which I had previously lauded. McAdams, who is CEO of PaaS vendor TrackVia, successfully argued that you wouldn’t want to use Database.com as the database layer in a 3-tier client-server architecture:

“… web application developers will find the idea of hosting their data outside their application platform severely unappealing. The reason is latency … If the database and the application code are in different locations, then more than a dozen public Internet traversals are required to complete the request.”

That’s fair enough, but I felt at the time that perhaps it was missing the point. New platforms are bound to disappoint if you merely use them to replicate what you’ve always done in the past. While there may be incremental gains from implementing 3-tier client-server apps in a web-delivered model, the real advances will come from doing things differently.

An excellent exposition of how else things might be done was set out earlier this month in a blog post by F5’s Lori MacVittie, who explicitly refuted McAdams’ argument, writing that “he ignored the architectural model in favor of narrowing in on a specific deployment model.”

MacVittie went on to discuss the emergence of a new architecture that puts all the code on mobile devices and talks directly to a cloud database, dispensing with the application server layer:

“Web applications have been getting fatter and fatter with more and more application logic being pushed onto the client. HTML5 appears to support and even encourage that trend. Consider, for a moment, this web application written nearly entirely in JavaScript. Yes, that’s right. Nearly all of the functionality in this application is contained within the client, in 80 lines of JavaScript code. That’s a client-database model.”

This line of argument gets especially interesting when she goes on to point out (echoing my view that In 2011, mainstream means mobile) that the increasing importance of mobile platforms is likely to lead developers to adopt the same architecture for all their implementations:

“An architectural model in which the data access portions are shared — hosted as a service — for both mobile and traditional desktop clients makes a lot more sense in terms of cost to develop and maintain than does attempting to support two completely separate architectural models. Given the movement toward more client-centric applications — whether because of platform restrictions (mobile devices) or increasing demand for functionality that only comes from client-deployed application logic (Web 2.0) — it is likely we’ll see a shift in deployment models toward client-database models more and more often in the future. That means data as a service is going to be an integral part of developers’ lives.”

The emergence of this type of architecture is something I first started speculating about more than five years ago (even then the possibility was floating around in the PaaS environment) and more recently my Enterprise Irregulars sparring partner Bob Warfield has been pushing the notion of Fat SaaS. In fact I’m wondering what happened to that blog post Bob promised us in the wake of his recent call on the folks at DreamFactory, who espoused this model from very early on.

This is still an emerging story — to be continued, so watch this space — but the key takeaway is that, while database-as-a-service offers little of note to traditional 3-tier applications, it may have more of a cornerstone role in the architectures of the future.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Since 1998, Phil Wainewright has been a thought leader in cloud computing as a blogger, analyst and consultant.

Disclosure

Phil Wainewright

Phil Wainewright's work as an independent consultant brings him into direct or indirect business relationships with several of the companies that he writes about, or their competitors. Phil is committed to maintaining the independent and opinionated stance that his writings are well known for and does not enter into contracts that would limit his freedom of expression in any way. However it is important in the interests of full disclosure to inform readers of those relationships so they can form their own judgement.

Read the complete list of Phil's relationships.

Biography

Phil Wainewright

Since 1998, Phil Wainewright has been a thought leader in cloud computing as a blogger, analyst and consultant. He founded pioneering website ASPnews.com, and later Loosely Coupled, which covered enterprise adoption of web services and SOA. As CEO of strategic consulting group Procullux Ventures, he has developed an evaluation framework to help ISVs and enterprises select cloud platforms, and advises US and European vendors on messaging, positioning and go-to-market. His newest role as an industry advocate is vice-president of EuroCloud.

15
Comments

Join the conversation!

Just In

RE: The new 2-tier client-DaaS architecture
FAULKNE 13th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
RE: The new 2-tier client-DaaS architecture
mslinn Updated - 25th Feb 2011
I respect Lori's opinion - she provided me helpful information for an article that I am writing about Adobe Flex client/server security - but I would not put application logic in a JavaScript or HTML5 application. The application logic should not be be available for casual exploration.

A client/server application, with sensitive business logic on the server, is inherently more secure. I agree that smart/fat/rich clients are good things, but Flex/Flash, Silverlight and JavaFX can all be decompiled so they are only slightly more secure than JavaScript and HTML applications.

Also, business logic should not be stored in the database because business logic and data do not necessarily evolve in step. Separation will still be required in the future, or yesterday's business logic will hinder tomorrows new application requirements.

End-to-end client/server security is an involved subject. I'll tweet when my article is published.

Mike Slinn
Twitter: mslinn
http://micronauticsresearch.com
0 Votes
+ -
@mslinn
"Also, business logic should not be stored in the database because business logic and data do not necessarily evolve in step."

There are significant advantages in representing business logic in the database in terms of productivity, reliability and performance.

I agree with the general idea that in a modern cloud environment the application server is essentially redundant.
0 Votes
+ -
DreamFactory
BobWarfield 28th Feb 2011
Phil, the DreamFactory guys have some very cool things going on. I don't know if I'll do a directed post specifically about DreamFactory or not--I tend not to do "review" sorts of posts.

But their FatSaaS architecture is fascinating and they have considerable commercial success. There is even reason to believe they may be the most successful AppExchange players.

Cheers,

BW
0 Votes
+ -
Phil - back in 2006-07 I did some proof-of-concept work with my current employer (Thomson Financial) whereby I used the Thomson databases and APIs as the DaaS layer with the application layer 'running' within Salesforce.com as a custom application.

I think the point you made is spot on - doing things the old way on new technology is only going to disappoint you. At the time, what I was doing was I believe the future model for application development - keep apps and data-layer separate. With this approach, you can build your app layer where it best meets user needs (desktop, browser or mobile) and still access the data centrally. Further, each app controls the information it accesses and how it accesses it. Each application is optimized and the data remains in one spot keeping a tight lid on access, security and maintaining a single copy for the enterprise.

Like you, I'm a buyer for database.com. It needs some work to be fully ready but its a huge step in the right direction.

Best,
Ross
This is an excellent article. The following publish supplies genuinely high quality info. My spouse and i?meters bound to check in it. Truly extremely helpful points are given listed here. Many thanks a great deal. Carry on favorable functions. vintage snapback hats best solid state drive
This is a really good read for me. Must admit that you are one of the best bloggers I have ever read. Thanks for posting this informative article. baby gifts for boys baby gifts for girls
I like the article you wrote here; it is very informative and useful for the internet users like me. I will come back to read more blog posts on your website and I have bookmarked your website as well Thank You know style clothing store girls clothing stores online
0 Votes
+ -
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
0 Votes
+ -
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
0 Votes
+ -
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
0 Votes
+ -
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
This is my first visit to z d n e t site. Thanks a lot and keep sharing the information. Keep updating the information for all of us.how can i clean up, because i don???t know why it seems my skeen has to fat i get the glasses dirty every day.i search y a h o o Very good quality indeed. I surely recommend it. The template used in their site is also great.
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix