2082 1

BIT408 · 2082 · 10 marks

What is server less computing? How FAAS works? What are the characteristics and challenges of cloud computing?

What is server less computing? How FAAS works? What are the characteristics and challenges of cloud computing?[10]

Cloud ComputingChapter 2: Cloud Service ModelsCharacteristics and challenges of serverless computing

Quick answer

FaaS is the primary serverless computing model. The workflow operates as follows: Code Deployment; Event Triggering; HTTP requests.

Model Answer: Serverless Computing, FaaS, and Cloud Computing

1. Serverless Computing

Definition: Serverless computing is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Developers write and deploy code without worrying about underlying infrastructure, server management, or capacity planning.

Key Concept: Despite the name "serverless," servers still exist, but they are abstracted away from the developer. The cloud provider handles all infrastructure concerns.


2. How FaaS (Function as a Service) Works

FaaS is the primary serverless computing model. The workflow operates as follows:

Process Flow:

  1. Code Deployment: Developer writes a function (small, single-purpose code unit) and uploads it to the FaaS platform

  2. Event Triggering: Functions are triggered by events such as:

    • HTTP requests
    • Database changes
    • File uploads
    • Timer/scheduled events
    • Message queue events
  3. Automatic Scaling: When an event occurs:

    • The platform automatically provisions resources
    • The function executes in a container
    • Resources scale up/down based on demand
  4. Execution & Response: Function runs, processes the event, and returns results

  5. Resource Release: After execution completes, resources are released immediately

Example: AWS Lambda, Google Cloud Functions, Azure Functions


3. Characteristics of Cloud Computing

CharacteristicDescription
On-Demand Self-ServiceUsers provision resources without human intervention
Broad Network AccessServices accessible via standard protocols (HTTP, HTTPS)
Resource PoolingProvider's resources shared among multiple users; resources dynamically allocated
Rapid ElasticityResources scale quickly up or down based on demand
Measured ServiceResource usage monitored, controlled, and billed transparently
Cost EfficiencyPay-as-you-go model; no upfront capital investment
AccessibilityAvailable 24/7 from anywhere with internet connection
Reliability & RedundancyBuilt-in backup and disaster recovery mechanisms

4. Challenges of Cloud Computing

ChallengeDescription
Security & PrivacyData stored on third-party servers; risk of unauthorized access, data breaches, compliance issues (GDPR, etc.)
Vendor Lock-inDifficult to migrate from one provider to another; proprietary tools and formats
Downtime & AvailabilityService outages can disrupt business; dependent on provider's infrastructure
Network LatencyInternet-dependent; slower performance compared to local systems
Data ComplianceMeeting regulatory requirements across different jurisdictions
Cost ManagementUnpredictable billing; costs can escalate with increased usage
Limited ControlUsers have limited control over infrastructure and underlying systems
Skill GapRequires specialized knowledge for cloud platform management
Integration IssuesIntegrating cloud services with existing on-premise systems can be complex
Performance VariabilityShared resources may cause performance fluctuations

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