Skip to content

Instantly share code, notes, and snippets.

@Bhavdip
Last active October 6, 2017 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bhavdip/129a7ffb0c42f065c79245ccbd71ae1f to your computer and use it in GitHub Desktop.
Save Bhavdip/129a7ffb0c42f065c79245ccbd71ae1f to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment