Science Knowings: JavaScript Course For Social Media

Serverless Computing

From SOA to Serverless Revolution

Previously, we explored Service-Oriented Architecture (SOA), a distributed computing approach where applications are composed of loosely coupled services. Serverless computing takes this concept a step further, offering a cloud-based platform where you only pay for the resources you use, eliminating the need for managing servers or infrastructure.

What is Serverless Computing?

Serverless computing is an event-driven cloud computing model where you can run code without provisioning or managing servers. Developers can focus on writing their code, and the platform takes care of scaling and high availability.


  • Cost-effective: Pay only for the resources you consume.
  • Scalable: Serverless platforms scale automatically based on demand.
  • Reliable: Cloud providers ensure high availability and reliability.
  • Simplified development: Developers can focus on code without managing infrastructure.
  • Reduced Time-to-Market: Rapid deployment of applications without infrastructure setup.


  • Vendor Lock-in: Applications can become tied to a specific cloud provider.
  • Limited Control: Less control over server configuration and environment.
  • Cold Starts: Functions may take longer to execute when called infrequently.
  • Debugging: Troubleshooting serverless applications can be challenging.
  • Monitoring: Monitoring serverless applications can require additional tools and expertise.

Types of Services

Serverless computing offers various service types to meet diverse application needs.

Functions as a Service (FaaS)

FaaS allows developers to run code on-demand without managing servers. Examples: AWS Lambda, Azure Functions, Google Cloud Functions.

Backend as a Service (BaaS)

BaaS provides backend infrastructure for mobile and web applications, including databases, user authentication, and storage. Examples: Firebase, Parse, Back4App.

Cloud Storage

Serverless cloud storage services offer scalable, durable, and cost-effective data storage solutions. Examples: Amazon S3, Azure Blob Storage, Google Cloud Storage.

Monitoring and Logging

Serverless monitoring and logging services provide visibility into application performance and usage patterns. Examples: AWS CloudWatch, Azure Monitor, Google Cloud Logging.

Pricing Models

  • Pay-as-you-go: Pay based on resource consumption.
  • Tiered pricing: Discounted pricing for higher usage.
  • Flat-rate pricing: Fixed cost for a specific amount of resources.

Use Cases

Serverless computing has a wide range of applications across industries.

Web Applications

Building dynamic and scalable web applications without managing infrastructure.

Mobile Applications

Developing and deploying mobile applications using serverless backend services.

Data Processing

Processing and analyzing large amounts of data using serverless functions.

Machine Learning

Training and deploying machine learning models using serverless platforms.


Serverless computing platforms provide built-in security features such as authentication, authorization, and encryption.

Next: Cloud Computing Platforms

In the next session, we'll explore Cloud Computing Platforms. Learn about the leading providers such as AWS, Azure, and Google Cloud. Follow us to stay updated on the latest cloud technologies!