O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Serverless architecture 

The new trend emerging these days is serverless topology. It does not actually mean serverless or no server. Servers are abstracted from the users and users only focus on development aspects and leave everything else to the vendors. AWS Lambda is an example of a serverless architecture where you just package the microservice as a ZIP and upload it to AWS Lambda. Amazon takes care of other things, including spawning up enough instances to handle bulk service requests.

A Lambda function is a stateless function. It handles the request by invoking AWS services. We are simply billed on a number of hit requests and time taken to serve those requests. Similarly, Google has cloud functions. However, this pattern has the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required