667187 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 1 Messages: 1 Messages: 1 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Introduction to Native Cloud Applications

Posted by: Nikita Ivanov on April 13, 2009 DIGG
Over the last several months I’ve had number of opportunities to present about Native Cloud Application (NCA) and I think deserves a bit more explanations. I’ll try to give very practical introduction to what stands behind this new type of applications (and something that GridGain is so squarely aimed at).

First critical thing to understand is where we stand today in the cloud computing technology development. Surprisingly, many with whom I talked had real problem pinpointing what exactly is today’s state of the cloud computing…

The answer is, however, is pretty simple. Absolute majority of anything that is related to cloud computing today directed to answering two principle questions:

- How do I build the cloud?
- How do I provision (i.e. deploy) my application on the cloud?

Often, these two questions are the same as clouds internally are mostly about managing VM images and application provisioning is mostly about image management too. There is a growing number of companies providing software for building clouds and provisioning applications on it. And there are pure cloud providers (like Amazon, GoGrid, Joyent, etc.) that eliminate even the need to build the internal (a.k.a. private) clouds in the first place for many potential customers.

Do you see what is missing in this picture? What question is not being answered?

Well, the million dollar question is this: How do I build application for the cloud?

Early cloud technology companies made an implicit assumption that your business applications will just magically run on 100s of computers much the same way as they run on single one. Even more – they will automatically scale… I’m saying that this assumption was implicit as early companies were trying to attack the low hanging fruits like building the clouds and VM image management – and rightly so – these were the necessary technologies. However, this assumption proved to be dead wrong.

Let me ask you a question: how many J2EE-based business applications do you know that will automatically take full advantage of application server instance that just came online on the LAN? What about J2EE-based business application that will spawn a new application server instance or kill the existing one in response to increased or decreased load?

I’ve seen dozens upon dozens of such applications in the real life and I don’t know of a single one that would just full-scale automatically – and very few, if any, would even work in such setup (let alone improve on some metric). That is unless these applications were developed from the get go to expect and utilize such scenario. Now, developed from the “get to” may be too harsh but at the very least these applications must be retrofitted to take advantage of on-demand resource availability enabled by cloud computing.

Some applications that have been developed in the last 2-3 years using clustering capabilities of J2EE application servers (or similar technologies) are better prepared than others as they have some limited capabilities to scale on demand at least for some aspects of their work. Yet still this is largely inadequate.

Native Cloud Application
NCAs have three distinct characteristics. None of them is unique in of its own – but in combination they present a new type of applications:

1. Internally massively parallel
2. Utilize cloud provided services
3. Cross-cloud paradigm

Let me try to spell these out.

Internally Massively Parallel
Being massively parallel internally means employing parallelization of execution and data storing in every aspect of your application. In technical speak think of computational and data grids being bread and butter of your application implementation. Almost everything (that makes sense) is kept in in-memory data grids and almost every aspect of processing is potentially distributed via computational grids.

Utilize Cloud Provided Services
Think of EC2, S3, SimpleDB and many other services that are available at a particular cloud provider. Can you start an instance on EC2 via simple Java call when some threshold is breached? Can you just “put” data into S3 bucket as simply as with local hash map with one line of Java code? With NCAs the answers are always "yes". With NCAs, cloud provider’s services are becoming a simple API available to everyone at any moment. This is no longer something that you have to jump through myriad of WS-* or REST calls to get a handle of – it is a part of the native platform API an every developer would regularly uses.

Cross-Cloud Paradigm
Different cloud providers provide different type of clouds. Your application will also require different types of clouds. NCAs can seamlessly run across multiple cloud providers and utilize their services in uniform fashion. Drawing upon the previous example you are able to start or stop an instance on EC2 and GoGrid cloud with exactly the same one line of Java code.

We at GridGain project are working hard on materializing these concepts. Many of them already work. We already provide support for massive internal parallelization and cross-cloud paradigm. In fact, we are the first cloud middleware that enabled this setup. But many more things to come in GridGain 3.0.
  Message #307376 Post reply Post reply Post reply Go to top Go to top Go to top

Simple SQL statement

Posted by: Grzegorz Grzybek on April 14, 2009 in response to Message #307302
Is it so hard to execute a simple SQL statement:
DELETE FROM users WHERE id=814436
?

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

Static and Dynamic Analysis: Best Practices, New Approaches

Application development teams are increasingly turning to automation in order to improve their processes and produce higher quality software. In this webcast, Peter Varhol will describe how to use static and dynamic analysis to improve the software development process and deliver a quality application. (July 7, Tech Talk)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map