2081 3

CSC481 ยท 2081 ยท 10 marks

Describe the architecture of Aneka. Discuss how application services, foundation services, and fabric services are organized in Aneka.

Describe the architecture of Aneka. Discuss how application services, foundation services, and fabric services are organized in Aneka.[10]

Introduction to Cloud ComputingChapter 6: Cloud Platforms and ApplicationsAneka

Quick answer

Aneka is a Platform as a Service (PaaS) cloud application platform developed by Manjrasoft. It provides a runtime environment and a set of APIs for building distributed applications on private and public clouds. Aneka follows a Service-Oriented Architecture (SOA) approach, organizing its components into three distinct layers of services that work together to deliver scalable, on-demand cloud computing.

Architecture of Aneka

Introduction


Overall Architecture of Aneka

Aneka's architecture is structured as a layered service model, consisting of three primary service layers:

+------------------------------------------+
|         APPLICATION SERVICES             |  <-- Top Layer
|  (Programming Models & Frameworks)       |
+------------------------------------------+
|         FOUNDATION SERVICES              |  <-- Middle Layer
|  (Core Platform Services)                |
+------------------------------------------+
|         FABRIC SERVICES                  |  <-- Bottom Layer
|  (Hardware & OS Abstraction)             |
+------------------------------------------+
|     Physical Infrastructure / Nodes      |
+------------------------------------------+
csc481-aneka-layers

Each layer builds upon the one below it, providing a clean separation of concerns and enabling flexibility, extensibility, and portability.


1. Fabric Services (Bottom Layer)

Fabric services form the foundation of the Aneka platform. They are responsible for abstracting the underlying physical and virtual infrastructure and making it available to the upper layers.

Key Responsibilities:

  • Resource Discovery: Identifies and registers available computing nodes (physical machines, virtual machines, or cloud instances).
  • Node Management: Manages the lifecycle of nodes in the Aneka cloud, including adding and removing nodes dynamically.
  • Infrastructure Abstraction: Hides the complexity of the underlying hardware, operating systems, and network configurations from higher layers.
  • Connectivity: Establishes communication channels between nodes in the Aneka network.

Components:

ComponentRole
Node AgentRuns on each worker node; manages local resources
Resource MonitorTracks CPU, memory, and storage usage
Network FabricHandles inter-node communication

Significance:

Fabric services allow Aneka to run on heterogeneous environments -- including physical clusters, virtual machines, and public cloud providers (Amazon EC2, Azure) -- without changing the upper layers.


2. Foundation Services (Middle Layer)

Foundation services provide the core platform capabilities that are essential for building and running distributed applications. They sit between the fabric and application layers, providing common infrastructure services.

Key Responsibilities:

  • Storage Service: Provides persistent and distributed data storage for applications running on the platform.
  • Scheduling Service: Manages the allocation of tasks to available computing nodes based on policies such as load balancing, priority, and deadlines.
  • Execution Service: Controls the execution of tasks on worker nodes, monitoring their progress and handling failures.
  • Security Service: Manages authentication, authorization, and secure communication between nodes and users.
  • Accounting and Billing Service: Tracks resource usage per user or application, enabling pay-per-use billing models.
  • Reservation Service: Allows advance reservation of resources for time-critical applications.

Architecture Diagram of Foundation Services:

+-------------------------------------------------------+
|  Storage  | Scheduling | Security | Accounting |  ... |
|  Service  |  Service   | Service  |  Service   |      |
+-------------------------------------------------------+
         (All built on top of Fabric Services)

Significance:

Foundation services make Aneka a complete platform rather than just a resource manager. They ensure reliability, security, and efficient resource utilization across the cloud environment.


3. Application Services (Top Layer)

Application services are the highest layer in the Aneka architecture. They expose programming models and APIs that developers use to build and deploy distributed applications without worrying about the underlying infrastructure.

Key Programming Models Supported:

Programming ModelDescription
Thread ModelAllows multi-threaded applications to be distributed across nodes using a familiar threading API
Task ModelSupports bag-of-tasks parallelism; independent tasks are submitted and scheduled across nodes
MapReduce ModelSupports data-intensive parallel processing using the Map and Reduce paradigm
Parameter SweepSupports running the same application with different input parameters across multiple nodes

Key Responsibilities:

  • Provide high-level abstractions for application development.
  • Translate application-level requests into foundation and fabric service calls.
  • Support multiple programming paradigms so developers can choose the model best suited to their application.
  • Manage the lifecycle of distributed applications from submission to completion.

Significance:

Application services make Aneka developer-friendly. A developer can write a distributed application using familiar programming constructs (threads, tasks) without needing to understand the details of scheduling, node management, or network communication.


How the Three Layers Work Together

The following example illustrates how the layers collaborate when a user submits a distributed task:

Step 1: Developer submits a Task-based application
        --> Application Services receive the request

Step 2: Application Services invoke the Scheduling Service
        --> Foundation Services determine the best available nodes

Step 3: Foundation Services query Fabric Services
        --> Fabric Services report available nodes and their status

Step 4: Task is dispatched to the selected node
        --> Fabric Services handle communication and execution

Step 5: Results are collected and returned to the user
        --> Accounting Service records resource usage

Summary Table

LayerServices ProvidedPurpose
Application ServicesThread, Task, MapReduce, Parameter SweepProgramming models for developers
Foundation ServicesScheduling, Storage, Security, Accounting, ExecutionCore platform management
Fabric ServicesNode discovery, Resource monitoring, ConnectivityHardware and infrastructure abstraction

Conclusion

The three-layered architecture of Aneka -- Fabric Services, Foundation Services, and Application Services -- provides a clean, modular, and extensible design. This layered approach ensures that:

  • The platform is portable across different infrastructures.
  • Developers

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.