Bhavdip
7/27/2017 - 11:26 AM

MicroServiceArchitecture #tags:MicroService

MicroServiceArchitecture #tags:MicroService

We need the server or machine where our web application is running. That usually provide us IP and we access it from internet. 

Now issue of that approch is that server has to be up all time in anycase even if your user traffic is increase or decrease.

On our end if we don't get enough traffic still we have to pay for basic provision and manages charge for run it.

Along with that we need to manage the server upgrade the software, os should up to date.

In this idea, we can run our application without actual manages the resources. 

AWS Lambda is one of service from AWS that provide the service.

What do we means by running code without running server ?

Well obviously still need one server that place in internet where your application can be reach to user.

The actuall mechanism is our function will only execute when actual request come on server and rest of thing will handle by AWS Lambda.

Its does not run all time but its run its need to run.

Its event-driven approch for running the code.

AWS Lambda supports code written in Node.js (JavaScript), Python, Java (Java 8 compatible), and C# (.NET Core). Your code can include existing libraries, even native ones. Please read our documentation on using Node.js, Python, Java, and C#.


Google Cloud Functions (Only supoort node.js only more language come soon)

Serverless Microservices with Google Cloud Function (Still in Alpha):


https://medium.com/@ste.grider/serverless-showdown-aws-lambda-vs-firebase-google-cloud-functions-cc7529bcfa7d