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]
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:
-
Code Deployment: Developer writes a function (small, single-purpose code unit) and uploads it to the FaaS platform
-
Event Triggering: Functions are triggered by events such as:
- HTTP requests
- Database changes
- File uploads
- Timer/scheduled events
- Message queue events
-
Automatic Scaling: When an event occurs:
- The platform automatically provisions resources
- The function executes in a container
- Resources scale up/down based on demand
-
Execution & Response: Function runs, processes the event, and returns results
-
Resource Release: After execution completes, resources are released immediately
Example: AWS Lambda, Google Cloud Functions, Azure Functions
3. Characteristics of Cloud Computing
| Characteristic | Description |
|---|---|
| On-Demand Self-Service | Users provision resources without human intervention |
| Broad Network Access | Services accessible via standard protocols (HTTP, HTTPS) |
| Resource Pooling | Provider's resources shared among multiple users; resources dynamically allocated |
| Rapid Elasticity | Resources scale quickly up or down based on demand |
| Measured Service | Resource usage monitored, controlled, and billed transparently |
| Cost Efficiency | Pay-as-you-go model; no upfront capital investment |
| Accessibility | Available 24/7 from anywhere with internet connection |
| Reliability & Redundancy | Built-in backup and disaster recovery mechanisms |
4. Challenges of Cloud Computing
| Challenge | Description |
|---|---|
| Security & Privacy | Data stored on third-party servers; risk of unauthorized access, data breaches, compliance issues (GDPR, etc.) |
| Vendor Lock-in | Difficult to migrate from one provider to another; proprietary tools and formats |
| Downtime & Availability | Service outages can disrupt business; dependent on provider's infrastructure |
| Network Latency | Internet-dependent; slower performance compared to local systems |
| Data Compliance | Meeting regulatory requirements across different jurisdictions |
| Cost Management | Unpredictable billing; costs can escalate with increased usage |
| Limited Control | Users have limited control over infrastructure and underlying systems |
| Skill Gap | Requires specialized knowledge for cloud platform management |
| Integration Issues | Integrating cloud services with existing on-premise systems can be complex |
| Performance Variability | Shared 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.