March 11, 2009

Developing cloud apps: What's different

Statelessness, server failure, new databases, and fast-changing platforms will challenge developers

Cloud computing, which involves accessing applications and services on hosted servers over the Internet, certainly has become the hot tech trend for 2009. The volume of cloud applications can only be expected to grow, and this fact brings both new benefits and responsibilities for developers.

While cloud deployments can save developers from having to deal with infrastructure issues, there are some new nuances they must deal with as well. These include changes in how developers work with databases, an emphasis on stateless applications, and dealing with different frameworks.

[ IT pros can use the cloud for their own needs, as Mel Beckman reports. | Confused by cloud hype? InfoWorld shows what cloud computing really means and compares the main cloud offerings. ]

Statelessness and server failures are givens in the cloud
"The big change now is that software itself is able to provision the resources that the application needs," says Lew Tucker, Sun's CTO of cloud computing. Using APIs, developers writing applications for the cloud can design them so that they request more resources from the cloud provider.

Developers need to design for redundancy and acknowledge that commodity machines are being leveraged in the cloud, says Amitabh Srivistava, Microsoft's corporate vice president for the Windows Azure cloud platform. "It's a guarantee the machines are going to fail, so you have to design your application that you're running in the cloud for redundancy," he says.

Building for the cloud requires designing stateless applications, Srivistava says. "If you have state, then that becomes a problem. The model in the cloud is if something dies, you kill it and reincarnate it" by designing stateless applications, he notes. With the cloud, "there's no concept of a local disk. There's no registry, for example. But that's all encapsulated by being a stateless app."

Sun's Tucker notes that "the easiest kind of applications are stateless. However, the interesting applications always have some kind of state, which is why we still need databases or object [stores] to store some state" for maintaining items such as user information, Tucker says. But parts of the applications that need to scale, such as the Web front end, are stateless in the cloud.

Another cloud difference: Different parts of an application might be in many places in the cloud. For example, a presentation layer might be on Facebook, storage could be on Amazon.com's S3, and application logic could run somewhere else entirely, Tucker says. "Before, people would just develop the entire app on their own servers," Tucker says.

Read more about cloud computing in InfoWorld's Cloud Computing Channel.

Close

On Twitter now

Cloud computing

Powered by Twitter

On Twitter now

additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

Download now »

Sign up to receive Cloud Computing Resource Alerts

Subscribe to the Cloud Computing Report Newsletter

Receive the latest cloud computing news and find out how to deliver it more effectively.

©1994-2010 Infoworld, Inc.