Categories: CloudFreshers

How to Design & Develop Cloud-Ready Applications?

I have come across many a  developers who were seen to have blank face when talked about the fundamentals on how to design and develop cloud ready applications. Taking a step back, most of them are still unaware of what is meaning of cloud computing and, do they require to acquire one or more specific skill sets to design and develop cloud ready applications? In short, a cloud-ready applications can be developed using any programming language. All that is required is to keep in mind few design and development fundamentals in this relation.  By the way, as per the technology trends for 2014 published by several analysts, it is high time that developers should get hang of cloud computing fundamentals as they would be required to consider the cloud while design and developing applications.

Let me try and articulate some of the cloud computing fundamentals and design and development fundamentals to keep handy while working for cloud applications, or while planning to deliver cloud-ready applications.

[adsenseyu2]

Cloud computing can be talked in terms of following three topics:

  • Key characteristics
  • Classification (types of clouds and related details)
  • Service models (SaaS, PaaS, IaaS)

For newbies developers/testers, what may be of interest is to learn the key characteristics of cloud, and different kind of service models from concept perspective vis-a-vis design & development tips & techniques. Let us see what developers/testers could learn to take appropriate care in their day-to-day development & testing.

What Developers Could Learn?

In terms of understanding following key characteristics of cloud (private, public etc), following could be kept in mind while designing and developing applications and their modules/components:

  • Rapid Elasticity:The sub-systems should be designed, developed and deployed in a way that the underlying resources used by the systems can be increased (provisioned/added) or decreased (de provisioned/removed) based on the required usage of these systems. This requires the design to accommodate high modularity. This essentially means that one should follow/focus on design principles such as separation of concerns and SOLID (especially, single responsibility principle) to design, develop and deploy highly modular systems. In addition to that, every sub-system could have well defined APIs in order to interact with other sub systems. One of the deployment models could be to deploy these sub-systems with well defined APIs into separate boxes (VMs) with well-defined resources (in-memory, CPU etc) and, have them interact using APIs.
  • Resource pooling: The system and its sub systems should be able to support the resource pooling such that they should be provisioned/de-provisioned with additional resources as and when required. When talking about the support for resource pooling, the key thing to keep in mind is primary two cloud services models such as Software-as-a-service (SAAS) and Platform-as-a-service (PAAS). In SAAS model, the same application may be serving to different organizations needs. This is also termed as multi-tenancy. While working with SAAS model, it is important to put a nice multi-tenant design in place such that a pre-determined set of resources could be provisioned/de-provisioned to make the most economical usage of the cloud resources. Each set of users (belonging to different organizations) can be assigned their own set of resources and provisioned accordingly independently of others. However, this is not possible until the application is designed and developed based on well-thought out multi-tenant design principles. Thus, developers/architects may need to keep this in mind while putting design for the applications.  Another important aspect of the resource pooling is the notion of designing and developing high-performance systems. This is because the resources would be unnecessarily wasted if the applications is poor with performance.
  • Broad-network access: One of the other important characteristics of the cloud application is its ability to be accessed using different channels such as web (desktop), mobile devices, APIs etc. To make this happen, the system and its sub-systems has to be API-enabled such that the applications could be easily provided with different front-ends such as that for web, mobile devices or simple partner APIs.
  • Ability to be measured: One of the key characteristics of the cloud applications is its ability to be measured in terms of resource usage. This could be best achieved by designing and developing a modular systems and sub-systems such that each of them could be assigned with a pre-determined set of resources that could be provisioned accordingly based on the demand of the service which is determined based on the measurement of the usage of the resources.

To summarize, following are top 6 key considerations for designing and developing cloud or cloud-ready applications:

  1. Software Quality Characteristics
    1. Performance (query optimization etc): This is for effective usage of resources & resource pool
    2. Security as same applications is used by different organizations  in case of SAAS model.
    3. Availability as different sub-systems can be provisioned appropriately for high availability.
  2. Design Principles
    1. Design principles such as separation of concerns, SOLID (single responsibility etc) principles etc. This is for modular design.
    2. Multi-tenancy for SAAS based applications
    3. API-enabled applications
Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking.

Share
Published by
Ajitesh Kumar

Recent Posts

Agentic Reasoning Design Patterns in AI: Examples

In recent years, artificial intelligence (AI) has evolved to include more sophisticated and capable agents,…

3 weeks ago

LLMs for Adaptive Learning & Personalized Education

Adaptive learning helps in tailoring learning experiences to fit the unique needs of each student.…

4 weeks ago

Sparse Mixture of Experts (MoE) Models: Examples

With the increasing demand for more powerful machine learning (ML) systems that can handle diverse…

1 month ago

Anxiety Disorder Detection & Machine Learning Techniques

Anxiety is a common mental health condition that affects millions of people around the world.…

1 month ago

Confounder Features & Machine Learning Models: Examples

In machine learning, confounder features or variables can significantly affect the accuracy and validity of…

1 month ago

Credit Card Fraud Detection & Machine Learning

Last updated: 26 Sept, 2024 Credit card fraud detection is a major concern for credit…

1 month ago