In 2014 AWS came out with Lambda. Its a technology that was quickly adopted by many global companies because of the three factors that make Lambda a good choice for business:
If you haven't looked into Lambda as a solution for your IT yet, perhaps its time to consider it.
When you embark on the 'serverless architecture' journey, you are not entering a void! What you are entering is the opportunity to focus on your application, not your infrastructure.
The benefit to any business is in the fact that, when the operating system and server and its processes are being handled by the 3rd party, your developers have more time to focus on maintaining and even building better software. This is because any system that requires maintenance will be a burden on your IT department staff and resources.
It's important to note however that serverless may not be suitable for all of your IT functions. We wrote a blog some time back about micro-servers and serverless technologies for different applications. You can visit our blog article to find out which applications are suitable for each type service.
Lets break down the benefits of Lambda:
1. Event-driven computing model
2. No Underutilised server capacity
4. Cost Saving benefits
So what does it mean that AWS Lambda is 'event driven'? In a nutshell, it means that the Lambda function only executes when it is triggered to do so. In a regular microservice technology, the server is always awake and running, waiting to be called by an event, but in the case of Lambda, it is asleep until it has to act. This saves much computing power because the server is not always in a responsive mode.
Underutilised Server Capacity
This brings us to our next benefit of costly the problem of underutilised server capacity. Because Lambda only activates upon request, if your application is only used for a gross total of 5 hours per day lets say, your server is only running for 5 hours as opposed to running for 24 hours in the case of a regular in-house micro-server. And did I mention that is also good for the environment? Serverless technology can decrease your carbon footprint, How? When companies move to the cloud, they typically reduce the number of in-house servers that run 24/7, and this significantly reduces their power consumption. It's worth noting too that Amazon has made great investments into renewable energies, so when using Lambda, you are supporting the shift to renewable energy. In 2017 they exceeded their goal of using 50% renewable energy! They achieved this by the installation of rooftop solar to power their servers. AWS have a long-term commitment to achieve 100% renewable energy usage globally.
Lambda has inbuilt scaleability or responsiveness. Lambda will scale even if it is set to a limit. Scaling occurs dynamically in response to the slightest increase in traffic. The way Lambda handles increases in traffic at any given time is by instantly increasing your concurrently executing functions by a predetermined amount. An example of how well Lambda scales is seen in its use by a company named iRobot, a leading global consumer robot company who designs and builds robots that clean the home. iRobot created the home-cleaning robot category with the introduction of its Roomba Vacuuming Robot in 2002.
In 2015 they introduced the iRobot HOME App to allow users to control their Roomba vacuum remotely which resulted in large volumes of traffic. Prior to this, iRobot had operated primarily as a hardware vendor and now they were taking a gamble on moving to a cloud application.
The gamble that paid off. Today, iRobot reports that connected Roomba vacuums operate in more than 60 countries, with total sales of connected robots projected to reach more than 2 million by the end of 2017.
To run the web applications that connect to the new Wi-Fi-connected Roomba vacuums, iRobot is using a number of AWS services with Lambda and the AWS IoT platform at its core. AWS IoT, can process trillions of messages between billions of devices and AWS or other endpoints and provides the connectivity layer between the robots and the iRobot cloud platform. Lambda runs code that powers the iRobot cloud application.
“Running on an AWS serverless architecture lets us focus on code and customers rather than operations,” says Kehoe. “The AWS serverless architecture and the ease of use of the AWS services inside it free up developer time to produce business value.” Source AWS Case Studies - iRobot
In conclusion, as a serverless technology, we would highly recommend Lambda as a good choice if you are looking to reduce your IT costs, improve scaleability and focus more on your applications.
If you would like a confidential, free discussion with our chief architect about Lambda or any other serverless technology, feel free to get in touch and find out how Lambda may be used in your organisation.